30 #ifndef vtkAngleRepresentation_h 31 #define vtkAngleRepresentation_h 33 #include "vtkInteractionWidgetsModule.h" 54 virtual double GetAngle() = 0;
62 virtual void GetPoint1WorldPosition(
double pos[3]) = 0;
63 virtual void GetCenterWorldPosition(
double pos[3]) = 0;
64 virtual void GetPoint2WorldPosition(
double pos[3]) = 0;
65 virtual void SetPoint1DisplayPosition(
double pos[3]) = 0;
66 virtual void SetCenterDisplayPosition(
double pos[3]) = 0;
67 virtual void SetPoint2DisplayPosition(
double pos[3]) = 0;
68 virtual void GetPoint1DisplayPosition(
double pos[3]) = 0;
69 virtual void GetCenterDisplayPosition(
double pos[3]) = 0;
70 virtual void GetPoint2DisplayPosition(
double pos[3]) = 0;
85 void InstantiateHandleRepresentation();
103 vtkSetClampMacro(Tolerance,
int,1,100);
104 vtkGetMacro(Tolerance,
int);
113 vtkSetStringMacro(LabelFormat);
114 vtkGetStringMacro(LabelFormat);
134 enum {Outside=0,NearP1,NearCenter,NearP2};
143 virtual void CenterWidgetInteraction(
double e[2]);
vtkTypeBool Ray2Visibility
vtkTypeBool Ray1Visibility
abstract class for representing widget handles
vtkHandleRepresentation * HandleRepresentation
a simple class to control print indentation
represent the vtkAngleWidget
vtkTypeBool ArcVisibility
vtkHandleRepresentation * CenterRepresentation
vtkHandleRepresentation * Point1Representation
vtkHandleRepresentation * Point2Representation