Man Page for vtkTextSource
Table of Contents

NAME

vtkTextSource - create polygonal text

SYNOPSIS


#include "/opt/vtk-c++/graphics/vtkTextSource.h"

class VTK_EXPORT vtkTextSource : public vtkPolyDataSource

vtkTextSource();
static vtkTextSource *New() {return new vtkTextSource;};
const char *GetClassName() {return "vtkTextSource";};
void PrintSelf(ostream& os, vtkIndent indent);
void SetText(char *);
char *GetText();
void SetBacking(int);
int GetBacking();
void BackingOn();
void BackingOff();

DESCRIPTION

vtkTextSource converts a text string into polygons. This way you can insert text into your renderings. It uses the 9x15 font from X Windows. You can specify if you want the background to be drawn or not.

SUMMARY

void SetText(char *)
Set/Get the text to be drawn.

void SetBacking(int)
Controls whether or not a background is drawn with the text.

vtkTextSource()
Construct object with no string set and backing enabled.


Table of Contents