39 #ifndef __vtkConstrainedPointHandleRepresentation_h
40 #define __vtkConstrainedPointHandleRepresentation_h
42 #include "vtkInteractionWidgetsModule.h"
81 void SetActiveCursorShape(
vtkPolyData *activeShape);
89 vtkSetClampMacro(ProjectionNormal,
int,
92 vtkGetMacro(ProjectionNormal,
int);
95 void SetProjectionNormalToXAxis()
97 void SetProjectionNormalToYAxis()
99 void SetProjectionNormalToZAxis()
101 void SetProjectionNormalToOblique()
108 vtkGetObjectMacro(ObliquePlane,
vtkPlane);
116 void SetProjectionPosition(
double position);
117 vtkGetMacro(ProjectionPosition,
double);
127 void AddBoundingPlane(
vtkPlane *plane);
128 void RemoveBoundingPlane(
vtkPlane *plane);
129 void RemoveAllBoundingPlanes();
132 void SetBoundingPlanes(
vtkPlanes *planes);
144 void SetPosition(
double x,
double y,
double z);
145 void SetPosition(
double xyz[3]);
146 double* GetPosition();
147 void GetPosition(
double xyz[3]);
214 double LastPickPosition[3];
215 double LastEventPosition[2];
218 void Translate(
double eventPos[2]);
219 void Scale(
double eventPos[2]);
227 void CreateDefaultProperties();
238 int GetIntersectionPosition(
double eventPos[2],
240 double tolerance = 0.0,
244 void GetProjectionNormal(
double normal[3] );
248 void GetProjectionOrigin(
double origin[3] );
254 double InteractionOffset[2];