45 #ifndef __vtkLeaderActor2D_h
46 #define __vtkLeaderActor2D_h
77 vtkSetMacro(Radius,
double);
78 vtkGetMacro(Radius,
double);
84 vtkSetStringMacro(Label);
85 vtkGetStringMacro(Label);
97 vtkSetClampMacro(LabelFactor,
double, 0.1, 2.0);
98 vtkGetMacro(LabelFactor,
double);
111 vtkSetClampMacro(ArrowPlacement,
int,VTK_ARROW_NONE,VTK_ARROW_BOTH);
112 vtkGetMacro(ArrowPlacement,
int);
123 vtkSetClampMacro(ArrowStyle,
int,VTK_ARROW_FILLED,VTK_ARROW_HOLLOW);
124 vtkGetMacro(ArrowStyle,
int);
133 vtkSetClampMacro(ArrowLength,
double,0.0,1.0);
134 vtkGetMacro(ArrowLength,
double);
135 vtkSetClampMacro(ArrowWidth,
double,0.0,1.0);
136 vtkGetMacro(ArrowWidth,
double);
145 vtkGetMacro(MinimumArrowSize,
double);
147 vtkGetMacro(MaximumArrowSize,
double);
155 vtkSetMacro(AutoLabel,
int);
156 vtkGetMacro(AutoLabel,
int);
157 vtkBooleanMacro(AutoLabel,
int);
162 vtkSetStringMacro(LabelFormat);
163 vtkGetStringMacro(LabelFormat);
169 vtkGetMacro(Length,
double);
170 vtkGetMacro(Angle,
double);
193 int *targetSize,
double factor,
int *stringSize);
194 int ClipLeader(
double xL[3],
int stringSize[2],
double p1[3],
double ray[3],
195 double c1[3],
double c2[3]);
196 void BuildCurvedLeader(
double p1[3],
double p2[3],
double ray[3],
double rayLength,
197 double theta,
vtkViewport *viewport,
int viewportChanged);
198 int InStringBox(
double center[3],
int stringSize[2],
double x[3]);
230 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()
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