40 #ifndef __vtkTextActor_h
41 #define __vtkTextActor_h
77 void SetInput(
const char *inputString);
105 TEXT_SCALE_MODE_NONE, TEXT_SCALE_MODE_VIEWPORT);
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
141 void SetAlignmentPoint(
int point);
142 int GetAlignmentPoint();
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)
#define vtkGetMacro(name, type)
a actor that draws 2D data
record modification and/or execution time
vtkPoints * RectanglePoints
vtkTextProperty * ScaledTextProperty
#define vtkSetClampMacro(name, type, min, max)
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTKRENDERINGFREETYPE_EXPORT
#define vtkTypeMacro(thisClass, superclass)
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.
#define vtkGetObjectMacro(name, type)
void SetTextScaleModeToNone()
Interface for generating images and path data from string data, using multiple backends.
#define vtkGetVector2Macro(name, type)
virtual void ShallowCopy(vtkProp *prop)
vtkTextProperty * TextProperty
virtual int RenderOverlay(vtkViewport *viewport)
#define vtkBooleanMacro(name, type)
#define vtkSetVector2Macro(name, type)
abstract class specifies interface for objects which render 2D actors
vtkPolyDataMapper2D * PDMapper
draw vtkPolyData onto the image plane
represent and manipulate 3D points
#define vtkSetMacro(name, type)