#include <vtkVectorText.h>
Inheritance diagram for vtkVectorText:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetText (const char *) |
virtual char * | GetText () |
Static Public Methods | |
vtkVectorText * | New () |
int | IsTypeOf (const char *type) |
vtkVectorText * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkVectorText () | |
~vtkVectorText () | |
void | Execute () |
Protected Attributes | |
char * | Text |
char * | Letters [127] |
vtkVectorText generates vtkPolyData from an input text string. Besides the ASCII alphanumeric characters a-z, A-Z, 0-9, vtkVectorText also supports ASCII punctuation marks. (The supported ASCII character set are the codes (33-126) inclusive.) The only control character supported is the line feed character "
", which advances to a new line.
To use thie class, you normally couple it with a vtkPolyDataMapper and a vtkActor. In this case you would use the vtkActor's transformation methods to position, orient, and scale the text. You may also wish to use a vtkFollower to orient the text so that it always faces the camera.
Definition at line 73 of file vtkVectorText.h.
|
|
|
|
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkPolyDataSource. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkSource. |
|
Set/Get the text to be drawn. |
|
Set/Get the text to be drawn. |
|
This method is the old style execute method Reimplemented from vtkSource. |
|
Definition at line 91 of file vtkVectorText.h. |
|
Definition at line 92 of file vtkVectorText.h. |