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