3 #ifndef LVR2_IO_HDF5_SCANIO_HPP 4 #define LVR2_IO_HDF5_SCANIO_HPP 11 #include <yaml-cpp/yaml.h> 16 template <
typename FeatureBase>
21 void saveScan(
const size_t& scanPosNo,
const size_t& scanNo,
const ScanPtr& buffer);
27 bool isScan(
const std::string& group);
35 static constexpr
const char*
ID =
"ScanIO";
36 static constexpr
const char*
OBJID =
"Scan";
46 template <
typename FeatureBase>
53 using deps =
typename dep1::template Merge<dep2>;
56 using type =
typename deps::template add_features<ScanIO>::type;
63 #endif // LVR2_IO_HDF5_SCANIO_HPP
Manager Class for all FeatureBase components located in hdf5 directory.
Helper class how to construct a IO feature with its dependencies.
static constexpr const char * ID
typename deps::template add_features< ScanIO >::type type
std::shared_ptr< Scan > ScanPtr
Shared pointer to scans.
typename Derived::template add_features< Feature >::type type
ArrayIO< FeatureBase > * m_arrayIO
MatrixIO< FeatureBase > * m_matrixIO
static constexpr const char * OBJID
typename dep1::template Merge< dep2 > deps
FeatureBase * m_featureBase
void saveScan(const size_t &scanPosNo, const size_t &scanNo, const ScanPtr &buffer)
ScanPtr loadScan(const size_t &scanPosNo, const size_t &scanNo)
bool isScan(const std::string &group)
typename FeatureConstruct< ArrayIO, FeatureBase >::type dep1
typename FeatureConstruct< MatrixIO, FeatureBase >::type dep2