sphore 0.0.1
SPH openGL rendering engine
|
Code for managing plots. More...
Go to the source code of this file.
Typedefs | |
typedef struct _plot | plot_t |
Public access to the internal storage of plot settings. | |
Functions | |
plot_t * | plot_create () |
Creates a new plot. | |
void | plot_destroy (plot_t *plot) |
Frees the memory ascociated with a given plot. | |
SRErenderMode | plot_get_render_mode (plot_t *plot) |
Get the mode of rendering used by the plot. | |
void | plot_set_data (plot_t *plot, data_t *data) |
Sets the data that a plot will render. | |
data_t * | plot_get_data (plot_t *plot) |
Get the data that a plot is rendering. | |
const float * | plot_get_clear_colour (plot_t *plot) |
Get the colour to be used where there is no data rendered. | |
viewport_t * | plot_get_viewport (plot_t *plot) |
Get the viewport of the given plot. |
Code for managing plots.
Public access to the internal storage of plot settings.
Memory managment performed with plot_create and plot_destroy.
plot_t* plot_create | ( | ) |
Creates a new plot.
void plot_destroy | ( | plot_t * | plot | ) |
Frees the memory ascociated with a given plot.
[in] | plot | The plot to clean up. |
const float* plot_get_clear_colour | ( | plot_t * | plot | ) |
Get the colour to be used where there is no data rendered.
[in] | plot | The plot to query. |
Get the data that a plot is rendering.
[in] | plot | The plot to query. |
SRErenderMode plot_get_render_mode | ( | plot_t * | plot | ) |
Get the mode of rendering used by the plot.
[in] | plot | The plot to query. |
viewport_t* plot_get_viewport | ( | plot_t * | plot | ) |
Get the viewport of the given plot.
[in] | plot | The plot to query. |