29#ifndef vtkCellCentersPointPlacer_h
30#define vtkCellCentersPointPlacer_h
32#include "vtkInteractionWidgetsModule.h"
35VTK_ABI_NAMESPACE_BEGIN
75 vtkRenderer* ren,
double displayPos[2],
double worldPos[3],
double worldOrient[9])
override;
84 double worldPos[3],
double worldOrient[9])
override;
117 vtkSetMacro(Mode,
int);
118 vtkGetMacro(Mode,
int);
123 ParametricCenter = 0,
Snaps points at the center of a cell.
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 world position, compute the new world position ...
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...
vtkTypeBool HasProp(vtkProp *)
vtkCellCentersPointPlacer()
virtual void RemoveViewProp(vtkProp *prop)
virtual void RemoveAllProps()
int ValidateDisplayPosition(vtkRenderer *, double displayPos[2]) override
Given a display position, check the validity of this position.
vtkPropCollection * PickProps
virtual void AddProp(vtkProp *)
int ValidateWorldPosition(double worldPos[3]) override
Given a world position check the validity of this position according to the constraints of the placer...
vtkCellPicker * CellPicker
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double worldPos[3], double worldOrient[9]) override
Given a renderer and a display position in pixel coordinates, compute the world position and orientat...
static vtkCellCentersPointPlacer * New()
Instantiate this class.
~vtkCellCentersPointPlacer() override
ray-cast cell picker for all kinds of Prop3Ds
a simple class to control print indentation
Abstract interface to translate 2D display positions to world coordinates.
abstract superclass for all actors, volumes and annotations
abstract specification for renderers