58 #ifndef vtkAbstractPicker_h
59 #define vtkAbstractPicker_h
62 #include "vtkRenderingCoreModule.h"
86 vtkGetVectorMacro(SelectionPoint,
double, 3);
93 vtkGetVectorMacro(PickPosition,
double, 3);
103 double selectionX,
double selectionY,
double selectionZ,
vtkRenderer* renderer) = 0;
112 return this->Pick(selectionPt[0], selectionPt[1], selectionPt[2], ren);
122 vtkErrorMacro(
"Pick3DPoint called without implementation");
133 vtkErrorMacro(
"Pick3DRay called without implementation");
151 void InitializePickList();
172 virtual void Initialize();
175 double SelectionPoint[3];
176 double PickPosition[3];
abstract superclass for all actors, volumes and annotations
abstract base class for most VTK objects
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.
abstract specification for renderers
virtual int Pick3DPoint(double[3], vtkRenderer *)
Perform pick operation with selection point provided.
a simple class to control print indentation
virtual int Pick3DRay(double[3], double[4], vtkRenderer *)
Perform pick operation with selection point and orientation provided.
define API for picking subclasses
vtkPropCollection * PickList
int Pick(double selectionPt[3], vtkRenderer *ren)
provided.