39 #ifndef __vtkConstrainedPointHandleRepresentation_h
40 #define __vtkConstrainedPointHandleRepresentation_h
80 void SetActiveCursorShape(
vtkPolyData *activeShape);
88 vtkSetClampMacro(ProjectionNormal,
int,
91 vtkGetMacro(ProjectionNormal,
int);
94 void SetProjectionNormalToXAxis()
96 void SetProjectionNormalToYAxis()
98 void SetProjectionNormalToZAxis()
100 void SetProjectionNormalToOblique()
107 vtkGetObjectMacro(ObliquePlane,
vtkPlane);
115 void SetProjectionPosition(
double position);
116 vtkGetMacro(ProjectionPosition,
double);
126 void AddBoundingPlane(
vtkPlane *plane);
127 void RemoveBoundingPlane(
vtkPlane *plane);
128 void RemoveAllBoundingPlanes();
131 void SetBoundingPlanes(
vtkPlanes *planes);
143 void SetPosition(
double x,
double y,
double z);
144 void SetPosition(
double xyz[3]);
145 double* GetPosition();
146 void GetPosition(
double xyz[3]);
213 double LastPickPosition[3];
214 double LastEventPosition[2];
217 void Translate(
double eventPos[2]);
218 void Scale(
double eventPos[2]);
226 void CreateDefaultProperties();
237 int GetIntersectionPosition(
double eventPos[2],
239 double tolerance = 0.0,
243 void GetProjectionNormal(
double normal[3] );
247 void GetProjectionOrigin(
double origin[3] );
253 double InteractionOffset[2];