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_ */
lvr2::ICPPointAlign::getEpsilon
double getEpsilon() const
Definition: ICPPointAlign.cpp:166
lvr2::ICPPointAlign::setMaxLeafSize
void setMaxLeafSize(int maxLeafSize)
Definition: ICPPointAlign.cpp:137
lvr2::ICPPointAlign::m_maxDistanceMatch
double m_maxDistanceMatch
Definition: ICPPointAlign.hpp:84
lvr2::ICPPointAlign::m_modelCloud
SLAMScanPtr m_modelCloud
Definition: ICPPointAlign.hpp:90
lvr2::ICPPointAlign::m_maxIterations
int m_maxIterations
Definition: ICPPointAlign.hpp:85
lvr2::ICPPointAlign::getMaxIterations
int getMaxIterations() const
Definition: ICPPointAlign.cpp:156
lvr2::ICPPointAlign::m_searchTree
KDTreePtr m_searchTree
Definition: ICPPointAlign.hpp:93
lvr2::Transformd
Transform< double > Transformd
4x4 double precision transformation matrix
Definition: MatrixTypes.hpp:71
lvr2::ICPPointAlign::getVerbose
bool getVerbose() const
Definition: ICPPointAlign.cpp:171
lvr2::ICPPointAlign::~ICPPointAlign
virtual ~ICPPointAlign()=default
SLAMScanWrapper.hpp
lvr2::ICPPointAlign::m_epsilon
double m_epsilon
Definition: ICPPointAlign.hpp:83
lvr2::ICPPointAlign::setVerbose
void setVerbose(bool verbose)
Definition: ICPPointAlign.cpp:146
lvr2::ICPPointAlign::setEpsilon
void setEpsilon(double epsilon)
Definition: ICPPointAlign.cpp:142
lvr2::ICPPointAlign::ICPPointAlign
ICPPointAlign(SLAMScanPtr model, SLAMScanPtr data)
Construct a new ICPPointAlign object. Data is transformed to match Model.
Definition: ICPPointAlign.cpp:46
lvr2::ICPPointAlign::getMaxMatchDistance
double getMaxMatchDistance() const
Definition: ICPPointAlign.cpp:151
lvr2::ICPPointAlign::m_maxLeafSize
int m_maxLeafSize
Definition: ICPPointAlign.hpp:86
lvr2::ICPPointAlign::m_verbose
bool m_verbose
Definition: ICPPointAlign.hpp:88
lvr2::KDTreePtr
std::shared_ptr< KDTree > KDTreePtr
Definition: KDTree.hpp:135
lvr2::ICPPointAlign::getMaxLeafSize
int getMaxLeafSize() const
Definition: ICPPointAlign.cpp:161
KDTree.hpp
MatrixTypes.hpp
lvr2::SLAMScanPtr
std::shared_ptr< SLAMScanWrapper > SLAMScanPtr
Definition: SLAMScanWrapper.hpp:221
lvr2::ICPPointAlign
A class to align two Scans with ICP.
Definition: ICPPointAlign.hpp:49
lvr2::ICPPointAlign::m_dataCloud
SLAMScanPtr m_dataCloud
Definition: ICPPointAlign.hpp:91
lvr2::ICPPointAlign::setMaxMatchDistance
void setMaxMatchDistance(double distance)
Definition: ICPPointAlign.cpp:127
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::ICPPointAlign::setMaxIterations
void setMaxIterations(int iterations)
Definition: ICPPointAlign.cpp:132
lvr2::ICPPointAlign::match
Transformd match()
Executes the ICPAlign.
Definition: ICPPointAlign.cpp:58


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 Wed Mar 2 2022 00:37:23