43 #ifndef vtkLeaderActor2D_h 44 #define vtkLeaderActor2D_h 46 #include "vtkRenderingAnnotationModule.h" 81 vtkGetMacro(Radius,
double);
89 vtkSetStringMacro(Label);
106 vtkSetClampMacro(LabelFactor,
double, 0.1, 2.0);
107 vtkGetMacro(LabelFactor,
double);
120 vtkSetClampMacro(ArrowPlacement,
int,VTK_ARROW_NONE,VTK_ARROW_BOTH);
121 vtkGetMacro(ArrowPlacement,
int);
134 vtkSetClampMacro(ArrowStyle,
int,VTK_ARROW_FILLED,VTK_ARROW_HOLLOW);
135 vtkGetMacro(ArrowStyle,
int);
146 vtkSetClampMacro(ArrowLength,
double,0.0,1.0);
147 vtkGetMacro(ArrowLength,
double);
148 vtkSetClampMacro(ArrowWidth,
double,0.0,1.0);
149 vtkGetMacro(ArrowWidth,
double);
160 vtkGetMacro(MinimumArrowSize,
double);
162 vtkGetMacro(MaximumArrowSize,
double);
173 vtkGetMacro(AutoLabel,
int);
181 vtkSetStringMacro(LabelFormat);
190 vtkGetMacro(Length,
double);
191 vtkGetMacro(Angle,
double);
218 int *targetSize,
double factor,
int *stringSize);
219 int ClipLeader(
double xL[3],
int stringSize[2],
double p1[3],
double ray[3],
220 double c1[3],
double c2[3]);
221 void BuildCurvedLeader(
double p1[3],
double p2[3],
double ray[3],
double rayLength,
222 double theta,
vtkViewport *viewport,
int viewportChanged);
223 int InStringBox(
double center[3],
int stringSize[2],
double x[3]);
255 int LastPosition2[2];
vtkCellArray * LeaderArrows
abstract superclass for all actors, volumes and annotations
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
vtkTextProperty * LabelTextProperty
abstract specification for Viewports
void SetArrowStyleToFilled()
Control the appearance of the arrow heads.
a actor that draws 2D data
record modification and/or execution time
void SetArrowStyleToHollow()
Control the appearance of the arrow heads.
concrete dataset represents vertices, lines, polygons, and triangle strips
void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkActor2D.
void SetArrowPlacementToPoint1()
Control whether arrow heads are drawn on the leader.
void SetArrowPlacementToNone()
Control whether arrow heads are drawn on the leader.
window superclass for vtkRenderWindow
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
a simple class to control print indentation
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Methods required by vtkProp and vtkActor2D superclasses.
int HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
create a leader with optional label and arrows
static vtkActor2D * New()
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at la...
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkCellArray * LeaderLines
represent text properties.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
object to represent cell connectivity
void SetArrowStyleToOpen()
Control the appearance of the arrow heads.
void SetArrowPlacementToPoint2()
Control whether arrow heads are drawn on the leader.
int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
void SetArrowPlacementToBoth()
Control whether arrow heads are drawn on the leader.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkPolyDataMapper2D * LeaderMapper
vtkTextMapper * LabelMapper
draw vtkPolyData onto the image plane
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.