vtkScalarsToColors

Section: Visualization Toolkit Common Classes

Usage

vtkScalarsToColors is a general purpose superclass for objects that convert scalars to colors. This include vtkLookupTable classes and color transfer functions.

The scalars to color mapping can be augmented with an additional uniform alpha blend. This is used, for example, to blend a vtkActor's opacity with the lookup table values.

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

  obj = vtkScalarsToColors

Methods

The class vtkScalarsToColors 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 vtkScalarsToColors class.