26 #ifndef vtkDistanceRepresentation_h 27 #define vtkDistanceRepresentation_h 46 virtual double GetDistance() = 0;
52 virtual void GetPoint1WorldPosition(
double pos[3]) = 0;
53 virtual void GetPoint2WorldPosition(
double pos[3]) = 0;
54 virtual double* GetPoint1WorldPosition() = 0;
55 virtual double* GetPoint2WorldPosition() = 0;
56 virtual void SetPoint1DisplayPosition(
double pos[3]) = 0;
57 virtual void SetPoint2DisplayPosition(
double pos[3]) = 0;
58 virtual void GetPoint1DisplayPosition(
double pos[3]) = 0;
59 virtual void GetPoint2DisplayPosition(
double pos[3]) = 0;
60 virtual void SetPoint1WorldPosition(
double pos[3])=0;
61 virtual void SetPoint2WorldPosition(
double pos[3])=0;
75 void InstantiateHandleRepresentation();
130 enum {Outside=0,NearP1,NearP2};
abstract class for representing widget handles
represent the vtkDistanceWidget
#define vtkGetMacro(name, type)
#define vtkSetClampMacro(name, type, min, max)
#define vtkSetStringMacro(name)
#define vtkTypeMacro(thisClass, superclass)
vtkHandleRepresentation * HandleRepresentation
vtkHandleRepresentation * Point1Representation
a simple class to control print indentation
#define vtkGetStringMacro(name)
#define vtkGetObjectMacro(name, type)
vtkHandleRepresentation * Point2Representation
#define vtkBooleanMacro(name, type)
#define vtkSetMacro(name, type)