26 #ifndef vtkBoundedPlanePointPlacer_h 27 #define vtkBoundedPlanePointPlacer_h 29 #include "vtkInteractionWidgetsModule.h" 60 vtkSetClampMacro(ProjectionNormal,
int,
63 vtkGetMacro(ProjectionNormal,
int);
80 vtkGetObjectMacro( ObliquePlane,
vtkPlane );
91 void SetProjectionPosition(
double position);
92 vtkGetMacro(ProjectionPosition,
double);
104 void AddBoundingPlane(
vtkPlane *plane);
105 void RemoveBoundingPlane(
vtkPlane *plane);
106 void RemoveAllBoundingPlanes();
109 void SetBoundingPlanes(
vtkPlanes *planes);
135 double displayPos[2],
137 double worldOrient[9] ) VTK_OVERRIDE;
146 double displayPos[2],
147 double refWorldPos[3],
149 double worldOrient[9] ) VTK_OVERRIDE;
162 double worldOrient[9]) VTK_OVERRIDE;
174 double worldOrient[9] ) VTK_OVERRIDE;
185 int ProjectionNormal;
189 double ProjectionPosition;
200 void GetProjectionNormal(
double normal[3] );
204 void GetProjectionOrigin(
double origin[3] );
208 void GetCurrentOrientation(
double worldOrient[9] );
213 static
double GetDistanceFromObject(
double pos[3],
215 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...
void SetProjectionNormalToXAxis()
Set the projection normal to lie along the x, y, or z axis, or to be oblique.
maintain a list of planes
implicit function for convex set of planes
abstract specification for renderers
a placer that constrains a handle to a finite plane
void SetProjectionNormalToZAxis()
Set the projection normal to lie along the x, y, or z axis, or to be oblique.
a simple class to control print indentation
Abstract interface to translate 2D display positions to world coordinates.
perform various plane computations
void SetProjectionNormalToOblique()
Set the projection normal to lie along the x, y, or z axis, or to be oblique.
virtual int UpdateWorldPosition(vtkRenderer *ren, double worldPos[3], double worldOrient[9])
Given a current renderer, world position and orientation, update them according to the constraints of...
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 SetProjectionNormalToYAxis()
Set the projection normal to lie along the x, y, or z axis, or to be oblique.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.