descriptions/HyperspectralCameraIO.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef LVR2_IO_HDF5_HYPERSPECTRALCAMERAIO_HPP
4 #define LVR2_IO_HDF5_HYPERSPECTRALCAMERAIO_HPP
5 
9 
10 namespace lvr2
11 {
12 
13 template <typename FeatureBase>
15 {
16 public:
17  void saveHyperspectralCamera(const size_t& scanPosNo, const HyperspectralCameraPtr &buffer);
18  void saveHyperspectralCamera(std::string &group, const HyperspectralCameraPtr &buffer);
19 
20  HyperspectralCameraPtr loadHyperspectralCamera(const size_t& scanPosNo);
21 
22 protected:
23  bool isHyperspectralCamera(std::string &path);
24 
25  FeatureBase *m_featureBase = static_cast<FeatureBase *>(this);
26 
27  // dependencies
30 
31  static constexpr const char *ID = "HyperspectralCameraIO";
32  static constexpr const char *OBJID = "HyperspectralCamera";
33 };
34 
42 template <typename FeatureBase>
44 {
45 
46  // DEPS
49  using deps = typename dep1::template Merge<dep2>;
50 
51  // ADD THE FEATURE ITSELF
52  using type = typename deps::template add_features<HyperspectralCameraIO>::type;
53 };
54 
55 } // namespace lvr2
56 
57 #include "HyperspectralCameraIO.tcc"
58 
59 #endif // LVR2_IO_HDF5_HYPERSPECTRALCAMERAIO_HPP
ArrayIO.hpp
lvr2::HyperspectralCameraIO::m_arrayIO
ArrayIO< FeatureBase > * m_arrayIO
Definition: descriptions/HyperspectralCameraIO.hpp:28
lvr2::FeatureConstruct
Helper class how to construct a IO feature with its dependencies.
Definition: FeatureBase.hpp:20
lvr2::HyperspectralCameraIO::m_matrixIO
MatrixIO< FeatureBase > * m_matrixIO
Definition: descriptions/HyperspectralCameraIO.hpp:29
lvr2::HyperspectralCameraIO::OBJID
static constexpr const char * OBJID
Definition: descriptions/HyperspectralCameraIO.hpp:32
lvr2::HyperspectralCameraIO::isHyperspectralCamera
bool isHyperspectralCamera(std::string &path)
lvr2::HyperspectralCameraIO
Definition: descriptions/HyperspectralCameraIO.hpp:14
lvr2::FeatureConstruct< HyperspectralCameraIO, FeatureBase >::dep2
typename FeatureConstruct< MatrixIO, FeatureBase >::type dep2
Definition: descriptions/HyperspectralCameraIO.hpp:48
ScanTypes.hpp
lvr2::ArrayIO
Definition: descriptions/ArrayIO.hpp:11
lvr2::FeatureConstruct< HyperspectralCameraIO, FeatureBase >::dep1
typename FeatureConstruct< ArrayIO, FeatureBase >::type dep1
Definition: descriptions/HyperspectralCameraIO.hpp:47
lvr2::HyperspectralCameraIO::saveHyperspectralCamera
void saveHyperspectralCamera(const size_t &scanPosNo, const HyperspectralCameraPtr &buffer)
lvr2::FeatureConstruct< HyperspectralCameraIO, FeatureBase >::type
typename deps::template add_features< HyperspectralCameraIO >::type type
Definition: descriptions/HyperspectralCameraIO.hpp:52
lvr2::HyperspectralCameraPtr
std::shared_ptr< HyperspectralCamera > HyperspectralCameraPtr
Definition: ScanTypes.hpp:268
lvr2::HyperspectralCameraIO::loadHyperspectralCamera
HyperspectralCameraPtr loadHyperspectralCamera(const size_t &scanPosNo)
lvr2::FeatureConstruct::type
typename Derived::template add_features< Feature >::type type
Definition: FeatureBase.hpp:151
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::HyperspectralCameraIO::ID
static constexpr const char * ID
Definition: descriptions/HyperspectralCameraIO.hpp:31
lvr2::HyperspectralCameraIO::m_featureBase
FeatureBase * m_featureBase
Definition: descriptions/HyperspectralCameraIO.hpp:25
lvr2::MatrixIO
Definition: descriptions/MatrixIO.hpp:11
lvr2::FeatureConstruct< HyperspectralCameraIO, FeatureBase >::deps
typename dep1::template Merge< dep2 > deps
Definition: descriptions/HyperspectralCameraIO.hpp:49
lvr2::FeatureBase
Manager Class for all FeatureBase components located in hdf5 directory.
Definition: FeatureBase.hpp:31
MatrixIO.hpp


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