Section: Visualization Toolkit Common Classes
To create an instance of class vtkLookupTableWithEnabling, simply invoke its constructor as follows
obj = vtkLookupTableWithEnabling
obj
is an instance of the vtkLookupTableWithEnabling class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkLookupTableWithEnabling = obj.NewInstance ()
vtkLookupTableWithEnabling = obj.SafeDownCast (vtkObject o)
vtkDataArray = obj.GetEnabledArray ()
- This must be set before MapScalars() is called.
Indices of this array must map directly to those in the scalars array
passed to MapScalars().
Values of 0 in the array indicate the color should be desaturatated.
obj.SetEnabledArray (vtkDataArray enabledArray)
- This must be set before MapScalars() is called.
Indices of this array must map directly to those in the scalars array
passed to MapScalars().
Values of 0 in the array indicate the color should be desaturatated.
obj.DisableColor (char r, char g, char b, string rd, string gd, string bd)
- A convenience method for taking a color and desaturating it.