Go to the documentation of this file.
58 #ifndef vtkAbstractPicker_h
59 #define vtkAbstractPicker_h
61 #include "vtkRenderingCoreModule.h"
86 vtkGetVectorMacro(SelectionPoint,
double,3);
93 vtkGetVectorMacro(PickPosition,
double,3);
102 virtual int Pick(
double selectionX,
double selectionY,
double selectionZ,
111 {
return this->Pick(selectionPt[0],selectionPt[1],selectionPt[2],ren);};
119 { vtkErrorMacro(
"Pick3DPoint called without implementation");
return 0;};
127 { vtkErrorMacro(
"Pick3DRay called without implementation");
return 0;};
167 double SelectionPoint[3];
168 double PickPosition[3];
void AddPickList(vtkProp *)
Add an actor to the pick list.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPropCollection * GetPickList()
Return the list of actors in the PickList.
int Pick(double selectionPt[3], vtkRenderer *ren)
provided.
virtual int Pick3DPoint(double[3], vtkRenderer *)
Perform pick operation with selection point provided.
abstract base class for most VTK objects
define API for picking subclasses
virtual void Initialize()
a simple class to control print indentation
virtual int Pick3DRay(double[3], double[4], vtkRenderer *)
Perform pick operation with selection point and orientation provided.
abstract superclass for all actors, volumes and annotations
abstract specification for renderers
void DeletePickList(vtkProp *)
Delete an actor from the pick list.
void InitializePickList()
Initialize list of actors in pick list.
~vtkAbstractPicker() override
vtkPropCollection * PickList
virtual int Pick(double selectionX, double selectionY, double selectionZ, vtkRenderer *renderer)=0
Perform pick operation with selection point provided.