69 #ifndef vtkDistanceWidget_h 70 #define vtkDistanceWidget_h 72 #include "vtkInteractionWidgetsModule.h" 77 class vtkDistanceWidgetCallback;
109 {this->Superclass::SetWidgetRepresentation(
110 reinterpret_cast<vtkWidgetRepresentation*>(r));}
116 {
return reinterpret_cast<vtkDistanceRepresentation*>(this->WidgetRep);}
136 enum {Start=0,Define,Manipulate};
149 virtual void SetWidgetStateToStart();
150 virtual void SetWidgetStateToManipulate();
157 {
return this->WidgetState;}
184 void StartDistanceInteraction(
int handleNum);
185 void DistanceInteraction(
int handleNum);
186 void EndDistanceInteraction(
int handleNum);
188 friend class vtkDistanceWidgetCallback;
represent the vtkDistanceWidget
a simple class to control print indentation
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.