138#ifndef vtkTextActor_h
139#define vtkTextActor_h
141#include "vtkRenderingCoreModule.h"
147VTK_ABI_NAMESPACE_BEGIN
192 vtkSetVector2Macro(MinimumSize,
int);
193 vtkGetVector2Macro(MinimumSize,
int);
203 vtkSetMacro(MaximumLineHeight,
float);
204 vtkGetMacro(MaximumLineHeight,
float);
217 vtkSetClampMacro(TextScaleMode,
int, TEXT_SCALE_MODE_NONE, TEXT_SCALE_MODE_VIEWPORT);
218 vtkGetMacro(TextScaleMode,
int);
226 TEXT_SCALE_MODE_NONE = 0,
228 TEXT_SCALE_MODE_VIEWPORT
260 void SetAlignmentPoint(
int point);
263 int GetAlignmentPoint();
274 void SetOrientation(
float orientation);
275 vtkGetMacro(Orientation,
float);
304 virtual
int SetConstrainedFontSize(
vtkViewport*,
int targetWidth,
int targetHeight);
314 static
int SetMultipleConstrainedFontSize(
vtkViewport*,
int targetWidth,
int targetHeight,
315 vtkTextActor** actors,
int nbOfActors,
int* maxResultingSize);
326 virtual
void SetNonLinearFontScale(
double exponent,
int target);
332 vtkGetMacro(FontScaleExponent,
double);
333 vtkSetMacro(FontScaleExponent,
double);
340 void SpecifiedToDisplay(
double* pos,
vtkViewport* vport,
int specified);
346 void DisplayToSpecified(
double* pos,
vtkViewport* vport,
int specified);
387 int RenderTranslucentPolygonalGeometry(
vtkViewport*)
override {
return 0; }
topologically and geometrically regular array of data
a simple class to control print indentation
represent and manipulate 3D points
draw vtkPolyData onto the image plane
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract superclass for all actors, volumes and annotations
represent surface properties of a 2D image
An actor that displays text.
vtkTextProperty * TextProperty
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
static vtkTextActor * New()
Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8,...
void ShallowCopy(vtkProp *prop) override
Shallow copy of this text actor.
int RenderOverlay(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
virtual bool RenderImage(vtkTextProperty *tprop, vtkViewport *viewport)
Render Input to Image using the supplied font property.
vtkTextProperty * ScaledTextProperty
char * GetInput()
Set the text string to be displayed.
void SetInput(const char *inputString)
Set the text string to be displayed.
virtual int UpdateRectangle(vtkViewport *viewport)
Ensure that Rectangle and RectanglePoints are valid and up-to-date.
virtual bool GetImageBoundingBox(vtkTextProperty *tprop, vtkViewport *viewport, int bbox[4])
Get the bounding box for Input using the supplied font property.
vtkTextRenderer * TextRenderer
virtual void ComputeRectangle(vtkViewport *viewport)
void SetTextScaleModeToProp()
Set how text should be scaled.
void SetTextScaleModeToViewport()
Set how text should be scaled.
vtkPoints * RectanglePoints
vtkTypeBool UseBorderAlign
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetTextScaleModeToNone()
Set how text should be scaled.
represent text properties.
Interface for generating images and path data from string data, using multiple backends.
actor that draws 2D data with texture support
record modification and/or execution time
abstract specification for Viewports
window superclass for vtkRenderWindow
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
#define VTK_DEPRECATED_IN_9_6_0(reason)
#define VTK_MARSHAL_EXCLUDE_REASON_IS_REDUNDANT
#define VTK_MARSHALEXCLUDE(reason)