45 #ifndef __vtkLeaderActor2D_h
46 #define __vtkLeaderActor2D_h
48 #include "vtkRenderingAnnotationModule.h"
78 vtkSetMacro(Radius,
double);
79 vtkGetMacro(Radius,
double);
85 vtkSetStringMacro(Label);
98 vtkSetClampMacro(LabelFactor,
double, 0.1, 2.0);
99 vtkGetMacro(LabelFactor,
double);
112 vtkSetClampMacro(ArrowPlacement,
int,VTK_ARROW_NONE,VTK_ARROW_BOTH);
113 vtkGetMacro(ArrowPlacement,
int);
124 vtkSetClampMacro(ArrowStyle,
int,VTK_ARROW_FILLED,VTK_ARROW_HOLLOW);
125 vtkGetMacro(ArrowStyle,
int);
134 vtkSetClampMacro(ArrowLength,
double,0.0,1.0);
135 vtkGetMacro(ArrowLength,
double);
136 vtkSetClampMacro(ArrowWidth,
double,0.0,1.0);
137 vtkGetMacro(ArrowWidth,
double);
146 vtkGetMacro(MinimumArrowSize,
double);
148 vtkGetMacro(MaximumArrowSize,
double);
156 vtkSetMacro(AutoLabel,
int);
157 vtkGetMacro(AutoLabel,
int);
158 vtkBooleanMacro(AutoLabel,
int);
163 vtkSetStringMacro(LabelFormat);
170 vtkGetMacro(Length,
double);
171 vtkGetMacro(Angle,
double);
194 int *targetSize,
double factor,
int *stringSize);
195 int ClipLeader(
double xL[3],
int stringSize[2],
double p1[3],
double ray[3],
196 double c1[3],
double c2[3]);
197 void BuildCurvedLeader(
double p1[3],
double p2[3],
double ray[3],
double rayLength,
198 double theta,
vtkViewport *viewport,
int viewportChanged);
199 int InStringBox(
double center[3],
int stringSize[2],
double x[3]);
231 int LastPosition2[2];