|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   35 #ifndef vtkTextActor_h 
   36 #define vtkTextActor_h 
   38 #include "vtkRenderingCoreModule.h"  
   75   void SetInput(
const char* inputString);
 
   85   vtkSetVector2Macro(MinimumSize, 
int);
 
   86   vtkGetVector2Macro(MinimumSize, 
int);
 
   96   vtkSetMacro(MaximumLineHeight, 
float);
 
   97   vtkGetMacro(MaximumLineHeight, 
float);
 
  110   vtkSetClampMacro(TextScaleMode, 
int, TEXT_SCALE_MODE_NONE, TEXT_SCALE_MODE_VIEWPORT);
 
  111   vtkGetMacro(TextScaleMode, 
int);
 
  119     TEXT_SCALE_MODE_NONE = 0,
 
  121     TEXT_SCALE_MODE_VIEWPORT
 
  151   void SetAlignmentPoint(
int point);
 
  152   int GetAlignmentPoint();
 
  164   vtkGetMacro(Orientation, 
float);
 
  180   virtual void GetBoundingBox(
vtkViewport* vport, 
double bbox[4]);
 
  193   virtual int SetConstrainedFontSize(
vtkViewport*, 
int targetWidth, 
int targetHeight);
 
  203   static int SetMultipleConstrainedFontSize(
vtkViewport*, 
int targetWidth, 
int targetHeight,
 
  204     vtkTextActor** actors, 
int nbOfActors, 
int* maxResultingSize);
 
  215   virtual void SetNonLinearFontScale(
double exponent, 
int target);
 
  221   void SpecifiedToDisplay(
double* pos, 
vtkViewport* vport, 
int specified);
 
  227   void DisplayToSpecified(
double* pos, 
vtkViewport* vport, 
int specified);
 
  233   virtual void ComputeScaledFont(
vtkViewport* viewport);
 
  316   virtual void ComputeRectangle(
vtkViewport* viewport);
 
  331   virtual int UpdateRectangle(
vtkViewport* viewport);
 
  
represent and manipulate 3D points
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
draw vtkPolyData onto the image plane
static vtkTexturedActor2D * New()
void SetTextScaleModeToNone()
void SetTextScaleModeToProp()
actor that draws 2D data with texture support
record modification and/or execution time
window superclass for vtkRenderWindow
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
vtkPoints * RectanglePoints
vtkTextProperty * ScaledTextProperty
vtkTypeBool UseBorderAlign
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 PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RenderOpaqueGeometry(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
abstract specification for Viewports
represent text properties.
abstract superclass for all actors, volumes and annotations
represent surface properties of a 2D image
void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkTexturedActor2D.
Interface for generating images and path data from string data, using multiple backends.
void ReleaseGraphicsResources(vtkWindow *win) override
Release any graphics resources that are being consumed by this actor.
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkTextRenderer * TextRenderer
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
void SetTextScaleModeToViewport()