41 #ifndef vtkPointPlacer_h
42 #define vtkPointPlacer_h
44 #include "vtkInteractionWidgetsModule.h"
75 double worldOrient[9] );
86 double refWorldPos[3],
88 double worldOrient[9] );
106 double worldOrient[9] );
121 double worldOrient[9] );
132 double worldPos[3],
vtkIdType nodePointId);
145 vtkSetClampMacro(PixelTolerance,
int,1,100);
146 vtkGetMacro(PixelTolerance,
int);
155 vtkGetMacro(WorldTolerance,
double);
a simple class to control print indentation
abstract base class for most VTK objects
Abstract interface to translate 2D display positions to world coordinates.
virtual int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double refWorldPos[3], double worldPos[3], double worldOrient[9])
Given a renderer, a display position, and a reference world position, compute the new world position ...
static vtkPointPlacer * New()
Instantiate this class.
virtual int UpdateInternalState()
Called by the representation to give the placer a chance to update itself.
virtual int UpdateNodeWorldPosition(double worldPos[3], vtkIdType nodePointId)
Give the placer a chance to update the node information, if any.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int ValidateDisplayPosition(vtkRenderer *, double displayPos[2])
Given a display position, check the validity of this position.
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...
virtual int ValidateWorldPosition(double worldPos[3], double worldOrient[9])
Given a world position and a world orientation, validate it according to the constraints of the place...
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...
abstract specification for renderers