Go to the documentation of this file.
41 #ifndef vtkCellCentersPointPlacer_h
42 #define vtkCellCentersPointPlacer_h
44 #include "vtkInteractionWidgetsModule.h"
88 double worldOrient[9] );
98 double refWorldPos[3],
100 double worldOrient[9] );
118 double worldOrient[9] );
135 vtkGetMacro( Mode,
int );
140 ParametricCenter = 0,
Snaps points at the center of a cell.
Abstract interface to translate 2D display positions to world coordinates.
vtkCellCentersPointPlacer()
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...
vtkCellPicker * CellPicker
virtual void RemoveAllProps()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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...
a simple class to control print indentation
virtual void AddProp(vtkProp *)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
abstract superclass for all actors, volumes and annotations
abstract specification for renderers
~vtkCellCentersPointPlacer()
static vtkCellCentersPointPlacer * New()
Instantiate this class.
virtual void RemoveViewProp(vtkProp *prop)
ray-cast cell picker for all kinds of Prop3Ds
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 ...
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...