#include <svg_shapes.h>
|
| RadialAreaGenerator () |
|
void | SetInnerRadius (float radius) |
|
void | SetInnerRadius (std::string radius) |
|
void | SetOuterRadius (float radius) |
|
void | SetOuterRadius (std::string radius) |
|
void | SetStartAngle (float angle) |
|
void | SetStartAngle (std::string angle) |
|
void | SetEndAngle (float angle) |
|
void | SetEndAngle (std::string angle) |
|
void | SetRadius (float radius) |
|
void | SetRadius (std::string radius) |
|
void | SetAngle (float angle) |
|
void | SetAngle (std::string angle) |
|
void | SetCurve (std::string curve) |
|
void | SetTension (float tension) |
|
void | SetDefined (std::string defined) |
|
template<typename T , size_t SIZE> |
std::string | Generate (emp::array< emp::array< T, 2 >, SIZE > &data) |
|
template<typename T , std::size_t SIZE> |
Selection | DrawShape (emp::array< emp::array< T, 2 >, SIZE > &data, Selection &s) |
|
Selection | DrawShape (Dataset data, Selection s) |
| DrawShape will also accept a D3::Dataset. More...
|
|
template<typename T , std::size_t SIZE, std::size_t SIZE2> |
Selection | DrawShape (emp::array< emp::array< emp::array< T, 2 >, SIZE >, SIZE2 > &data) |
| If you pass a triple-nested array, it will be treated as an array of paths. More...
|
|
int | GetID () const |
|
void | Log () const |
|
D3::RadialAreaGenerator::RadialAreaGenerator |
( |
| ) |
|
|
inline |
template<typename T , std::size_t SIZE>
Draws the path associated with [data] onto the [s] selection (must contain a single SVG) element).
template<typename T , std::size_t SIZE, std::size_t SIZE2>
If you pass a triple-nested array, it will be treated as an array of paths.
template<typename T , size_t SIZE>
Generate the string describing the path associated with [data] Assumes [data] is an array of 2-element arrays describing (x,y) coordinates and makes the line that connects them
int D3::D3_Base::GetID |
( |
| ) |
const |
|
inlineinherited |
void D3::D3_Base::Log |
( |
| ) |
const |
|
inlineinherited |
void D3::RadialLineGenerator::SetAngle |
( |
float |
angle | ) |
|
|
inlineinherited |
void D3::RadialLineGenerator::SetAngle |
( |
std::string |
angle | ) |
|
|
inlineinherited |
void D3::BaseLineGenerator::SetCurve |
( |
std::string |
curve | ) |
|
|
inlineinherited |
Set the method used to interpolate a curve between points in the line. For allowed options, see the d3 documntation
void D3::BaseLineGenerator::SetDefined |
( |
std::string |
defined | ) |
|
|
inlineinherited |
Set a function indicating where the line is defined (i.e. valid) Can be a C++ function or a string indicating a Javascript function
void D3::RadialAreaGenerator::SetEndAngle |
( |
float |
angle | ) |
|
|
inline |
void D3::RadialAreaGenerator::SetEndAngle |
( |
std::string |
angle | ) |
|
|
inline |
void D3::RadialAreaGenerator::SetInnerRadius |
( |
float |
radius | ) |
|
|
inline |
void D3::RadialAreaGenerator::SetInnerRadius |
( |
std::string |
radius | ) |
|
|
inline |
void D3::RadialAreaGenerator::SetOuterRadius |
( |
float |
radius | ) |
|
|
inline |
void D3::RadialAreaGenerator::SetOuterRadius |
( |
std::string |
radius | ) |
|
|
inline |
void D3::RadialLineGenerator::SetRadius |
( |
float |
radius | ) |
|
|
inlineinherited |
void D3::RadialLineGenerator::SetRadius |
( |
std::string |
radius | ) |
|
|
inlineinherited |
void D3::RadialAreaGenerator::SetStartAngle |
( |
float |
angle | ) |
|
|
inline |
void D3::RadialAreaGenerator::SetStartAngle |
( |
std::string |
angle | ) |
|
|
inline |
void D3::BaseLineGenerator::SetTension |
( |
float |
tension | ) |
|
|
inlineinherited |
If interpolation is "bundle", "cardinal", "cardinal-open", or "cardinal-closed", a tension parameter is used.
The documentation for this class was generated from the following file: