27 #ifndef vtkDistanceRepresentation_h
28 #define vtkDistanceRepresentation_h
30 #include "vtkInteractionWidgetsModule.h"
51 virtual double GetDistance() = 0;
59 virtual void GetPoint1WorldPosition(
double pos[3]) = 0;
60 virtual void GetPoint2WorldPosition(
double pos[3]) = 0;
61 virtual double* GetPoint1WorldPosition() = 0;
62 virtual double* GetPoint2WorldPosition() = 0;
63 virtual void SetPoint1DisplayPosition(
double pos[3]) = 0;
64 virtual void SetPoint2DisplayPosition(
double pos[3]) = 0;
65 virtual void GetPoint1DisplayPosition(
double pos[3]) = 0;
66 virtual void GetPoint2DisplayPosition(
double pos[3]) = 0;
67 virtual void SetPoint1WorldPosition(
double pos[3])=0;
68 virtual void SetPoint2WorldPosition(
double pos[3])=0;
83 void InstantiateHandleRepresentation();
102 vtkSetClampMacro(Tolerance,
int,1,100);
103 vtkGetMacro(Tolerance,
int);
112 vtkSetStringMacro(LabelFormat);
126 vtkGetMacro(Scale,
double);
136 vtkGetMacro(RulerMode,
int);
146 vtkGetMacro(RulerDistance,
double);
157 vtkSetClampMacro(NumberOfRulerTicks,
int,1,
VTK_INT_MAX);
158 vtkGetMacro(NumberOfRulerTicks,
int);
162 enum {Outside=0,NearP1,NearP2};
abstract class for representing widget handles
represent the vtkDistanceWidget
vtkHandleRepresentation * HandleRepresentation
vtkHandleRepresentation * Point1Representation
a simple class to control print indentation
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkHandleRepresentation * Point2Representation
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.