35 #ifndef vtkTextMapper_h
36 #define vtkTextMapper_h
38 #include "vtkRenderingCoreModule.h"
78 vtkSetStringMacro(Input)
102 virtual
int SetConstrainedFontSize(
vtkViewport*,
int targetWidth,
int targetHeight);
103 static
int SetConstrainedFontSize(
vtkTextMapper*, vtkViewport*,
int targetWidth,
int targetHeight);
113 static
int SetMultipleConstrainedFontSize(vtkViewport*,
114 int targetWidth,
int targetHeight,
115 vtkTextMapper** mappers,
117 int* maxResultingSize);
124 static
int SetRelativeFontSize(vtkTextMapper*, vtkViewport*,
int *winSize,
125 int *stringSize,
float sizeFactor=0.0);
126 static
int SetMultipleRelativeFontSize(vtkViewport *viewport,
127 vtkTextMapper **textMappers,
128 int nbOfMappers,
int *winSize,
129 int *stringSize,
float sizeFactor);
132 void RenderOverlay(vtkViewport *,
vtkActor2D *);
133 void ReleaseGraphicsResources(
vtkWindow *);
141 vtkTextProperty *TextProperty;
144 vtkTextMapper(const vtkTextMapper&) VTK_DELETE_FUNCTION;
145 void operator=(const vtkTextMapper&) VTK_DELETE_FUNCTION;
147 void UpdateQuad(vtkActor2D *actor,
int dpi);
148 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
vtkTypeUInt64 vtkMTimeType
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
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
represent text properties.
Allocate and hold a VTK object.
static vtkAlgorithm * New()
abstract class specifies interface for objects which render 2D actors
draw vtkPolyData onto the image plane
represent and manipulate 3D points