|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   43 #ifndef vtkLeaderActor2D_h 
   44 #define vtkLeaderActor2D_h 
   47 #include "vtkRenderingAnnotationModule.h"  
   80   vtkSetMacro(Radius, 
double);
 
   81   vtkGetMacro(Radius, 
double);
 
   89   vtkSetStringMacro(Label);
 
   90   vtkGetStringMacro(Label);
 
  106   vtkSetClampMacro(LabelFactor, 
double, 0.1, 2.0);
 
  107   vtkGetMacro(LabelFactor, 
double);
 
  121     VTK_ARROW_FILLED = 0,
 
  131   vtkSetClampMacro(ArrowPlacement, 
int, VTK_ARROW_NONE, VTK_ARROW_BOTH);
 
  132   vtkGetMacro(ArrowPlacement, 
int);
 
  145   vtkSetClampMacro(ArrowStyle, 
int, VTK_ARROW_FILLED, VTK_ARROW_HOLLOW);
 
  146   vtkGetMacro(ArrowStyle, 
int);
 
  157   vtkSetClampMacro(ArrowLength, 
double, 0.0, 1.0);
 
  158   vtkGetMacro(ArrowLength, 
double);
 
  159   vtkSetClampMacro(ArrowWidth, 
double, 0.0, 1.0);
 
  160   vtkGetMacro(ArrowWidth, 
double);
 
  170   vtkSetClampMacro(MinimumArrowSize, 
double, 1.0, 
VTK_FLOAT_MAX);
 
  171   vtkGetMacro(MinimumArrowSize, 
double);
 
  172   vtkSetClampMacro(MaximumArrowSize, 
double, 1.0, 
VTK_FLOAT_MAX);
 
  173   vtkGetMacro(MaximumArrowSize, 
double);
 
  192   vtkSetStringMacro(LabelFormat);
 
  193   vtkGetStringMacro(LabelFormat);
 
  201   vtkGetMacro(Length, 
double);
 
  202   vtkGetMacro(Angle, 
double);
 
  229     double factor, 
int* stringSize);
 
  231     double xL[3], 
int stringSize[2], 
double p1[3], 
double ray[3], 
double c1[3], 
double c2[3]);
 
  232   void BuildCurvedLeader(
double p1[3], 
double p2[3], 
double ray[3], 
double rayLength, 
double theta,
 
  234   int InStringBox(
double center[3], 
int stringSize[2], 
double x[3]);
 
  265   int LastPosition2[2];
 
  
represent and manipulate 3D points
int RenderOpaqueGeometry(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
void SetArrowStyleToOpen()
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
draw vtkPolyData onto the image plane
vtkCellArray * LeaderLines
void SetArrowPlacementToPoint2()
void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkActor2D.
record modification and/or execution time
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataMapper2D * LeaderMapper
vtkTextMapper * LabelMapper
vtkCellArray * LeaderArrows
window superclass for vtkRenderWindow
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
vtkTextProperty * LabelTextProperty
void SetArrowPlacementToBoth()
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
a simple class to control print indentation
object to represent cell connectivity
abstract specification for Viewports
void SetArrowStyleToHollow()
void SetArrowPlacementToPoint1()
represent text properties.
abstract superclass for all actors, volumes and annotations
a actor that draws 2D data
static vtkActor2D * New()
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at la...
void SetArrowStyleToFilled()
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetArrowPlacementToNone()
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
create a leader with optional label and arrows