46 #ifndef vtkAbstractPicker_h
47 #define vtkAbstractPicker_h
50 #include "vtkRenderingCoreModule.h"
53 VTK_ABI_NAMESPACE_BEGIN
76 vtkGetVectorMacro(SelectionPoint,
double, 3);
83 vtkGetVectorMacro(PickPosition,
double, 3);
93 double selectionX,
double selectionY,
double selectionZ,
vtkRenderer* renderer) = 0;
102 return this->Pick(selectionPt[0], selectionPt[1], selectionPt[2], ren);
112 vtkErrorMacro(
"Pick3DPoint called without implementation");
124 vtkErrorMacro(
"Pick3DRay called without implementation");
142 void InitializePickList();
163 virtual void Initialize();
166 double SelectionPoint[3];
167 double PickPosition[3];
178 VTK_ABI_NAMESPACE_END
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.
int Pick(VTK_FUTURE_CONST double selectionPt[3], vtkRenderer *ren)
provided.
vtkPropCollection * GetPickList()
Return the list of actors in the PickList.
abstract specification for renderers
virtual int Pick3DRay(VTK_FUTURE_CONST double[3], VTK_FUTURE_CONST double[4], vtkRenderer *)
Perform pick operation with selection point and orientation provided.
a simple class to control print indentation
virtual int Pick3DPoint(VTK_FUTURE_CONST double[3], vtkRenderer *)
Perform pick operation with selection point provided.
define API for picking subclasses
vtkPropCollection * PickList