Metascan.hpp
Go to the documentation of this file.
1 
34 #ifndef METASCAN_HPP_
35 #define METASCAN_HPP_
36 
37 #include "SLAMScanWrapper.hpp"
38 
39 namespace lvr2
40 {
41 
47 class Metascan : public SLAMScanWrapper
48 {
49 public:
50  Metascan();
51 
52  virtual ~Metascan() = default;
53 
54  virtual void transform(const Transformd& transform, bool writeFrame = true, FrameUse use = FrameUse::UPDATED) override;
55  virtual Vector3d point(size_t index) const override;
56 
57  void addScan(SLAMScanPtr scan);
58 
59 protected:
60  std::vector<SLAMScanPtr> m_scans;
61 };
62 
63 } /* namespace lvr2 */
64 
65 #endif /* METASCAN_HPP_ */
void addScan(SLAMScanPtr scan)
Definition: Metascan.cpp:72
virtual Vector3d point(size_t index) const override
Returns the Point at the specified index in global Coordinates.
Definition: Metascan.cpp:59
virtual void transform(const Transformd &transform, bool writeFrame=true, FrameUse use=FrameUse::UPDATED) override
Applies a relative Transformation to the Scan.
Definition: Metascan.cpp:45
The Scan changed since the last Frame.
Eigen::Vector3d Vector3d
Eigen 3D vector, double precision.
Transform< double > Transformd
4x4 double precision transformation matrix
Definition: MatrixTypes.hpp:71
A Wrapper around Scan to allow for SLAM usage.
virtual ~Metascan()=default
std::vector< SLAMScanPtr > m_scans
Definition: Metascan.hpp:60
Represents several Scans as part of a single Scan.
Definition: Metascan.hpp:47
std::shared_ptr< SLAMScanWrapper > SLAMScanPtr
void writeFrame(const Transform< T > &transform, const boost::filesystem::path &framesOut)
Writes a Eigen transformation into a .frames file.
FrameUse
Annotates the use of a Scan when creating an slam6D .frames file.


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:08