41 #ifndef __FWRENDERVTK_VTK_FWVTKPICKER_HPP__ 42 #define __FWRENDERVTK_VTK_FWVTKPICKER_HPP__ 44 #include "fwRenderVTK/config.hpp" 46 #include <vtkPicker.h> 48 class vtkAbstractMapper3D;
51 class vtkActorCollection;
52 class vtkProp3DCollection;
53 class vtkPropCollection;
63 void PrintSelf(ostream& os, vtkIndent indent)
override;
70 FWRENDERVTK_API
virtual int Pick(
double selectionX,
double selectionY,
double selectionZ,
71 vtkRenderer* renderer)
override;
73 FWRENDERVTK_API
int PickPolyData(
double p1[3],
double p2[3], vtkPolyData *polydata);
74 FWRENDERVTK_API
int Pick(
double p1[3],
double p2[3], vtkPropCollection *props);
79 int Pick(
double selectionPt[3], vtkRenderer* ren)
81 return this->Pick(selectionPt[0], selectionPt[1], selectionPt[2], ren);
93 #endif //__FWRENDERVTK_VTK_FWVTKPICKER_HPP__