Go to the documentation of this file.
29 #ifndef vtkAngleRepresentation_h
30 #define vtkAngleRepresentation_h
119 enum {Outside=0,NearP1,NearCenter,NearP2};
vtkHandleRepresentation * CenterRepresentation
virtual void StartWidgetInteraction(double e[2])
#define vtkGetObjectMacro(name, type)
virtual void CenterWidgetInteraction(double e[2])
virtual void GetCenterDisplayPosition(double pos[3])=0
void PrintSelf(ostream &os, vtkIndent indent)
virtual void SetPoint2DisplayPosition(double pos[3])=0
#define vtkTypeMacro(thisClass, superclass)
vtkHandleRepresentation * Point1Representation
abstract class for representing widget handles
virtual double GetAngle()=0
vtkHandleRepresentation * Point2Representation
void InstantiateHandleRepresentation()
virtual void BuildRepresentation()
virtual int ComputeInteractionState(int X, int Y, int modify=0)
#define vtkSetClampMacro(name, type, min, max)
virtual void WidgetInteraction(double e[2])
~vtkAngleRepresentation()
virtual void GetPoint2WorldPosition(double pos[3])=0
a simple class to control print indentation
#define vtkSetStringMacro(name)
#define vtkGetMacro(name, type)
vtkGetStringMacro(ExtensionsString)
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
virtual void SetPoint1DisplayPosition(double pos[3])=0
virtual void GetPoint1DisplayPosition(double pos[3])=0
virtual void GetPoint2DisplayPosition(double pos[3])=0
vtkHandleRepresentation * HandleRepresentation
virtual void GetCenterWorldPosition(double pos[3])=0
void SetHandleRepresentation(vtkHandleRepresentation *handle)
virtual void SetCenterDisplayPosition(double pos[3])=0
represent the vtkAngleWidget
virtual void GetPoint1WorldPosition(double pos[3])=0