24 #ifndef vtkWindowLevelLookupTable_h
25 #define vtkWindowLevelLookupTable_h
28 #include "vtkRenderingCoreModule.h"
30 VTK_ABI_NAMESPACE_BEGIN
55 this->Window = window;
56 this->
SetTableRange(this->Level - this->Window / 2.0, this->Level + this->Window / 2.0);
58 vtkGetMacro(Window,
double);
69 this->
SetTableRange(this->Level - this->Window / 2.0, this->Level + this->Window / 2.0);
71 vtkGetMacro(Level,
double);
90 vtkSetVector4Macro(MinimumTableValue,
double);
91 vtkGetVector4Macro(MinimumTableValue,
double);
100 vtkSetVector4Macro(MaximumTableValue,
double);
101 vtkGetVector4Macro(MaximumTableValue,
double);
111 double MaximumTableValue[4];
112 double MinimumTableValue[4];
119 VTK_ABI_NAMESPACE_END
void SetWindow(double window)
Set the window for the lookup table.
virtual void SetTableRange(const double r[2])
Set/Get the minimum/maximum scalar values for scalar mapping.
map scalar values into colors via a lookup table
virtual void ForceBuild()
Force the lookup table to regenerate from hue, saturation, value, and alpha min/max values...
a simple class to control print indentation
static vtkLookupTable * New()
Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue)...
void SetLevel(double level)
Set the Level for the lookup table.
map scalar values into colors or colors to scalars; generate color table
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.