29 #ifndef __vtkDiscretizableColorTransferFunction_h
30 #define __vtkDiscretizableColorTransferFunction_h
32 #include "vtkColorTransferFunction.h"
35 class vtkColorTransferFunction;
42 void PrintSelf(ostream& os,
vtkIndent indent);
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);
112 this->SetNanColor(rgb[0], rgb[1], rgb[2]);
121 {
return this->UseLogScale; }
125 virtual vtkIdType GetNumberOfAvailableColors();
record modification and/or execution time
virtual void SetNanColor(double rgb[3])
map scalar values into colors via a lookup table
virtual int UsingLogScale()
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.
vtkLookupTable * LookupTable