16#ifndef vtkClosedSurfacePointPlacer_h 
   17#define vtkClosedSurfacePointPlacer_h 
   19#include "vtkInteractionWidgetsModule.h"  
   22VTK_ABI_NAMESPACE_BEGIN
 
   76    vtkRenderer* ren, 
double displayPos[2], 
double worldPos[3], 
double worldOrient[9]) 
override;
 
   90    double worldPos[3], 
double worldOrient[9]) 
override;
 
  108  vtkGetMacro(MinimumDistance, 
double);
 
PointPlacer to constrain validity within a set of convex planes.
 
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...
 
void AddBoundingPlane(vtkPlane *plane)
A collection of plane equations used to bound the position of the point.
 
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...
 
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?...
 
vtkPlaneCollection * InnerBoundingPlanes
 
void RemoveBoundingPlane(vtkPlane *plane)
A collection of plane equations used to bound the position of the point.
 
void RemoveAllBoundingPlanes()
A collection of plane equations used to bound the position of the point.
 
virtual void SetBoundingPlanes(vtkPlaneCollection *)
A collection of plane equations used to bound the position of the point.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
 
void SetBoundingPlanes(vtkPlanes *planes)
A collection of plane equations used to bound the position of the point.
 
vtkPlaneCollection * BoundingPlanes
 
static double GetDistanceFromObject(double pos[3], vtkPlaneCollection *pc, double closestPt[3])
 
static vtkClosedSurfacePointPlacer * New()
Instantiate this class.
 
int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double refWorldPos[3], double worldPos[3], double worldOrient[9]) override
Given a renderer, a display position and a reference position, "worldPos" is calculated as : Consider...
 
vtkClosedSurfacePointPlacer()
 
~vtkClosedSurfacePointPlacer() override
 
a simple class to control print indentation
 
maintain a list of planes
 
perform various plane computations
 
implicit function for convex set of planes
 
Abstract interface to translate 2D display positions to world coordinates.
 
abstract specification for renderers