CloudViewerCellPicker.h
Go to the documentation of this file.
1 /*
2  * CloudViewerCellPicker.h
3  *
4  * Created on: Aug 21, 2018
5  * Author: mathieu
6  */
7 
8 #ifndef GUILIB_SRC_CLOUDVIEWERCELLPICKER_H_
9 #define GUILIB_SRC_CLOUDVIEWERCELLPICKER_H_
10 
11 #include "rtabmap/gui/rtabmap_gui_export.h" // DLL export/import defines
12 
13 #include <vtkCellPicker.h>
14 
15 namespace rtabmap {
16 
17 class RTABMAP_GUI_EXPORT CloudViewerCellPicker : public vtkCellPicker {
18 public:
19 public:
20  static CloudViewerCellPicker *New ();
21  vtkTypeMacro(CloudViewerCellPicker, vtkCellPicker);
23  virtual ~CloudViewerCellPicker();
24 
25 protected:
26  // overrided to ignore back faces
27  virtual double IntersectActorWithLine(const double p1[3],
28  const double p2[3],
29  double t1, double t2,
30  double tol,
31  vtkProp3D *prop,
32  vtkMapper *mapper);
33 
34 private:
35  vtkGenericCell * cell_; //used to accelerate picking
36  vtkIdList * pointIds_; // used to accelerate picking
37 };
38 
39 } /* namespace rtabmap */
40 
41 #endif /* GUILIB_SRC_CLOUDVIEWERCELLPICKER_H_ */
rtabmap::CloudViewerCellPicker::cell_
vtkGenericCell * cell_
Definition: CloudViewerCellPicker.h:35
rtabmap::CloudViewerCellPicker
Definition: CloudViewerCellPicker.h:17
p2
p2
p1
Vector3f p1
rtabmap::CloudViewerCellPicker::pointIds_
vtkIdList * pointIds_
Definition: CloudViewerCellPicker.h:36
tol
const G double tol
rtabmap
Definition: CameraARCore.cpp:35


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:08