Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkOpenGLPolyDataMapper, simply invoke its constructor as follows
obj = vtkOpenGLPolyDataMapper
obj
is an instance of the vtkOpenGLPolyDataMapper class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkOpenGLPolyDataMapper = obj.NewInstance ()
vtkOpenGLPolyDataMapper = obj.SafeDownCast (vtkObject o)
obj.RenderPiece (vtkRenderer ren, vtkActor a)
- Implement superclass render method.
obj.ReleaseGraphicsResources (vtkWindow )
- Release any graphics resources that are being consumed by this mapper.
The parameter window could be used to determine which graphic
resources to release.
int = obj.Draw (vtkRenderer ren, vtkActor a)
- Draw method for OpenGL.