Go to the documentation of this file.
46 #ifndef vtkLeaderActor2D_h
47 #define vtkLeaderActor2D_h
49 #include "vtkRenderingAnnotationModule.h"
84 vtkGetMacro(Radius,
double);
92 vtkSetStringMacro(Label);
109 vtkSetClampMacro(LabelFactor,
double, 0.1, 2.0);
110 vtkGetMacro(LabelFactor,
double);
123 vtkSetClampMacro(ArrowPlacement,
int,VTK_ARROW_NONE,VTK_ARROW_BOTH);
124 vtkGetMacro(ArrowPlacement,
int);
137 vtkSetClampMacro(ArrowStyle,
int,VTK_ARROW_FILLED,VTK_ARROW_HOLLOW);
138 vtkGetMacro(ArrowStyle,
int);
149 vtkSetClampMacro(ArrowLength,
double,0.0,1.0);
150 vtkGetMacro(ArrowLength,
double);
151 vtkSetClampMacro(ArrowWidth,
double,0.0,1.0);
152 vtkGetMacro(ArrowWidth,
double);
163 vtkGetMacro(MinimumArrowSize,
double);
165 vtkGetMacro(MaximumArrowSize,
double);
176 vtkGetMacro(AutoLabel,
int);
184 vtkSetStringMacro(LabelFormat);
193 vtkGetMacro(Length,
double);
194 vtkGetMacro(Angle,
double);
221 int *targetSize,
double factor,
int *stringSize);
222 int ClipLeader(
double xL[3],
int stringSize[2],
double p1[3],
double ray[3],
223 double c1[3],
double c2[3]);
225 double theta,
vtkViewport *viewport,
int viewportChanged);
258 int LastPosition2[2];
represent and manipulate 3D points
int ClipLeader(double xL[3], int stringSize[2], double p1[3], double ray[3], double c1[3], double c2[3])
void SetArrowStyleToOpen()
draw vtkPolyData onto the image plane
void BuildCurvedLeader(double p1[3], double p2[3], double ray[3], double rayLength, double theta, vtkViewport *viewport, int viewportChanged)
vtkCellArray * LeaderLines
void SetArrowPlacementToPoint2()
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this actor.
record modification and/or execution time
int SetFontSize(vtkViewport *viewport, vtkTextMapper *textMapper, int *targetSize, double factor, int *stringSize)
vtkPolyDataMapper2D * LeaderMapper
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkTextMapper * LabelMapper
virtual int HasTranslucentPolygonalGeometry()
Does this prop have some translucent polygonal geometry?
vtkCellArray * LeaderArrows
window superclass for vtkRenderWindow
int InStringBox(double center[3], int stringSize[2], double x[3])
vtkTextProperty * LabelTextProperty
static vtkLeaderActor2D * New()
Instantiate object.
void ShallowCopy(vtkProp *prop)
Shallow copy of this vtkActor2D.
void SetArrowPlacementToBoth()
a simple class to control print indentation
object to represent cell connectivity
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
abstract specification for Viewports
void SetArrowStyleToHollow()
virtual void SetLabelTextProperty(vtkTextProperty *p)
Set/Get the text property of the label.
void SetArrowPlacementToPoint1()
represent text properties.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
int RenderOverlay(vtkViewport *viewport)
Methods required by vtkProp and vtkActor2D superclasses.
abstract superclass for all actors, volumes and annotations
virtual void BuildLeader(vtkViewport *viewport)
a actor that draws 2D data
void SetArrowStyleToFilled()
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetArrowPlacementToNone()
create a leader with optional label and arrows
int RenderOpaqueGeometry(vtkViewport *viewport)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...