Go to the documentation of this file.
28 #ifndef vtkClosedSurfacePointPlacer_h
29 #define vtkClosedSurfacePointPlacer_h
31 #include "vtkInteractionWidgetsModule.h"
89 double worldOrient[9] )
override;
103 double displayPos[2],
104 double refWorldPos[2],
106 double worldOrient[9] )
override;
119 double worldOrient[9])
override;
125 vtkGetMacro( MinimumDistance,
double );
140 double closestPt[3]);
static double GetDistanceFromObject(double pos[3], vtkPlaneCollection *pc, double closestPt[3])
perform various plane computations
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Abstract interface to translate 2D display positions to world coordinates.
vtkPlaneCollection * BoundingPlanes
int ValidateWorldPosition(double worldPos[3]) override
Give a world position check if it is valid - does it lie on the plane and within the bounds?...
void RemoveAllBoundingPlanes()
implicit function for convex set of planes
int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double refWorldPos[2], double worldPos[3], double worldOrient[9]) override
Given a renderer, a display position and a reference position, "worldPos" is calculated as : Consider...
static vtkClosedSurfacePointPlacer * New()
Instantiate this class.
virtual void SetBoundingPlanes(vtkPlaneCollection *)
int ValidateWorldPosition(double worldPos[3], double worldOrient[9]) override
Given a world position and a world orientation, validate it according to the constraints of the place...
a simple class to control print indentation
~vtkClosedSurfacePointPlacer() override
vtkClosedSurfacePointPlacer()
int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double worldPos[3], double worldOrient[9]) override
Given a renderer and a display position, compute the world position and world orientation for this po...
vtkPlaneCollection * InnerBoundingPlanes
void AddBoundingPlane(vtkPlane *plane)
A collection of plane equations used to bound the position of the point.
abstract specification for renderers
void RemoveBoundingPlane(vtkPlane *plane)
PointPlacer to constrain validity within a set of convex planes.
maintain a list of planes
void SetBoundingPlanes(vtkPlanes *planes)