3 #ifndef LVR2_IO_HDF5_MATRIXIO_HPP
4 #define LVR2_IO_HDF5_MATRIXIO_HPP
13 namespace hdf5features {
15 template<
typename Derived>
19 template<
typename _Scalar,
int _Rows,
int _Cols,
int _Options,
int _MaxRows,
int _MaxCols>
20 void save(std::string groupName,
21 std::string datasetName,
22 const Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& mat
25 template<
typename _Scalar,
int _Rows,
int _Cols,
int _Options,
int _MaxRows,
int _MaxCols>
27 std::string datasetName,
28 const Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& mat
31 template<
typename MatrixT>
33 std::string datasetName);
35 template<
typename MatrixT>
36 boost::optional<MatrixT>
load(std::string groupName,
37 std::string datasetName);
39 template<
typename MatrixT>
40 boost::optional<MatrixT>
loadMatrix(std::string groupName,
41 std::string datasetName);
52 #include "MatrixIO.tcc"
54 #endif // LVR2_IO_HDF5_MATRIXIO_HPP