descriptions/ScanProjectIO.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef LVR2_IO_HDF5_SCANPROJECTIO_HPP
4 #define LVR2_IO_HDF5_SCANPROJECTIO_HPP
5 
7 
8 #include <boost/optional.hpp>
9 #include <regex>
10 
11 // Dependencies
12 #include "ArrayIO.hpp"
13 #include "MatrixIO.hpp"
14 #include "ScanIO.hpp"
15 #include "ScanPositionIO.hpp"
16 
17 namespace lvr2
18 {
19 
48 template <typename FeatureBase>
50 {
51  public:
52  void saveScanProject(const ScanProjectPtr& scanProjectPtr);
53 
55 
56  protected:
57  FeatureBase* m_featureBase = static_cast<FeatureBase*>(this);
58  // dependencies
61 
62  // static constexpr const char* ID = "ScanProjectIO";
63  // static constexpr const char* OBJID = "ScanProject";
64 };
65 
66 template <typename FeatureBase>
68 {
69 
70  // DEPS
72 
73  // add the feature itself
74  using type = typename deps::template add_features<ScanProjectIO>::type;
75 };
76 
77 } // namespace lvr2
78 
79 #include "ScanProjectIO.tcc"
80 
81 #endif // LVR2_IO_HDF5_SCANPROJECTIO_HPP
Manager Class for all FeatureBase components located in hdf5 directory.
Definition: FeatureBase.hpp:31
Helper class how to construct a IO feature with its dependencies.
Definition: FeatureBase.hpp:20
Hdf5IO Feature for handling ScanProject related IO.
typename Derived::template add_features< Feature >::type type
typename FeatureConstruct< ScanPositionIO, FeatureBase >::type deps
std::shared_ptr< ScanProject > ScanProjectPtr
Definition: ScanTypes.hpp:344
typename deps::template add_features< ScanProjectIO >::type type
ScanProjectPtr loadScanProject()
ScanPositionIO< FeatureBase > * m_scanPositionIO
void saveScanProject(const ScanProjectPtr &scanProjectPtr)


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