Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef GUILIB_SRC_CLOUDVIEWERCELLPICKER_H_
00009 #define GUILIB_SRC_CLOUDVIEWERCELLPICKER_H_
00010
00011 #include "rtabmap/gui/RtabmapGuiExp.h"
00012
00013 #include <vtkCellPicker.h>
00014
00015 namespace rtabmap {
00016
00017 class RTABMAPGUI_EXP CloudViewerCellPicker : public vtkCellPicker {
00018 public:
00019 public:
00020 static CloudViewerCellPicker *New ();
00021 vtkTypeMacro(CloudViewerCellPicker, vtkCellPicker);
00022 CloudViewerCellPicker();
00023 virtual ~CloudViewerCellPicker();
00024
00025 protected:
00026
00027 virtual double IntersectActorWithLine(const double p1[3],
00028 const double p2[3],
00029 double t1, double t2,
00030 double tol,
00031 vtkProp3D *prop,
00032 vtkMapper *mapper);
00033
00034 private:
00035 vtkGenericCell * cell_;
00036 vtkIdList * pointIds_;
00037 };
00038
00039 }
00040
00041 #endif