31 #ifndef __FWRENDERVTK_VTK_FWVTKCELLPICKER_HPP__ 32 #define __FWRENDERVTK_VTK_FWVTKCELLPICKER_HPP__ 34 #include "fwRenderVTK/config.hpp" 35 #include "fwRenderVTK/vtk/fwVtkPicker.hpp" 37 #include <fwMath/IntrasecTypes.hpp> 49 void PrintSelf(ostream& os, vtkIndent indent)
override;
53 vtkGetMacro(CellId, vtkIdType);
57 vtkGetMacro(SubId,
int);
62 vtkGetVectorMacro(PCoords,
double, 3);
64 typedef std::vector< std::pair<int, fwVec3d> > PickedCellType;
66 FWRENDERVTK_API PickedCellType GetPickedCellIds(
double p1[3],
double p2[3], vtkPolyData *polydata);
76 virtual double IntersectWithLine(
double p1[3],
double p2[3],
double tol,
77 vtkAssemblyPath *path, vtkProp3D *p,
78 vtkAbstractMapper3D *m)
override;
79 void Initialize()
override;
89 #endif // __FWRENDERVTK_VTK_FWVTKCELLPICKER_HPP__