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