#include <vtkMesaFreeTypeTextMapper.h>
vtkMesaFreeTypeTextMapper provides 2D text annotation support for VTK using the FreeType and FTGL libraries. Normally the user should use vtktextMapper which in turn will use this class.
Definition at line 38 of file vtkMesaFreeTypeTextMapper.h.
Public Types | |
typedef vtkTextMapper | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | RenderOverlay (vtkViewport *viewport, vtkActor2D *actor) |
virtual void | ReleaseGraphicsResources (vtkWindow *) |
virtual void | GetSize (vtkViewport *viewport, int size[2]) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMesaFreeTypeTextMapper * | SafeDownCast (vtkObject *o) |
static vtkMesaFreeTypeTextMapper * | New () |
Protected Member Functions | |
vtkMesaFreeTypeTextMapper () | |
~vtkMesaFreeTypeTextMapper () | |
Protected Attributes | |
vtkTimeStamp | SizeBuildTime |
int | LastSize [2] |
int | LastLargestDescender |
vtkMesaFreeTypeTextMapper::vtkMesaFreeTypeTextMapper | ( | ) | [protected] |
vtkMesaFreeTypeTextMapper::~vtkMesaFreeTypeTextMapper | ( | ) | [protected] |
virtual const char* vtkMesaFreeTypeTextMapper::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkTextMapper.
static int vtkMesaFreeTypeTextMapper::IsTypeOf | ( | const char * | name | ) | [static] |
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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkTextMapper.
virtual int vtkMesaFreeTypeTextMapper::IsA | ( | const char * | name | ) | [virtual] |
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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkTextMapper.
static vtkMesaFreeTypeTextMapper* vtkMesaFreeTypeTextMapper::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkTextMapper.
static vtkMesaFreeTypeTextMapper* vtkMesaFreeTypeTextMapper::New | ( | ) | [static] |
Creates a new text mapper.
Reimplemented from vtkTextMapper.
virtual void vtkMesaFreeTypeTextMapper::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
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 vtkTextMapper.
void vtkMesaFreeTypeTextMapper::RenderOverlay | ( | vtkViewport * | viewport, | |
vtkActor2D * | actor | |||
) | [virtual] |
Actally draw the text.
Reimplemented from vtkMapper2D.
virtual void vtkMesaFreeTypeTextMapper::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.
Reimplemented from vtkAbstractMapper.
virtual void vtkMesaFreeTypeTextMapper::GetSize | ( | vtkViewport * | viewport, | |
int | size[2] | |||
) | [virtual] |
What is the size of the rectangle required to draw this mapper ?
Reimplemented from vtkTextMapper.
vtkTimeStamp vtkMesaFreeTypeTextMapper::SizeBuildTime [protected] |
Definition at line 60 of file vtkMesaFreeTypeTextMapper.h.
int vtkMesaFreeTypeTextMapper::LastSize[2] [protected] |
Definition at line 61 of file vtkMesaFreeTypeTextMapper.h.
int vtkMesaFreeTypeTextMapper::LastLargestDescender [protected] |
Definition at line 62 of file vtkMesaFreeTypeTextMapper.h.