40 #ifndef __vtkTextActor_h
41 #define __vtkTextActor_h
77 void SetInput(
const char *inputString);
84 vtkSetVector2Macro(MinimumSize,
int);
85 vtkGetVector2Macro(MinimumSize,
int);
92 vtkSetMacro(MaximumLineHeight,
float);
93 vtkGetMacro(MaximumLineHeight,
float);
104 vtkSetClampMacro(TextScaleMode,
int,
105 TEXT_SCALE_MODE_NONE, TEXT_SCALE_MODE_VIEWPORT);
106 vtkGetMacro(TextScaleMode,
int);
108 { this->SetTextScaleMode(TEXT_SCALE_MODE_NONE); }
110 { this->SetTextScaleMode(TEXT_SCALE_MODE_PROP); }
112 { this->SetTextScaleMode(TEXT_SCALE_MODE_VIEWPORT); }
117 TEXT_SCALE_MODE_NONE = 0,
119 TEXT_SCALE_MODE_VIEWPORT
127 vtkSetMacro(UseBorderAlign,
int);
128 vtkGetMacro(UseBorderAlign,
int);
129 vtkBooleanMacro(UseBorderAlign,
int);
141 void SetAlignmentPoint(
int point);
142 int GetAlignmentPoint();
151 vtkGetMacro(Orientation,
float);
163 virtual void GetBoundingBox(
vtkViewport* vport,
double bbox[4]);
174 virtual int SetConstrainedFontSize(
176 static int SetConstrainedFontSize(
185 static int SetMultipleConstrainedFontSize(
187 vtkTextActor** actors,
int nbOfActors,
int* maxResultingSize);
197 virtual void SetNonLinearFontScale(
double exponent,
int target);
201 void SpecifiedToDisplay(
double *pos,
vtkViewport *vport,
int specified);
205 void DisplayToSpecified(
double *pos,
vtkViewport *vport,
int specified);
209 virtual void ComputeScaledFont(
vtkViewport *viewport);
257 virtual bool GetImageBoundingBox(
292 virtual void ComputeRectangle(
vtkViewport *viewport);
301 virtual int UpdateRectangle(
vtkViewport* viewport);
abstract superclass for all actors, volumes and annotations
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
void SetTextScaleModeToViewport()
virtual void ReleaseGraphicsResources(vtkWindow *)
abstract specification for Viewports
virtual void SetMapper(vtkMapper2D *mapper)
a actor that draws 2D data
record modification and/or execution time
vtkPoints * RectanglePoints
vtkTextProperty * ScaledTextProperty
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTKRENDERINGFREETYPE_EXPORT
window superclass for vtkRenderWindow
An actor that displays text. Scaled or unscaled.
virtual int HasTranslucentPolygonalGeometry()
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
a simple class to control print indentation
void SetTextScaleModeToProp()
void PrintSelf(ostream &os, vtkIndent indent)
topologically and geometrically regular array of data
static vtkActor2D * New()
handles properties associated with a texture map
vtkTextRenderer * TextRenderer
represent text properties.
void SetTextScaleModeToNone()
Interface for generating images and path data from string data, using multiple backends.
virtual void ShallowCopy(vtkProp *prop)
vtkTextProperty * TextProperty
virtual int RenderOverlay(vtkViewport *viewport)
abstract class specifies interface for objects which render 2D actors
vtkPolyDataMapper2D * PDMapper
draw vtkPolyData onto the image plane
represent and manipulate 3D points