45 #ifndef vtkLeaderActor2D_h
46 #define vtkLeaderActor2D_h
78 vtkSetMacro(Radius,
double);
79 vtkGetMacro(Radius,
double);
85 vtkSetStringMacro(Label);
86 vtkGetStringMacro(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);
164 vtkGetStringMacro(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];
vtkCellArray * LeaderArrows
abstract superclass for all actors, volumes and annotations
vtkTextProperty * LabelTextProperty
virtual void ReleaseGraphicsResources(vtkWindow *)
abstract specification for Viewports
void SetArrowStyleToFilled()
a actor that draws 2D data
record modification and/or execution time
void SetArrowStyleToHollow()
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetArrowPlacementToPoint1()
#define VTKRENDERINGANNOTATION_EXPORT
void SetArrowPlacementToNone()
window superclass for vtkRenderWindow
virtual int HasTranslucentPolygonalGeometry()
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
create a leader with optional label and arrows
static vtkActor2D * New()
vtkCellArray * LeaderLines
represent text properties.
object to represent cell connectivity
void SetArrowStyleToOpen()
virtual void ShallowCopy(vtkProp *prop)
void SetArrowPlacementToPoint2()
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual int RenderOverlay(vtkViewport *viewport)
void SetArrowPlacementToBoth()
vtkPolyDataMapper2D * LeaderMapper
vtkTextMapper * LabelMapper
draw vtkPolyData onto the image plane
represent and manipulate 3D points