Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkCompositePolyDataMapper2, simply invoke its constructor as follows
obj = vtkCompositePolyDataMapper2
obj
is an instance of the vtkCompositePolyDataMapper2 class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkCompositePolyDataMapper2 = obj.NewInstance ()
vtkCompositePolyDataMapper2 = obj.SafeDownCast (vtkObject o)
obj.RenderPiece (vtkRenderer ren, vtkActor act)
- Implemented by sub classes. Actual rendering is done here.
double = obj.GetBounds ()
- Standard vtkProp method to get 3D bounds of a 3D prop
obj.GetBounds (double bounds[6])
- Standard vtkProp method to get 3D bounds of a 3D prop
obj.Render (vtkRenderer ren, vtkActor act)
- This calls RenderPiece (in a for loop is streaming is necessary).
Basically a reimplementation for vtkPolyDataMapper::Render() since we don't
want it to give up when vtkCompositeDataSet is encountered.
obj.SetColorBlocks (int )
- When set, each block is colored with a different color. Note that scalar
coloring will be ignored.
int = obj.GetColorBlocks ()
- When set, each block is colored with a different color. Note that scalar
coloring will be ignored.