vtkWindowLevelLookupTable

Section: Visualization Toolkit Common Classes

Usage

vtkWindowLevelLookupTable is an object that is used by mapper objects to map scalar values into rgba (red-green-blue-alpha transparency) color specification, or rgba into scalar values. The color table can be created by direct insertion of color values, or by specifying a window and level. Window / Level is used in medical imaging to specify a linear greyscale ramp. The Level is the center of the ramp. The Window is the width of the ramp.

To create an instance of class vtkWindowLevelLookupTable, simply invoke its constructor as follows

  obj = vtkWindowLevelLookupTable

Methods

The class vtkWindowLevelLookupTable has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkWindowLevelLookupTable class.