43 #ifndef vtkLeaderActor2D_h
44 #define vtkLeaderActor2D_h
46 #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);
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);
181 vtkSetStringMacro(LabelFormat);
182 vtkGetStringMacro(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];