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();}
128 void SetTranslationMode(
int mode);
129 vtkGetMacro(TranslationMode,
int);
170 vtkSetClampMacro(HotSpotSize,
double,0.0,1.0);
171 vtkGetMacro(HotSpotSize,
double);
184 void BuildRepresentation() VTK_OVERRIDE;
185 void StartWidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
186 void WidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
187 int ComputeInteractionState(
int X,
int Y,
int modify=0) VTK_OVERRIDE;
188 void PlaceWidget(
double bounds[6]) VTK_OVERRIDE;
195 void ShallowCopy(
vtkProp *prop) VTK_OVERRIDE;
196 void DeepCopy(
vtkProp *prop) VTK_OVERRIDE;
198 void ReleaseGraphicsResources(
vtkWindow *) VTK_OVERRIDE;
199 int RenderOpaqueGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
200 int RenderTranslucentPolygonalGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
201 int HasTranslucentPolygonalGeometry() VTK_OVERRIDE;
204 void Highlight(
int highlight) VTK_OVERRIDE;
219 vtkGetMacro( SmoothMotion,
int );
235 double LastPickPosition[3];
236 double LastEventPosition[2];
239 void RegisterPickers() VTK_OVERRIDE;
243 void Translate(
double *p1,
double *p2);
244 void Scale(
double *p1,
double *p2,
double eventPos[2]);
245 void MoveFocus(
double *p1,
double *p2);
257 void MoveFocusRequest(
double *p1,
double *p2,
258 double eventPos[2],
double requestedDisplayPos[3] );
264 void CreateDefaultProperties();
268 int DetermineConstraintAxis(
int constraint,
double *x,
double *startPoint);
269 int WaitingForMotion;
273 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
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
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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)...