33 #ifndef vtkPropPicker_h 34 #define vtkPropPicker_h 36 #include "vtkRenderingCoreModule.h" 56 int PickProp(
double selectionX,
double selectionY,
vtkRenderer *renderer);
62 int PickProp(
double selectionX,
double selectionY,
vtkRenderer *renderer,
68 int Pick(
double selectionX,
double selectionY,
double selectionZ,
71 {
return this->
Pick( selectionPt[0],
72 selectionPt[1], selectionPt[2], renderer); }
87 int PickProp3DPoint(
double pos[3],
vtkRenderer *renderer);
93 int PickProp3DPoint(
double pos[3],
vtkRenderer *renderer,
99 virtual int PickProp3DRay(
double selectionPt[3],
double eventWorldOrientation[4],
abstract superclass for all actors, volumes and annotations
pick an actor/prop using graphics hardware
abstract specification for renderers
virtual int Pick3DPoint(double[3], vtkRenderer *)
Perform pick operation with selection point provided.
void Initialize() override
vtkPropCollection * PickFromProps
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int Pick(double selectionPt[3], vtkRenderer *renderer)
abstract API for pickers that can pick an instance of vtkProp
virtual int Pick(double selectionX, double selectionY, double selectionZ, vtkRenderer *renderer)=0
Perform pick operation with selection point provided.
virtual int Pick3DRay(double[3], double[4], vtkRenderer *)
Perform pick operation with selection point and orientation provided.
vtkWorldPointPicker * WorldPointPicker
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
find world x,y,z corresponding to display x,y,z