Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkOpenGLPolyDataMapper2D, simply invoke its constructor as follows
obj = vtkOpenGLPolyDataMapper2D
obj
is an instance of the vtkOpenGLPolyDataMapper2D class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkOpenGLPolyDataMapper2D = obj.NewInstance ()
vtkOpenGLPolyDataMapper2D = obj.SafeDownCast (vtkObject o)
obj.RenderOverlay (vtkViewport viewport, vtkActor2D actor)
- Actually draw the poly data.