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();
119 enum {Outside=0,NearP1,NearCenter,NearP2};
127 virtual void CenterWidgetInteraction(
double e[2]);
abstract class for representing widget handles
#define vtkGetMacro(name, type)
vtkHandleRepresentation * HandleRepresentation
#define vtkSetClampMacro(name, type, min, max)
#define vtkSetStringMacro(name)
#define vtkTypeMacro(thisClass, superclass)
a simple class to control print indentation
represent the vtkAngleWidget
vtkHandleRepresentation * CenterRepresentation
#define vtkGetStringMacro(name)
#define vtkGetObjectMacro(name, type)
vtkHandleRepresentation * Point1Representation
#define vtkBooleanMacro(name, type)
vtkHandleRepresentation * Point2Representation
#define vtkSetMacro(name, type)