Density plotter. More...
#include <glv_plots.h>
Public Member Functions | |
PlotDensity (const Color &color=Color(1, 0, 0), float hueSpread=0, int interpolate=0) | |
PlotDensity & | interpolate (int v) |
Set interpolation mode (0=none, 1=linear). | |
virtual void | onMap (GraphicsData &b, const Data &d, const Indexer &ind) |
Routine to generate graphics from model data. | |
Protected Member Functions | |
virtual void | onContextCreate () |
Called when a new graphics context is created. | |
virtual void | onContextDestroy () |
Called when the current graphics context is destroyed. |
Density plotter.
glv::PlotDensity::PlotDensity | ( | const Color & | color = Color(1,0,0) , |
|
float | hueSpread = 0 , |
|||
int | interpolate = 0 | |||
) |
[in] | color | plot color |
[in] | hueSpread | amount spread hue for positive and negative values |
[in] | interpolate | interpolation (0=none, 1=linear) |