40 #ifndef vtkTextActor_h
41 #define vtkTextActor_h
72 void SetInput(
const char *inputString);
79 vtkSetVector2Macro(MinimumSize,
int);
80 vtkGetVector2Macro(MinimumSize,
int);
87 vtkSetMacro(MaximumLineHeight,
float);
88 vtkGetMacro(MaximumLineHeight,
float);
99 vtkSetClampMacro(TextScaleMode,
int,
100 TEXT_SCALE_MODE_NONE, TEXT_SCALE_MODE_VIEWPORT);
101 vtkGetMacro(TextScaleMode,
int);
103 { this->SetTextScaleMode(TEXT_SCALE_MODE_NONE); }
105 { this->SetTextScaleMode(TEXT_SCALE_MODE_PROP); }
107 { this->SetTextScaleMode(TEXT_SCALE_MODE_VIEWPORT); }
112 TEXT_SCALE_MODE_NONE = 0,
114 TEXT_SCALE_MODE_VIEWPORT
122 vtkSetMacro(UseBorderAlign,
int);
123 vtkGetMacro(UseBorderAlign,
int);
124 vtkBooleanMacro(UseBorderAlign,
int);
136 void SetAlignmentPoint(
int point);
137 int GetAlignmentPoint();
146 vtkGetMacro(Orientation,
float);
158 virtual void GetBoundingBox(
vtkViewport* vport,
double bbox[4]);
169 virtual int SetConstrainedFontSize(
171 static int SetConstrainedFontSize(
180 static int SetMultipleConstrainedFontSize(
182 vtkTextActor** actors,
int nbOfActors,
int* maxResultingSize);
192 virtual void SetNonLinearFontScale(
double exponent,
int target);
196 void SpecifiedToDisplay(
double *pos,
vtkViewport *vport,
int specified);
200 void DisplayToSpecified(
double *pos,
vtkViewport *vport,
int specified);
204 virtual void ComputeScaledFont(
vtkViewport *viewport);
248 virtual bool GetImageBoundingBox(
280 virtual void ComputeRectangle(
vtkViewport *viewport);
289 virtual int UpdateRectangle(
vtkViewport* viewport);
abstract superclass for all actors, volumes and annotations
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
actor that draws 2D data with texture support
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
void SetTextScaleModeToViewport()
abstract specification for Viewports
virtual void ShallowCopy(vtkProp *prop)
record modification and/or execution time
vtkPoints * RectanglePoints
vtkTextProperty * ScaledTextProperty
concrete dataset represents vertices, lines, polygons, and triangle strips
window superclass for vtkRenderWindow
An actor that displays text. Scaled or unscaled.
virtual int HasTranslucentPolygonalGeometry()
virtual void ReleaseGraphicsResources(vtkWindow *win)
a simple class to control print indentation
void SetTextScaleModeToProp()
topologically and geometrically regular array of data
void PrintSelf(ostream &os, vtkIndent indent)
vtkTextRenderer * TextRenderer
represent text properties.
void SetTextScaleModeToNone()
Interface for generating images and path data from string data, using multiple backends.
vtkTextProperty * TextProperty
#define VTKRENDERINGCORE_EXPORT
virtual int RenderOverlay(vtkViewport *viewport)
static vtkTexturedActor2D * New()
draw vtkPolyData onto the image plane
represent and manipulate 3D points