35 #ifndef vtkTextMapper_h 36 #define vtkTextMapper_h 38 #include "vtkRenderingCoreModule.h" 78 vtkSetStringMacro(Input)
79 vtkGetStringMacro(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 *) override;
133 void ReleaseGraphicsResources(
vtkWindow *) override;
138 ~vtkTextMapper() override;
141 vtkTextProperty *TextProperty;
144 vtkTextMapper(const vtkTextMapper&) = delete;
145 void operator=(const vtkTextMapper&) = delete;
148 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
represent text properties.
abstract class specifies interface to map data
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