39 #ifndef __vtkConstrainedPointHandleRepresentation_h
40 #define __vtkConstrainedPointHandleRepresentation_h
42 #include "vtkInteractionWidgetsModule.h"
47 class vtkPolyDataMapper;
66 void PrintSelf(ostream& os, vtkIndent indent);
81 void SetActiveCursorShape(
vtkPolyData *activeShape);
89 vtkSetClampMacro(ProjectionNormal,
int,
92 vtkGetMacro(ProjectionNormal,
int);
107 void SetObliquePlane(vtkPlane *);
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]);
153 vtkGetObjectMacro(Property,vtkProperty);
159 vtkGetObjectMacro(SelectedProperty,vtkProperty);
165 vtkGetObjectMacro(ActiveProperty,vtkProperty);
185 virtual void GetActors(vtkPropCollection *);
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,
241 vtkRenderer *renderer=0);
244 void GetProjectionNormal(
double normal[3] );
248 void GetProjectionOrigin(
double origin[3] );
254 double InteractionOffset[2];
virtual void SetRenderer(vtkRenderer *ren)
void SetProjectionNormalToOblique()
abstract class for representing widget handles
vtkProperty * SelectedProperty
void SetProjectionNormalToZAxis()
vtkPolyData * CursorShape
maintain a list of planes
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkPolyData * ActiveCursorShape
vtkPolyDataMapper * Mapper
virtual void ShallowCopy(vtkProp *prop)
vtkProperty * ActiveProperty
virtual int CheckConstraint(vtkRenderer *renderer, double pos[2])
copy oriented and scaled glyph geometry to every input point
void SetProjectionNormalToYAxis()
vtkPlaneCollection * BoundingPlanes
void PrintSelf(ostream &os, vtkIndent indent)
double ProjectionPosition
void SetProjectionNormalToXAxis()
point representation constrained to a 2D plane
virtual void SetDisplayPosition(double pos[3])