29 #ifndef __vtkSphereHandleRepresentation_h
30 #define __vtkSphereHandleRepresentation_h
32 #include "vtkInteractionWidgetsModule.h"
72 vtkSetMacro(TranslationMode,
int);
73 vtkGetMacro(TranslationMode,
int);
74 vtkBooleanMacro(TranslationMode,
int);
77 void SetSphereRadius(
double);
78 double GetSphereRadius();
93 vtkSetClampMacro(HotSpotSize,
double,0.0,1.0);
94 vtkGetMacro(HotSpotSize,
double);
136 double LastPickPosition[3];
137 double LastEventPosition[2];
141 void Translate(
double *p1,
double *p2);
142 void Scale(
double *p1,
double *p2,
double eventPos[2]);
143 void MoveFocus(
double *p1,
double *p2);
150 void CreateDefaultProperties();
154 int DetermineConstraintAxis(
int constraint,
double *x);