35 #ifndef vtkWindowLevelLookupTable_h
36 #define vtkWindowLevelLookupTable_h
56 if (window < 1e-5) { window = 1e-5; }
57 this->Window = window;
59 this->Level + this->Window/2.0); };
60 vtkGetMacro(Window,
double);
69 this->Level + this->Window/2.0); };
70 vtkGetMacro(Level,
double);
76 void SetInverseVideo(
int iv);
77 vtkGetMacro(InverseVideo,
int);
78 vtkBooleanMacro(InverseVideo,
int);
85 vtkSetVector4Macro(MinimumTableValue,
double);
86 vtkGetVector4Macro(MinimumTableValue,
double);
93 vtkSetVector4Macro(MaximumTableValue,
double);
94 vtkGetVector4Macro(MaximumTableValue,
double);
104 double MaximumTableValue[4];
105 double MinimumTableValue[4];
void SetWindow(double window)
void SetTableRange(double r[2])
map scalar values into colors via a lookup table
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
~vtkWindowLevelLookupTable()
static vtkLookupTable * New()
#define VTKRENDERINGCORE_EXPORT
void SetLevel(double level)
map scalar values into colors or colors to scalars; generate color table