vtkTextMapper - 2D text annotation
Super Class: vtkMapper2D
Description:
vtkTextMapper provides 2D text annotation support for vtk. It is a vtkMapper2D that can be associated with a vtkActor2D and placed into a vtkRenderer or vtkImager. To use vtkTextMapper, specify an input text string, a font size, a font name, and whether to turn on bold or shadows (shadows make the font more visible when on top of other objects). You'll also need to create a vtkActor2D and add it to the renderer or imager.
See Also:
Methods:
void vtkTextMapper () | |
void vtkTextMapper () | |
const char *GetClassName () | |
void PrintSelf (unknown & ,vtkIndent ) | |
static vtkTextMapper *New () | |
void Render (vtkViewport * ,vtkActor2D *) | |
void SetInput (char *) | |
void SetFontSize (int ) | |
int GetFontSize () | |
void SetBold (int ) | |
int GetBold () | |
void BoldOn () | |
void BoldOff () | |
void SetItalic (int ) | |
int GetItalic () | |
void ItalicOn () | |
void ItalicOff () | |
void SetShadow (int ) | |
int GetShadow () | |
void ShadowOn () | |
void ShadowOff () | |
void SetFontFamily (int ) | |
int GetFontFamily () | |
void SetFontFamilyToArial () | |
void SetFontFamilyToCourier () | |
void SetFontFamilyToTimes () |
Detailed Method Descriptions:
static vtkTextMapper *New () |
void Render (vtkViewport * ,vtkActor2D *) |
void SetInput (char *) |
void SetFontSize (int ) |
int GetFontSize () |
void SetBold (int ) | |
int GetBold () | |
void BoldOn () | |
void BoldOff () |
void SetItalic (int ) | |
int GetItalic () | |
void ItalicOn () | |
void ItalicOff () |
void SetShadow (int ) | |
int GetShadow () | |
void ShadowOn () | |
void ShadowOff () |
void SetFontFamily (int ) | |
int GetFontFamily () | |
void SetFontFamilyToArial () | |
void SetFontFamilyToCourier () | |
void SetFontFamilyToTimes () |