28 #ifndef __vtkBoundedPlanePointPlacer_h
29 #define __vtkBoundedPlanePointPlacer_h
55 vtkSetClampMacro(ProjectionNormal,
int,
58 vtkGetMacro(ProjectionNormal,
int);
78 void SetProjectionPosition(
double position);
79 vtkGetMacro(ProjectionPosition,
double);
89 void AddBoundingPlane(
vtkPlane *plane);
90 void RemoveBoundingPlane(
vtkPlane *plane);
91 void RemoveAllBoundingPlanes();
94 void SetBoundingPlanes(
vtkPlanes *planes);
118 double displayPos[2],
120 double worldOrient[9] );
128 double displayPos[2],
129 double refWorldPos[3],
131 double worldOrient[9] );
142 double worldOrient[9]);
151 double worldOrient[9] );
178 void GetProjectionNormal(
double normal[3] );
182 void GetProjectionOrigin(
double origin[3] );
186 void GetCurrentOrientation(
double worldOrient[9] );
191 static double GetDistanceFromObject(
double pos[3],
193 double closestPt[3]);
virtual int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double worldPos[3], double worldOrient[9])
void SetProjectionNormalToXAxis()
double ProjectionPosition
maintain a list of planes
implicit function for convex set of planes
abstract specification for renderers
void PrintSelf(ostream &os, vtkIndent indent)
a placer that constrains a handle to a finite plane
void SetProjectionNormalToZAxis()
a simple class to control print indentation
Abstract interface to translate 2D display positions to world coordinates.
perform various plane computations
void SetProjectionNormalToOblique()
virtual int UpdateWorldPosition(vtkRenderer *ren, double worldPos[3], double worldOrient[9])
virtual int ValidateWorldPosition(double worldPos[3])
static vtkPointPlacer * New()
void SetProjectionNormalToYAxis()
vtkPlaneCollection * BoundingPlanes