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(); }
155 vtkSetClampMacro(HotSpotSize,
double, 0.0, 1.0);
156 vtkGetMacro(HotSpotSize,
double);
169 void BuildRepresentation() override;
170 void StartWidgetInteraction(
double eventPos[2]) override;
171 void WidgetInteraction(
double eventPos[2]) override;
172 int ComputeInteractionState(
int X,
int Y,
int modify = 0) override;
173 void PlaceWidget(
double bounds[6]) override;
175 unsigned long event,
void* calldata) override;
177 unsigned long event,
void* calldata) override;
179 unsigned long event,
void* calldata,
int modify = 0) override;
186 void ShallowCopy(
vtkProp* prop) override;
187 void DeepCopy(
vtkProp* prop) override;
189 void ReleaseGraphicsResources(
vtkWindow*) override;
190 int RenderOpaqueGeometry(
vtkViewport* viewport) override;
191 int RenderTranslucentPolygonalGeometry(
vtkViewport* viewport) override;
192 vtkTypeBool HasTranslucentPolygonalGeometry() override;
195 void Highlight(
int highlight) override;
217 void RegisterPickers() override;
238 double LastPickPosition[3];
239 double LastEventPosition[3];
243 virtual
void Translate(const
double* p1, const
double* p2) override;
244 void Scale(const
double* p1, const
double* p2, const
double eventPos[2]);
245 void MoveFocus(const
double* p1, const
double* p2);
259 void MoveFocusRequest(
260 const
double* p1, const
double* p2, const
double currPos[2],
double center[3]);
266 void CreateDefaultProperties();
270 int DetermineConstraintAxis(
int constraint,
double* x,
double* startPoint);
271 int WaitingForMotion;
275 double CurrentHandleSize;