30 #ifndef vtkPointHandleRepresentation3D_h
31 #define vtkPointHandleRepresentation3D_h
33 #include "vtkInteractionWidgetsModule.h"
75 {this->Cursor3D->SetOutline(o);}
77 {
return this->Cursor3D->GetOutline();}
79 {this->Cursor3D->OutlineOn();}
81 {this->Cursor3D->OutlineOff();}
87 {this->Cursor3D->SetXShadows(o);}
89 {
return this->Cursor3D->GetXShadows();}
91 {this->Cursor3D->XShadowsOn();}
93 {this->Cursor3D->XShadowsOff();}
99 {this->Cursor3D->SetYShadows(o);}
101 {
return this->Cursor3D->GetYShadows();}
103 {this->Cursor3D->YShadowsOn();}
105 {this->Cursor3D->YShadowsOff();}
111 {this->Cursor3D->SetZShadows(o);}
113 {
return this->Cursor3D->GetZShadows();}
115 {this->Cursor3D->ZShadowsOn();}
117 {this->Cursor3D->ZShadowsOff();}
173 vtkSetClampMacro(HotSpotSize,
double,0.0,1.0);
174 vtkGetMacro(HotSpotSize,
double);
187 void BuildRepresentation() override;
188 void StartWidgetInteraction(
double eventPos[2]) override;
189 void WidgetInteraction(
double eventPos[2]) override;
190 int ComputeInteractionState(
int X,
int Y,
int modify=0) override;
191 void PlaceWidget(
double bounds[6]) override;
192 void StartComplexInteraction(
195 unsigned long event,
void *calldata) override;
196 void ComplexInteraction(
199 unsigned long event,
void *calldata) override;
200 int ComputeComplexInteractionState(
203 unsigned long event,
void *calldata,
int modify = 0) override;
210 void ShallowCopy(
vtkProp *prop) override;
211 void DeepCopy(
vtkProp *prop) override;
213 void ReleaseGraphicsResources(
vtkWindow *) override;
214 int RenderOpaqueGeometry(
vtkViewport *viewport) override;
215 int RenderTranslucentPolygonalGeometry(
vtkViewport *viewport) override;
216 vtkTypeBool HasTranslucentPolygonalGeometry() override;
219 void Highlight(
int highlight) override;
241 void RegisterPickers() override;
255 double LastPickPosition[3];
256 double LastEventPosition[3];
260 void Translate(
double *p1,
double *p2);
261 void Scale(
double *p1,
double *p2,
double eventPos[2]);
262 void MoveFocus(
double *p1,
double *p2);
274 void MoveFocusRequest(
double *p1,
double *p2,
275 double eventPos[2],
double requestedDisplayPos[3] );
281 void CreateDefaultProperties();
285 int DetermineConstraintAxis(
int constraint,
double *x,
double *startPoint);
286 int WaitingForMotion;
290 double CurrentHandleSize;