Go to the documentation of this file.
36 #ifndef vtkWindowLevelLookupTable_h
37 #define vtkWindowLevelLookupTable_h
39 #include "vtkRenderingCoreModule.h"
61 if (window < 1e-5) { window = 1e-5; }
62 this->Window = window;
64 this->Level + this->Window/2.0); };
65 vtkGetMacro(Window,
double);
76 this->Level + this->Window/2.0); };
77 vtkGetMacro(Level,
double);
85 void SetInverseVideo(
int iv);
86 vtkGetMacro(InverseVideo,
int);
96 vtkSetVector4Macro(MinimumTableValue,
double);
97 vtkGetVector4Macro(MinimumTableValue,
double);
106 vtkSetVector4Macro(MaximumTableValue,
double);
107 vtkGetVector4Macro(MaximumTableValue,
double);
117 double MaximumTableValue[4];
118 double MinimumTableValue[4];
void Build() override
Generate lookup table from hue, saturation, value, alpha min/max values.
static vtkLookupTable * New()
Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue).
void SetTableRange(double r[2])
Set/Get the minimum/maximum scalar values for scalar mapping.
~vtkWindowLevelLookupTable()
void SetLevel(double level)
Set the Level for the lookup table.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
map scalar values into colors via a lookup table
map scalar values into colors or colors to scalars; generate color table
void SetWindow(double window)
Set the window for the lookup table.