 |
VTK
9.0.1
|
Go to the documentation of this file.
29 #ifndef vtkTextMapper_h
30 #define vtkTextMapper_h
33 #include "vtkRenderingCoreModule.h"
72 vtkSetStringMacro(Input);
73 vtkGetStringMacro(Input);
109 vtkTextMapper** mappers,
int nbOfMappers,
int* maxResultingSize);
119 int nbOfMappers,
int* winSize,
int* stringSize,
float sizeFactor);
138 void UpdateImage(
int dpi);
represent and manipulate 3D points
virtual int GetHeight(vtkViewport *v)
draw vtkPolyData onto the image plane
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
static int SetMultipleConstrainedFontSize(vtkViewport *, int targetWidth, int targetHeight, vtkTextMapper **mappers, int nbOfMappers, int *maxResultingSize)
Set and return the font size (in points) required to make each element of an array of mappers fit in ...
record modification and/or execution time
virtual int GetWidth(vtkViewport *v)
window superclass for vtkRenderWindow
static int SetRelativeFontSize(vtkTextMapper *, vtkViewport *, const int *winSize, int *stringSize, float sizeFactor=0.0)
Use these methods when setting font size relative to the renderer's size.
handles properties associated with a texture map
static int SetConstrainedFontSize(vtkTextMapper *, vtkViewport *, int targetWidth, int targetHeight)
topologically and geometrically regular array of data
a simple class to control print indentation
vtkTextProperty * TextProperty
vtkMTimeType GetMTime() override
Override Modifiedtime as we have added Clipping planes.
abstract class specifies interface for objects which render 2D actors
abstract specification for Viewports
virtual void SetTextProperty(vtkTextProperty *p)
Set/Get the text property.
represent text properties.
a actor that draws 2D data
~vtkTextMapper() override
virtual void GetSize(vtkViewport *, int size[2])
Return the size[2]/width/height of the rectangle required to draw this mapper (in pixels).
static vtkTextMapper * New()
Creates a new text mapper.
concrete dataset represents vertices, lines, polygons, and triangle strips
void ShallowCopy(vtkAbstractMapper *m) override
Shallow copy of an actor.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int SetConstrainedFontSize(vtkViewport *, int targetWidth, int targetHeight)
Set and return the font size (in points) required to make this mapper fit in a given target rectangle...
void RenderOverlay(vtkViewport *, vtkActor2D *) override
abstract class specifies interface to map data
vtkTypeUInt32 vtkMTimeType
static int SetMultipleRelativeFontSize(vtkViewport *viewport, vtkTextMapper **textMappers, int nbOfMappers, int *winSize, int *stringSize, float sizeFactor)