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);
123 vtkGetMacro(Ray1Visibility,
int);
126 vtkGetMacro(Ray2Visibility,
int);
129 vtkGetMacro(ArcVisibility,
int);
134 enum {Outside=0,NearP1,NearCenter,NearP2};
141 int ComputeInteractionState(
int X,
int Y,
int modify=0) VTK_OVERRIDE;
142 void StartWidgetInteraction(
double e[2]) VTK_OVERRIDE;
143 virtual
void CenterWidgetInteraction(
double e[2]);
144 void WidgetInteraction(
double e[2]) VTK_OVERRIDE;
149 ~vtkAngleRepresentation() VTK_OVERRIDE;
169 vtkAngleRepresentation(const vtkAngleRepresentation&) VTK_DELETE_FUNCTION;
170 void operator=(const vtkAngleRepresentation&) VTK_DELETE_FUNCTION;
abstract class for representing widget handles
a simple class to control print indentation
represent the vtkAngleWidget
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.