41 #ifndef vtkCellCentersPointPlacer_h 42 #define vtkCellCentersPointPlacer_h 44 #include "vtkInteractionWidgetsModule.h" 71 virtual void AddProp(
vtkProp * );
72 virtual void RemoveViewProp(
vtkProp *prop);
73 virtual void RemoveAllProps();
75 int GetNumberOfProps();
88 double worldOrient[9] )
override;
98 double refWorldPos[3],
100 double worldOrient[9] )
override;
118 double worldOrient[9] )
override;
134 vtkSetMacro( Mode,
int );
135 vtkGetMacro( Mode,
int );
140 ParametricCenter = 0,
abstract superclass for all actors, volumes and annotations
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...
abstract specification for renderers
vtkCellPicker * CellPicker
Snaps points at the center of a cell.
a simple class to control print indentation
virtual int ValidateDisplayPosition(vtkRenderer *, double displayPos[2])
Given a display position, check the validity of this position.
Abstract interface to translate 2D display positions to world coordinates.
vtkPropCollection * PickProps
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.
ray-cast cell picker for all kinds of Prop3Ds
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.