29 #ifndef __vtkDiscretizableColorTransferFunction_h
30 #define __vtkDiscretizableColorTransferFunction_h
54 vtkSetMacro(Discretize,
int);
55 vtkGetMacro(Discretize,
int);
56 vtkBooleanMacro(Discretize,
int);
62 virtual void SetUseLogScale(
int useLogScale);
63 vtkGetMacro(UseLogScale,
int);
76 virtual unsigned char *
MapValue(
double v);
80 virtual void GetColor(
double v,
double rgb[3]);
97 double* GetRGBPoints();
103 virtual void SetAlpha(
double alpha);
110 virtual void SetNanColor(
double r,
double g,
double b);
121 {
return this->UseLogScale; }
virtual vtkIdType GetNumberOfAvailableColors()
record modification and/or execution time
static vtkColorTransferFunction * New()
virtual void SetNanColor(double rgb[3])
map scalar values into colors via a lookup table
virtual void SetAlpha(double alpha)
virtual unsigned char * MapValue(double v)
virtual int UsingLogScale()
virtual void SetNanColor(double, double, double)
void PrintSelf(ostream &os, vtkIndent indent)
double * GetColor(double x)
a simple class to control print indentation
abstract superclass for arrays of numeric data
dynamic, self-adjusting array of unsigned char
a combination of vtkColorTransferFunction and vtkLookupTable.
virtual vtkUnsignedCharArray * MapScalars(vtkDataArray *scalars, int colorMode, int component)
Defines a transfer function for mapping a property to an RGB color value.
vtkLookupTable * LookupTable