34 #ifndef vtkTextMapper_h
35 #define vtkTextMapper_h
71 vtkSetStringMacro(Input)
72 vtkGetStringMacro(Input)
89 virtual
int SetConstrainedFontSize(
vtkViewport*,
int targetWidth,
int targetHeight);
90 static
int SetConstrainedFontSize(
vtkTextMapper*, vtkViewport*,
int targetWidth,
int targetHeight);
98 static
int SetMultipleConstrainedFontSize(vtkViewport*,
99 int targetWidth,
int targetHeight,
100 vtkTextMapper** mappers,
102 int* maxResultingSize);
109 static
int SetRelativeFontSize(vtkTextMapper*, vtkViewport*,
int *winSize,
110 int *stringSize,
float sizeFactor=0.0);
111 static
int SetMultipleRelativeFontSize(vtkViewport *viewport,
112 vtkTextMapper **textMappers,
113 int nbOfMappers,
int *winSize,
114 int *stringSize,
float sizeFactor);
117 void RenderOverlay(vtkViewport *,
vtkActor2D *);
118 void ReleaseGraphicsResources(
vtkWindow *);
119 unsigned long GetMTime();
126 vtkTextProperty *TextProperty;
129 vtkTextMapper(const vtkTextMapper&);
130 void operator=(const vtkTextMapper&);
132 void UpdateQuad(vtkActor2D *actor,
int dpi);
133 void UpdateImage(
int dpi);
abstract specification for Viewports
a actor that draws 2D data
record modification and/or execution time
concrete dataset represents vertices, lines, polygons, and triangle strips
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)
represent text properties.
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