vtkLookupTable - map scalar values into colors or colors to scalars; generate color table
Super Class: vtkObject
Description:
vtkLookupTable is an object that is used by mapper objects to map scalar values into rgba (red-green-blue-alpha transparency) color specification, or rgba into scalar values. The color table can be created by direct insertion of color values, or by specifying hue, saturation, value, and alpha range and generating a table. This class is designed as a base class for derivation by other classes. The Build(), MapValue(), and SetTableRange() methods are virtual and may require overloading in subclasses.
Caveats:
vtkLookupTable is a reference counted object. Therefore, you should always use operator "new" to construct new objects. This procedure will avoid memory problems (see text).
See Also:
Methods:
Detailed Method Descriptions:
void vtkLookupTable (int ,int ) |
int Allocate (int ,int ) |
void Build () |
void SetNumberOfColors (int ) | |
int GetNumberOfColors () |
void SetTableRange (float ) | |
void SetTableRange (float ,float ) | |
float *GetTableRange () |
void SetHueRange (float ,float ) | |
void SetHueRange (float *) | |
float *GetHueRange () |
void SetSaturationRange (float ,float ) | |
void SetSaturationRange (float *) | |
float *GetSaturationRange () |
void SetValueRange (float ,float ) | |
void SetValueRange (float *) | |
float *GetValueRange () |
void SetAlphaRange (float ,float ) | |
void SetAlphaRange (float *) | |
float *GetAlphaRange () |
unsigned char *MapValue (float ) |
void SetNumberOfTableValues (int ) |
void SetTableValue (int ,float ) |
void SetTableValue (int ,float ,float ,float ,float ) |
float *GetTableValue (int ) | |
void GetTableValue (int ,float ) |
unsigned char *GetPointer (const int ) |
unsigned char *WritePointer (const int ,const int ) |