Go to the documentation of this file.
40 #ifndef vtkTextActor_h
41 #define vtkTextActor_h
100 TEXT_SCALE_MODE_NONE, TEXT_SCALE_MODE_VIEWPORT);
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
182 vtkTextActor** actors,
int nbOfActors,
int* maxResultingSize);
represent and manipulate 3D points
#define vtkGetObjectMacro(name, type)
draw vtkPolyData onto the image plane
#define vtkSetVector2Macro(name, type)
void SetTextScaleModeToNone()
virtual int SetConstrainedFontSize(vtkViewport *, int targetWidth, int targetHeight)
void SetTextScaleModeToProp()
void SetOrientation(float orientation)
virtual void GetSize(vtkViewport *vport, double size[2])
#define vtkGetVector2Macro(name, type)
actor that draws 2D data with texture support
virtual void SetTextProperty(vtkTextProperty *p)
static vtkTextActor * New()
void SetAlignmentPoint(int point)
virtual bool RenderImage(vtkTextProperty *tprop, vtkViewport *viewport)
virtual int UpdateRectangle(vtkViewport *viewport)
record modification and/or execution time
virtual void ComputeScaledFont(vtkViewport *viewport)
#define vtkTypeMacro(thisClass, superclass)
static int SetConstrainedFontSize(vtkTextActor *, vtkViewport *, int targetWidth, int targetHeight)
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual int RenderOverlay(vtkViewport *viewport)
window superclass for vtkRenderWindow
virtual bool GetImageBoundingBox(vtkTextProperty *tprop, vtkViewport *viewport, int bbox[4])
#define vtkSetClampMacro(name, type, min, max)
vtkPoints * RectanglePoints
vtkTextProperty * ScaledTextProperty
virtual void ReleaseGraphicsResources(vtkWindow *)
void PrintSelf(ostream &os, vtkIndent indent)
virtual void ComputeRectangle(vtkViewport *viewport)
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
topologically and geometrically regular array of data
An actor that displays text. Scaled or unscaled.
vtkTextProperty * TextProperty
a simple class to control print indentation
void ShallowCopy(vtkProp *prop)
virtual void SetNonLinearFontScale(double exponent, int target)
#define vtkGetMacro(name, type)
abstract specification for Viewports
represent text properties.
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
abstract superclass for all actors, volumes and annotations
static float GetFontScale(vtkViewport *viewport)
static int SetMultipleConstrainedFontSize(vtkViewport *, int targetWidth, int targetHeight, vtkTextActor **actors, int nbOfActors, int *maxResultingSize)
Interface for generating images and path data from string data, using multiple backends.
void SpecifiedToDisplay(double *pos, vtkViewport *vport, int specified)
void SetInput(const char *inputString)
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkTextRenderer * TextRenderer
virtual void GetBoundingBox(vtkViewport *vport, double bbox[4])
virtual int HasTranslucentPolygonalGeometry()
void DisplayToSpecified(double *pos, vtkViewport *vport, int specified)
#define VTKRENDERINGCORE_EXPORT
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void SetTextScaleModeToViewport()