#include <sspt_chart.h>
Classes | |
struct | Plot |
Public Types | |
enum | PlotType { PLOT_LINES, PLOT_POINTS } |
Public Member Functions | |
sspt_Chart (const sspt_ChartOptions &options, float width, float height, sspt_GlyphStore *glyphstore) | |
virtual void | render (const sspt_VisiblePlane &view) |
virtual void | render (const sspt_VisibleRegion &r) |
virtual void | exportPoints (sspt_Array< sspt_EditPoint > *p) |
virtual void | updatePoints (const sspt_Array< sspt_EditPoint > &p) |
void | plot (float color[3], float *x, float *y, int n, enum PlotType type=PLOT_LINES) |
void | xlabel (const char *text) |
void | ylabel (const char *text) |
enum sspt_Chart::PlotType |
sspt_Chart::sspt_Chart | ( | const sspt_ChartOptions & | options, | |
float | width, | |||
float | height, | |||
sspt_GlyphStore * | glyphstore | |||
) |
virtual void sspt_Chart::exportPoints | ( | sspt_Array< sspt_EditPoint > * | p | ) | [inline, virtual] |
Implements sspt_Renderable.
void sspt_Chart::plot | ( | float | color[3], | |
float * | x, | |||
float * | y, | |||
int | n, | |||
enum PlotType | type = PLOT_LINES | |||
) |
virtual void sspt_Chart::render | ( | const sspt_VisibleRegion & | r | ) | [inline, virtual] |
Implements sspt_Renderable.
virtual void sspt_Chart::render | ( | const sspt_VisiblePlane & | view | ) | [virtual] |
Implements sspt_Renderable.
virtual void sspt_Chart::updatePoints | ( | const sspt_Array< sspt_EditPoint > & | p | ) | [inline, virtual] |
Implements sspt_Renderable.
void sspt_Chart::xlabel | ( | const char * | text | ) |
void sspt_Chart::ylabel | ( | const char * | text | ) |