hdf5/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 
6 #include "ArrayIO.hpp"
7 #include "MatrixIO.hpp"
9 
10 namespace lvr2
11 {
12 
13 namespace hdf5features
14 {
15 
16 template <typename Derived>
18 {
19  public:
20  void save(HighFive::Group& group, const HyperspectralCameraPtr& buffer);
21 
23  // HyperspectralCameraPtr load(HighFive::Group& group, uint camNr);
26 
27  protected:
29 
30  Derived* m_file_access = static_cast<Derived*>(this);
31 
32  // dependencies
35 
36  static constexpr const char* ID = "HyperspectralCameraIO";
37  static constexpr const char* OBJID = "HyperspectralCamera";
38 };
39 
40 } // namespace hdf5features
41 
49 template <typename Derived>
50 struct Hdf5Construct<hdf5features::HyperspectralCameraIO, Derived>
51 {
52 
53  // DEPS
56  using deps = typename dep1::template Merge<dep2>;
57 
58  // ADD THE FEATURE ITSELF
59  using type = typename deps::template add_features<hdf5features::HyperspectralCameraIO>::type;
60 };
61 
62 } // namespace lvr2
63 
64 #include "HyperspectralCameraIO.tcc"
65 
66 #endif // LVR2_IO_HDF5_HYPERSPECTRALCAMERAIO_HPP
lvr2::Hdf5Construct< hdf5features::HyperspectralCameraIO, Derived >::dep1
typename Hdf5Construct< hdf5features::ArrayIO, Derived >::type dep1
Definition: hdf5/HyperspectralCameraIO.hpp:54
lvr2::hdf5features::HyperspectralCameraIO
Definition: hdf5/HyperspectralCameraIO.hpp:17
MatrixIO.hpp
lvr2::Hdf5Construct::type
typename Derived::template add_features< Feature >::type type
Definition: HDF5FeatureBase.hpp:165
lvr2::Hdf5Construct< hdf5features::HyperspectralCameraIO, Derived >::deps
typename dep1::template Merge< dep2 > deps
Definition: hdf5/HyperspectralCameraIO.hpp:56
lvr2::HyperspectralCameraIO
Definition: descriptions/HyperspectralCameraIO.hpp:14
lvr2::hdf5features::HyperspectralCameraIO::OBJID
static constexpr const char * OBJID
Definition: hdf5/HyperspectralCameraIO.hpp:37
lvr2::hdf5features::HyperspectralCameraIO::ID
static constexpr const char * ID
Definition: hdf5/HyperspectralCameraIO.hpp:36
lvr2::hdf5features::HyperspectralCameraIO::isHyperspectralCamera
bool isHyperspectralCamera(HighFive::Group &group)
lvr2::hdf5features::HyperspectralCameraIO::m_file_access
Derived * m_file_access
Definition: hdf5/HyperspectralCameraIO.hpp:30
lvr2::hdf5features::HyperspectralCameraIO::loadHyperspectralCamera
HyperspectralCameraPtr loadHyperspectralCamera(uint scanPos)
lvr2::hdf5features::HyperspectralCameraIO::save
void save(HighFive::Group &group, const HyperspectralCameraPtr &buffer)
ScanTypes.hpp
HighFive::Group
Definition: H5Group.hpp:20
lvr2::hdf5features::HyperspectralCameraIO::m_arrayIO
ArrayIO< Derived > * m_arrayIO
Definition: hdf5/HyperspectralCameraIO.hpp:33
lvr2::HyperspectralCameraPtr
std::shared_ptr< HyperspectralCamera > HyperspectralCameraPtr
Definition: ScanTypes.hpp:268
lvr2::Hdf5Construct< hdf5features::HyperspectralCameraIO, Derived >::type
typename deps::template add_features< hdf5features::HyperspectralCameraIO >::type type
Definition: hdf5/HyperspectralCameraIO.hpp:59
lvr2::hdf5features::HyperspectralCameraIO::load
HyperspectralCameraPtr load(uint scanPos)
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::hdf5features::HyperspectralCameraIO::m_matrixIO
MatrixIO< Derived > * m_matrixIO
Definition: hdf5/HyperspectralCameraIO.hpp:34
lvr2::Hdf5Construct
Helper class how to construct a IO feature with its dependencies.
Definition: HDF5FeatureBase.hpp:27
uint
unsigned int uint
Definition: Model.hpp:46
lvr2::Hdf5Construct< hdf5features::HyperspectralCameraIO, Derived >::dep2
typename Hdf5Construct< hdf5features::MatrixIO, Derived >::type dep2
Definition: hdf5/HyperspectralCameraIO.hpp:55
lvr2::hdf5features::ArrayIO
Definition: hdf5/ArrayIO.hpp:13
ArrayIO.hpp
lvr2::hdf5features::MatrixIO
Definition: hdf5/MatrixIO.hpp:16


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