27 #ifndef vtkPointHandleRepresentation3D_h
28 #define vtkPointHandleRepresentation3D_h
32 #include "vtkInteractionWidgetsModule.h"
73 void SetOutline(
int o) { this->Cursor3D->SetOutline(o); }
74 int GetOutline() {
return this->Cursor3D->GetOutline(); }
156 vtkSetClampMacro(HotSpotSize,
double, 0.0, 1.0);
157 vtkGetMacro(HotSpotSize,
double);
170 void BuildRepresentation() override;
171 void StartWidgetInteraction(
double eventPos[2]) override;
172 void WidgetInteraction(
double eventPos[2]) override;
173 int ComputeInteractionState(
int X,
int Y,
int modify = 0) override;
174 void PlaceWidget(
double bounds[6]) override;
176 unsigned long event,
void* calldata) override;
178 unsigned long event,
void* calldata) override;
180 unsigned long event,
void* calldata,
int modify = 0) override;
192 int RenderTranslucentPolygonalGeometry(
vtkViewport* viewport) override;
196 void Highlight(
int highlight) override;
218 void RegisterPickers() override;
239 double LastPickPosition[3];
240 double LastEventPosition[3];
244 void Translate(const
double* p1, const
double* p2) override;
245 void Scale(const
double* p1, const
double* p2, const
double eventPos[2]);
246 void MoveFocus(const
double* p1, const
double* p2);
260 void MoveFocusRequest(
261 const
double* p1, const
double* p2, const
double currPos[2],
double center[3]);
267 void CreateDefaultProperties();
271 int DetermineConstraintAxis(
int constraint,
double* x,
double* startPoint);
272 int WaitingForMotion;
276 double CurrentHandleSize;