40 #ifndef __vtkTextActor_h
41 #define __vtkTextActor_h
76 void SetInput(
const char *inputString);
83 vtkSetVector2Macro(MinimumSize,
int);
84 vtkGetVector2Macro(MinimumSize,
int);
91 vtkSetMacro(MaximumLineHeight,
float);
92 vtkGetMacro(MaximumLineHeight,
float);
103 vtkSetClampMacro(TextScaleMode,
int,
104 TEXT_SCALE_MODE_NONE, TEXT_SCALE_MODE_VIEWPORT);
105 vtkGetMacro(TextScaleMode,
int);
107 { this->SetTextScaleMode(TEXT_SCALE_MODE_NONE); }
109 { this->SetTextScaleMode(TEXT_SCALE_MODE_PROP); }
111 { this->SetTextScaleMode(TEXT_SCALE_MODE_VIEWPORT); }
116 TEXT_SCALE_MODE_NONE = 0,
118 TEXT_SCALE_MODE_VIEWPORT
125 VTK_LEGACY(
void SetScaledText(
int));
126 VTK_LEGACY(
int GetScaledText());
127 VTK_LEGACY(
void ScaledTextOn());
128 VTK_LEGACY(
void ScaledTextOff());
135 vtkSetMacro(UseBorderAlign,
int);
136 vtkGetMacro(UseBorderAlign,
int);
137 vtkBooleanMacro(UseBorderAlign,
int);
149 void SetAlignmentPoint(
int point);
150 int GetAlignmentPoint();
159 vtkGetMacro(Orientation,
float);
175 virtual void SetNonLinearFontScale(
double exponent,
int target);
179 void SpecifiedToDisplay(
double *pos,
vtkViewport *vport,
int specified);
183 void DisplayToSpecified(
double *pos,
vtkViewport *vport,
int specified);
187 virtual void ComputeScaledFont(
vtkViewport *viewport);
261 virtual void ComputeRectangle(
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
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
vtkFreeTypeUtilities * FreeTypeUtilities
represent text properties.
void SetTextScaleModeToNone()
FreeType library support.
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