2 #ifndef LVR2_IO_HDF5_ARRAYIO_HPP 3 #define LVR2_IO_HDF5_ARRAYIO_HPP 6 #include <boost/shared_array.hpp> 10 template<
typename FeatureBase>
14 virtual ucharArr loadUCharArray(
const std::string& group,
const std::string& container, std::vector<size_t> &dims)
const;
15 virtual floatArr loadFloatArray(
const std::string& group,
const std::string& container, std::vector<size_t> &dims)
const;
16 virtual doubleArr loadDoubleArray(
const std::string& group,
const std::string& container, std::vector<size_t> &dims)
const;
18 virtual void saveFloatArray(
const std::string& groupName,
const std::string& datasetName,
const std::vector<size_t>& dimensions,
const boost::shared_array<float>& data)
const;
19 virtual void saveDoubleArray(
const std::string& groupName,
const std::string& datasetName,
const std::vector<size_t>& dimensions,
const boost::shared_array<double>& data)
const;
20 virtual void saveUCharArray(
const std::string& groupName,
const std::string& datasetName,
const std::vector<size_t>& dimensions,
const boost::shared_array<unsigned char>& data)
const;
29 #include "ArrayIO.tcc" virtual ucharArr loadUCharArray(const std::string &group, const std::string &container, std::vector< size_t > &dims) const
Manager Class for all FeatureBase components located in hdf5 directory.
virtual void saveUCharArray(const std::string &groupName, const std::string &datasetName, const std::vector< size_t > &dimensions, const boost::shared_array< unsigned char > &data) const
boost::shared_array< double > doubleArr
boost::shared_array< unsigned char > ucharArr
virtual doubleArr loadDoubleArray(const std::string &group, const std::string &container, std::vector< size_t > &dims) const
virtual void saveDoubleArray(const std::string &groupName, const std::string &datasetName, const std::vector< size_t > &dimensions, const boost::shared_array< double > &data) const
boost::shared_array< float > floatArr
virtual floatArr loadFloatArray(const std::string &group, const std::string &container, std::vector< size_t > &dims) const
FeatureBase * m_featureBase
virtual void saveFloatArray(const std::string &groupName, const std::string &datasetName, const std::vector< size_t > &dimensions, const boost::shared_array< float > &data) const