Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkTextActor3D, simply invoke its constructor as follows
obj = vtkTextActor3D
obj
is an instance of the vtkTextActor3D class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkTextActor3D = obj.NewInstance ()
vtkTextActor3D = obj.SafeDownCast (vtkObject o)
obj.SetInput (string )
- Set the text string to be displayed.
string = obj.GetInput ()
- Set the text string to be displayed.
obj.SetTextProperty (vtkTextProperty p)
- Set/Get the text property.
vtkTextProperty = obj.GetTextProperty ()
- Set/Get the text property.
obj.ShallowCopy (vtkProp prop)
- Shallow copy of this text actor. Overloads the virtual
vtkProp method.
double = obj.GetBounds ()
- Get the bounds for this Prop3D as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
These are the padded-to-power-of-two texture bounds.
int = obj.GetBoundingBox (int bbox[4])
- Get the Freetype-derived real bounding box for the given vtkTextProperty
and text string str. Results are returned in the four element bbox int
array. This call can be used for sizing other elements.