include
lvr2
io
descriptions
descriptions/MatrixIO.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#ifndef LVR2_IO_HDF5_MATRIXIO_HPP
4
#define LVR2_IO_HDF5_MATRIXIO_HPP
5
6
#include <Eigen/Dense>
7
8
namespace
lvr2
{
9
10
template
<
typename
FeatureBase>
11
class
MatrixIO
{
12
public
:
13
14
template
<
typename
_Scalar,
int
_Rows,
int
_Cols,
int
_Options,
int
_MaxRows,
int
_MaxCols>
15
void
saveMatrix
(std::string groupName,
16
std::string datasetName,
17
const
Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& mat
18
);
19
20
template
<
typename
MatrixT>
21
MatrixT
loadMatrix
(std::string groupName,
22
std::string datasetName);
23
24
protected
:
25
FeatureBase
*
m_featureBase
=
static_cast<
FeatureBase
*
>
(
this
);
26
27
};
28
29
}
// namespace lvr2
30
31
#include "MatrixIO.tcc"
32
33
#endif // LVR2_IO_HDF5_MATRIXIO_HPP
lvr2::MatrixIO::m_featureBase
FeatureBase * m_featureBase
Definition:
descriptions/MatrixIO.hpp:25
lvr2
Definition:
BaseBufferManipulators.hpp:39
lvr2::MatrixIO::loadMatrix
MatrixT loadMatrix(std::string groupName, std::string datasetName)
lvr2::MatrixIO
Definition:
descriptions/MatrixIO.hpp:11
lvr2::MatrixIO::saveMatrix
void saveMatrix(std::string groupName, std::string datasetName, const Eigen::Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &mat)
lvr2::FeatureBase
Manager Class for all FeatureBase components located in hdf5 directory.
Definition:
FeatureBase.hpp:31
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:24