Go to the documentation of this file.
28 #ifndef vtkBoundedPlanePointPlacer_h
29 #define vtkBoundedPlanePointPlacer_h
122 double displayPos[2],
124 double worldOrient[9] );
132 double displayPos[2],
133 double refWorldPos[3],
135 double worldOrient[9] );
146 double worldOrient[9]);
155 double worldOrient[9] );
197 double closestPt[3]);
perform various plane computations
#define vtkGetObjectMacro(name, type)
a placer that constrains a handle to a finite plane
void PrintSelf(ostream &os, vtkIndent indent)
double ProjectionPosition
vtkPlaneCollection * BoundingPlanes
Abstract interface to translate 2D display positions to world coordinates.
~vtkBoundedPlanePointPlacer()
void RemoveBoundingPlane(vtkPlane *plane)
vtkBoundedPlanePointPlacer()
void SetProjectionNormalToOblique()
int ValidateWorldPosition(double worldPos[3], double worldOrient[9])
static double GetDistanceFromObject(double pos[3], vtkPlaneCollection *pc, double closestPt[3])
#define vtkTypeMacro(thisClass, superclass)
implicit function for convex set of planes
void SetBoundingPlanes(vtkPlanes *planes)
void RemoveAllBoundingPlanes()
#define vtkSetClampMacro(name, type, min, max)
void SetProjectionPosition(double position)
virtual void SetBoundingPlanes(vtkPlaneCollection *)
void SetProjectionNormalToXAxis()
a simple class to control print indentation
void GetProjectionOrigin(double origin[3])
virtual int UpdateWorldPosition(vtkRenderer *ren, double worldPos[3], double worldOrient[9])
#define vtkGetMacro(name, type)
static vtkBoundedPlanePointPlacer * New()
virtual int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double refWorldPos[3], double worldPos[3], double worldOrient[9])
void GetCurrentOrientation(double worldOrient[9])
void SetObliquePlane(vtkPlane *)
abstract specification for renderers
void GetProjectionNormal(double normal[3])
void SetProjectionNormalToZAxis()
void SetProjectionNormalToYAxis()
void AddBoundingPlane(vtkPlane *plane)
int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double worldPos[3], double worldOrient[9])
maintain a list of planes
int ValidateWorldPosition(double worldPos[3])