create polygonal text More...
#include <vtkVectorText.h>
Inherits vtkPolyDataAlgorithm.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkVectorText * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetText (const char *) |
virtual char * | GetText () |
Static Public Member Functions | |
static vtkVectorText * | New () |
static int | IsTypeOf (const char *type) |
static vtkVectorText * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkVectorText () | |
~vtkVectorText () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
char * | Text |
create polygonal text
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 "\n", 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 46 of file vtkVectorText.h.
typedef vtkPolyDataAlgorithm vtkVectorText::Superclass |
Definition at line 50 of file vtkVectorText.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkVectorText* vtkVectorText::NewInstance | ( | ) | const |
void vtkVectorText::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Set/Get the text to be drawn.
|
virtual |
Set/Get the text to be drawn.
|
protected |
|
protected |
Definition at line 64 of file vtkVectorText.h.