Public Member Functions | Protected Member Functions

glv::PlotDensity Class Reference

Density plotter. More...

#include <glv_plots.h>

Inheritance diagram for glv::PlotDensity:
glv::Plottable glv::GraphicsMap

List of all members.

Public Member Functions

 PlotDensity (const Color &color=Color(1, 0, 0), float hueSpread=0, int interpolate=0)
PlotDensityinterpolate (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.

Detailed Description

Density plotter.


Constructor & Destructor Documentation

glv::PlotDensity::PlotDensity ( const Color color = Color(1,0,0),
float  hueSpread = 0,
int  interpolate = 0 
)
Parameters:
[in] color plot color
[in] hueSpread amount spread hue for positive and negative values
[in] interpolate interpolation (0=none, 1=linear)

The documentation for this class was generated from the following files: