Section: Visualization Toolkit Imaging Classes
To create an instance of class vtkImageMapToWindowLevelColors, simply invoke its constructor as follows
obj = vtkImageMapToWindowLevelColors
obj
is an instance of the vtkImageMapToWindowLevelColors class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImageMapToWindowLevelColors = obj.NewInstance ()
vtkImageMapToWindowLevelColors = obj.SafeDownCast (vtkObject o)
obj.SetWindow (double )
- Set / Get the Window to use -> modulation will be performed on the
color based on (S - (L - W/2))/W where S is the scalar value, L is
the level and W is the window.
double = obj.GetWindow ()
- Set / Get the Window to use -> modulation will be performed on the
color based on (S - (L - W/2))/W where S is the scalar value, L is
the level and W is the window.
obj.SetLevel (double )
- Set / Get the Level to use -> modulation will be performed on the
color based on (S - (L - W/2))/W where S is the scalar value, L is
the level and W is the window.
double = obj.GetLevel ()
- Set / Get the Level to use -> modulation will be performed on the
color based on (S - (L - W/2))/W where S is the scalar value, L is
the level and W is the window.