Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkOpenGLFreeTypeTextMapper, simply invoke its constructor as follows
obj = vtkOpenGLFreeTypeTextMapper
obj
is an instance of the vtkOpenGLFreeTypeTextMapper class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkOpenGLFreeTypeTextMapper = obj.NewInstance ()
vtkOpenGLFreeTypeTextMapper = obj.SafeDownCast (vtkObject o)
obj.RenderOverlay (vtkViewport viewport, vtkActor2D actor)
- Actally draw the text.
obj.ReleaseGraphicsResources (vtkWindow )
- Release any graphics resources that are being consumed by this actor.
The parameter window could be used to determine which graphic
resources to release.
obj.GetSize (vtkViewport viewport, int size[2])
- What is the size of the rectangle required to draw this
mapper ?