29 #ifndef vtkTextMapper_h
30 #define vtkTextMapper_h
32 #include "vtkRenderingCoreModule.h"
72 vtkSetStringMacro(Input)
96 virtual
int SetConstrainedFontSize(
vtkViewport*,
int targetWidth,
int targetHeight);
97 static
int SetConstrainedFontSize(
vtkTextMapper*, vtkViewport*,
int targetWidth,
int targetHeight);
107 static
int SetMultipleConstrainedFontSize(vtkViewport*,
108 int targetWidth,
int targetHeight,
109 vtkTextMapper** mappers,
111 int* maxResultingSize);
118 static
int SetRelativeFontSize(vtkTextMapper*, vtkViewport*,
int *winSize,
119 int *stringSize,
float sizeFactor=0.0);
120 static
int SetMultipleRelativeFontSize(vtkViewport *viewport,
121 vtkTextMapper **textMappers,
122 int nbOfMappers,
int *winSize,
123 int *stringSize,
float sizeFactor);
126 void RenderOverlay(vtkViewport *,
vtkActor2D *) VTK_OVERRIDE;
127 void ReleaseGraphicsResources(
vtkWindow *) VTK_OVERRIDE;
132 ~vtkTextMapper() VTK_OVERRIDE;
135 vtkTextProperty *TextProperty;
138 vtkTextMapper(const vtkTextMapper&) VTK_DELETE_FUNCTION;
139 void operator=(const vtkTextMapper&) VTK_DELETE_FUNCTION;
142 void UpdateImage(
int dpi);
vtkTypeUInt32 vtkMTimeType
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
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
represent text properties.
Allocate and hold a VTK object.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract class specifies interface for objects which render 2D actors
draw vtkPolyData onto the image plane
represent and manipulate 3D points