27 #ifndef vtkPointHandleRepresentation3D_h
28 #define vtkPointHandleRepresentation3D_h
30 #include "vtkInteractionWidgetsModule.h"
72 {this->Cursor3D->SetOutline(o);}
74 {
return this->Cursor3D->GetOutline();}
76 {this->Cursor3D->OutlineOn();}
78 {this->Cursor3D->OutlineOff();}
84 {this->Cursor3D->SetXShadows(o);}
86 {
return this->Cursor3D->GetXShadows();}
88 {this->Cursor3D->XShadowsOn();}
90 {this->Cursor3D->XShadowsOff();}
96 {this->Cursor3D->SetYShadows(o);}
98 {
return this->Cursor3D->GetYShadows();}
100 {this->Cursor3D->YShadowsOn();}
102 {this->Cursor3D->YShadowsOff();}
108 {this->Cursor3D->SetZShadows(o);}
110 {
return this->Cursor3D->GetZShadows();}
112 {this->Cursor3D->ZShadowsOn();}
114 {this->Cursor3D->ZShadowsOff();}
170 vtkSetClampMacro(HotSpotSize,
double,0.0,1.0);
171 vtkGetMacro(HotSpotSize,
double);
184 void BuildRepresentation() override;
185 void StartWidgetInteraction(
double eventPos[2]) override;
186 void WidgetInteraction(
double eventPos[2]) override;
187 int ComputeInteractionState(
int X,
int Y,
int modify=0) override;
188 void PlaceWidget(
double bounds[6]) override;
189 void StartComplexInteraction(
192 unsigned long event,
void *calldata) override;
193 void ComplexInteraction(
196 unsigned long event,
void *calldata) override;
197 int ComputeComplexInteractionState(
200 unsigned long event,
void *calldata,
int modify = 0) override;
207 void ShallowCopy(
vtkProp *prop) override;
208 void DeepCopy(
vtkProp *prop) override;
210 void ReleaseGraphicsResources(
vtkWindow *) override;
211 int RenderOpaqueGeometry(
vtkViewport *viewport) override;
212 int RenderTranslucentPolygonalGeometry(
vtkViewport *viewport) override;
213 int HasTranslucentPolygonalGeometry() override;
216 void Highlight(
int highlight) override;
238 void RegisterPickers() override;
252 double LastPickPosition[3];
253 double LastEventPosition[3];
257 void Translate(
double *p1,
double *p2);
258 void Scale(
double *p1,
double *p2,
double eventPos[2]);
259 void MoveFocus(
double *p1,
double *p2);
271 void MoveFocusRequest(
double *p1,
double *p2,
272 double eventPos[2],
double requestedDisplayPos[3] );
278 void CreateDefaultProperties();
282 int DetermineConstraintAxis(
int constraint,
double *x,
double *startPoint);
283 int WaitingForMotion;
287 double CurrentHandleSize;