Section: Visualization Toolkit Rendering Classes
This painter does not actually do any painting. Instead, it picks other painters based on the current state of itself and its poly data. It then delegates the work to these other painters.
To create an instance of class vtkChooserPainter, simply invoke its constructor as follows
obj = vtkChooserPainter
obj
is an instance of the vtkChooserPainter class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkChooserPainter = obj.NewInstance ()
vtkChooserPainter = obj.SafeDownCast (vtkObject o)
obj.SetVertPainter (vtkPolyDataPainter )
obj.SetLinePainter (vtkPolyDataPainter )
obj.SetPolyPainter (vtkPolyDataPainter )
obj.SetStripPainter (vtkPolyDataPainter )
obj.SetUseLinesPainterForWireframes (int )
- When set, the lines painter is used for drawing wireframes (off by
default, except on Mac, where it's on by default).
int = obj.GetUseLinesPainterForWireframes ()
- When set, the lines painter is used for drawing wireframes (off by
default, except on Mac, where it's on by default).
obj.UseLinesPainterForWireframesOn ()
- When set, the lines painter is used for drawing wireframes (off by
default, except on Mac, where it's on by default).
obj.UseLinesPainterForWireframesOff ()
- When set, the lines painter is used for drawing wireframes (off by
default, except on Mac, where it's on by default).