41 #ifndef vtkTextMapper_h 42 #define vtkTextMapper_h 106 virtual
int SetConstrainedFontSize(
vtkViewport*,
int targetWidth,
int targetHeight);
107 static
int SetConstrainedFontSize(
vtkTextMapper*, vtkViewport*,
int targetWidth,
int targetHeight);
115 static
int SetMultipleConstrainedFontSize(vtkViewport*,
116 int targetWidth,
int targetHeight,
117 vtkTextMapper** mappers,
119 int* maxResultingSize);
126 static
int SetRelativeFontSize(vtkTextMapper*, vtkViewport*,
int *winSize,
127 int *stringSize,
float sizeFactor=0.0);
128 static
int SetMultipleRelativeFontSize(vtkViewport *viewport,
129 vtkTextMapper **textMappers,
130 int nbOfMappers,
int *winSize,
131 int *stringSize,
float sizeFactor);
139 void RenderOverlay(vtkViewport *,
vtkActor2D *);
140 void ReleaseGraphicsResources(
vtkWindow *);
141 unsigned long GetMTime();
148 vtkTextProperty *TextProperty;
151 vtkTextMapper(const vtkTextMapper&);
152 void operator=(const vtkTextMapper&);
154 void UpdateQuad(vtkActor2D *actor);
169 #ifndef VTK_LEGACY_REMOVE 175 #endif // VTK_LEGACY_REMOVE
#define VTK_LEGACY_BODY(method, version)
GLenum GLenum GLenum input
abstract specification for Viewports
virtual int GetSystemFontSize(int size)
a actor that draws 2D data
record modification and/or execution time
concrete dataset represents vertices, lines, polygons, and triangle strips
#define vtkSetStringMacro(name)
#define vtkTypeMacro(thisClass, superclass)
window superclass for vtkRenderWindow
a simple class to control print indentation
topologically and geometrically regular array of data
handles properties associated with a texture map
void PrintSelf(ostream &os, vtkIndent indent)
#define vtkGetStringMacro(name)
represent text properties.
#define vtkGetObjectMacro(name, type)
#define VTK_LEGACY(method)
Allocate and hold a VTK object.
#define VTKRENDERINGCORE_EXPORT
static vtkAlgorithm * New()
abstract class specifies interface for objects which render 2D actors
draw vtkPolyData onto the image plane
represent and manipulate 3D points