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;
247 double LastPickPosition[3];
248 double LastEventPosition[3];
251 void RegisterPickers() override;
255 void Translate(
double *p1,
double *p2);
256 void Scale(
double *p1,
double *p2,
double eventPos[2]);
257 void MoveFocus(
double *p1,
double *p2);
269 void MoveFocusRequest(
double *p1,
double *p2,
270 double eventPos[2],
double requestedDisplayPos[3] );
276 void CreateDefaultProperties();
280 int DetermineConstraintAxis(
int constraint,
double *x,
double *startPoint);
281 int WaitingForMotion;
285 double CurrentHandleSize;
abstract superclass for all actors, volumes and annotations
virtual void SetWorldPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
represents an object (geometry & properties) in a rendered scene
abstract class for representing widget handles
represent the position of a point in 3D space
abstract specification for Viewports
represent surface properties of a geometric object
void AllOn()
Convenience methods to turn outline and shadows on and off.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
void SetYShadows(int o)
Turn on/off the wireframe y-shadows.
window superclass for vtkRenderWindow
platform-independent render window interaction including picking and frame rate control.
void SetZShadows(int o)
Turn on/off the wireframe z-shadows.
void SetOutline(int o)
Turn on/off the wireframe bounding box.
a simple class to control print indentation
#define VTK_SIZEHINT(...)
map vtkPolyData to graphics primitives
void AllOff()
Convenience methods to turn outline and shadows on and off.
ray-cast cell picker for all kinds of Prop3Ds
generate a 3D cursor representation
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void SetXShadows(int o)
Turn on/off the wireframe x-shadows.
virtual void SetDisplayPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...