29 #ifndef __vtkSphereHandleRepresentation_h
30 #define __vtkSphereHandleRepresentation_h
71 vtkSetMacro(TranslationMode,
int);
72 vtkGetMacro(TranslationMode,
int);
73 vtkBooleanMacro(TranslationMode,
int);
76 void SetSphereRadius(
double);
77 double GetSphereRadius();
92 vtkSetClampMacro(HotSpotSize,
double,0.0,1.0);
93 vtkGetMacro(HotSpotSize,
double);
135 double LastPickPosition[3];
136 double LastEventPosition[2];
140 void Translate(
double *p1,
double *p2);
141 void Scale(
double *p1,
double *p2,
double eventPos[2]);
142 void MoveFocus(
double *p1,
double *p2);
149 void CreateDefaultProperties();
153 int DetermineConstraintAxis(
int constraint,
double *x);