29 #ifndef vtkAngleRepresentation_h
30 #define vtkAngleRepresentation_h
49 virtual double GetAngle() = 0;
55 virtual void GetPoint1WorldPosition(
double pos[3]) = 0;
56 virtual void GetCenterWorldPosition(
double pos[3]) = 0;
57 virtual void GetPoint2WorldPosition(
double pos[3]) = 0;
58 virtual void SetPoint1DisplayPosition(
double pos[3]) = 0;
59 virtual void SetCenterDisplayPosition(
double pos[3]) = 0;
60 virtual void SetPoint2DisplayPosition(
double pos[3]) = 0;
61 virtual void GetPoint1DisplayPosition(
double pos[3]) = 0;
62 virtual void GetCenterDisplayPosition(
double pos[3]) = 0;
63 virtual void GetPoint2DisplayPosition(
double pos[3]) = 0;
77 void InstantiateHandleRepresentation();
92 vtkSetClampMacro(Tolerance,
int,1,100);
93 vtkGetMacro(Tolerance,
int);
100 vtkSetStringMacro(LabelFormat);
101 vtkGetStringMacro(LabelFormat);
107 vtkSetMacro(Ray1Visibility,
int);
108 vtkGetMacro(Ray1Visibility,
int);
109 vtkBooleanMacro(Ray1Visibility,
int);
110 vtkSetMacro(Ray2Visibility,
int);
111 vtkGetMacro(Ray2Visibility,
int);
112 vtkBooleanMacro(Ray2Visibility,
int);
113 vtkSetMacro(ArcVisibility,
int);
114 vtkGetMacro(ArcVisibility,
int);
115 vtkBooleanMacro(ArcVisibility,
int);
119 enum {Outside=0,NearP1,NearCenter,NearP2};
127 virtual void CenterWidgetInteraction(
double e[2]);
abstract class for representing widget handles
vtkHandleRepresentation * HandleRepresentation
a simple class to control print indentation
represent the vtkAngleWidget
vtkHandleRepresentation * CenterRepresentation
vtkHandleRepresentation * Point1Representation
vtkHandleRepresentation * Point2Representation