ICPPointAlign.hpp
Go to the documentation of this file.
1 
34 #ifndef ICPPOINTALIGN_HPP_
35 #define ICPPOINTALIGN_HPP_
36 
37 #include "KDTree.hpp"
38 #include "SLAMScanWrapper.hpp"
39 
41 
42 namespace lvr2
43 {
44 
50 {
51 public:
59 
65  Transformd match();
66 
67  virtual ~ICPPointAlign() = default;
68 
69  void setMaxMatchDistance(double distance);
70  void setMaxIterations(int iterations);
71  void setMaxLeafSize(int maxLeafSize);
72  void setEpsilon(double epsilon);
73  void setVerbose(bool verbose);
74 
75  double getMaxMatchDistance() const;
76  int getMaxIterations() const;
77  int getMaxLeafSize() const;
78  double getEpsilon() const;
79  bool getVerbose() const;
80 
81 protected:
82 
83  double m_epsilon;
87 
88  bool m_verbose;
89 
92 
94 };
95 
96 } /* namespace lvr2 */
97 
98 #endif /* ICPPOINTALIGN_HPP_ */
void setMaxMatchDistance(double distance)
SLAMScanPtr m_dataCloud
void setMaxLeafSize(int maxLeafSize)
virtual ~ICPPointAlign()=default
Transform< double > Transformd
4x4 double precision transformation matrix
Definition: MatrixTypes.hpp:71
std::shared_ptr< KDTree > KDTreePtr
Definition: KDTree.hpp:135
double getEpsilon() const
int getMaxLeafSize() const
ICPPointAlign(SLAMScanPtr model, SLAMScanPtr data)
Construct a new ICPPointAlign object. Data is transformed to match Model.
void setEpsilon(double epsilon)
double getMaxMatchDistance() const
std::shared_ptr< SLAMScanWrapper > SLAMScanPtr
bool getVerbose() const
Transformd match()
Executes the ICPAlign.
void setVerbose(bool verbose)
A class to align two Scans with ICP.
void setMaxIterations(int iterations)
int getMaxIterations() const
SLAMScanPtr m_modelCloud


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:06