28 #ifndef vtkClosedSurfacePointPlacer_h 29 #define vtkClosedSurfacePointPlacer_h 31 #include "vtkInteractionWidgetsModule.h" 64 void AddBoundingPlane(
vtkPlane *plane);
65 void RemoveBoundingPlane(
vtkPlane *plane);
66 void RemoveAllBoundingPlanes();
69 void SetBoundingPlanes(
vtkPlanes *planes);
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 );
138 static double GetDistanceFromObject(
double pos[3],
140 double closestPt[3]);
virtual int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double worldPos[3], double worldOrient[9])
Given a renderer and a display position in pixel coordinates, compute the world position and orientat...
vtkPlaneCollection * BoundingPlanes
maintain a list of planes
implicit function for convex set of planes
abstract specification for renderers
vtkPlaneCollection * InnerBoundingPlanes
a simple class to control print indentation
Abstract interface to translate 2D display positions to world coordinates.
perform various plane computations
virtual int ValidateWorldPosition(double worldPos[3])
Given a world position check the validity of this position according to the constraints of the placer...
static vtkPointPlacer * New()
Instantiate this class.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
PointPlacer to constrain validity within a set of convex planes.