#include <DirectoryKernel.hpp>
Public Member Functions | |
DirectoryKernel (const std::string &root) | |
virtual bool | exists (const std::string &group) const |
virtual bool | exists (const std::string &group, const std::string &container) const |
virtual doubleArr | loadDoubleArray (const std::string &group, const std::string &container, std::vector< size_t > &dims) const |
virtual floatArr | loadFloatArray (const std::string &group, const std::string &container, std::vector< size_t > &dims) const |
virtual boost::optional< cv::Mat > | loadImage (const std::string &group, const std::string &container) const |
virtual MeshBufferPtr | loadMeshBuffer (const std::string &group, const std::string container) const |
virtual void | loadMetaYAML (const std::string &group, const std::string &container, YAML::Node &node) const |
virtual PointBufferPtr | loadPointBuffer (const std::string &group, const std::string &container) const |
virtual ucharArr | loadUCharArray (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 |
virtual void | saveFloatArray (const std::string &groupName, const std::string &datasetName, const std::vector< size_t > &dimensions, const boost::shared_array< float > &data) const |
virtual void | saveImage (const std::string &group, const std::string &container, const cv::Mat &image) const |
virtual void | saveMeshBuffer (const std::string &group, const std::string &container, const MeshBufferPtr &buffer) const |
virtual void | saveMetaYAML (const std::string &group, const std::string &metaName, const YAML::Node &node) const |
virtual void | savePointBuffer (const std::string &group, const std::string &container, const PointBufferPtr &buffer) const |
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 |
virtual void | subGroupNames (const std::string &group, const std::regex &filter, std::vector< string > &subGroupNames) const |
virtual void | subGroupNames (const std::string &group, std::vector< string > &subGroupNames) const |
virtual | ~DirectoryKernel ()=default |
Public Member Functions inherited from lvr2::FileKernel | |
FileKernel ()=delete | |
FileKernel (const std::string &res) | |
Protected Member Functions | |
boost::filesystem::path | getAbsolutePath (const std::string &group, const std::string &name) const |
template<typename T > | |
boost::shared_array< T > | loadArray (const std::string &group, const std::string &constainer, std::vector< size_t > &dims) const |
template<typename T > | |
void | saveArray (const std::string &group, const std::string &container, const std::vector< size_t > &dims, const boost::shared_array< T > &data) const |
Additional Inherited Members | |
Protected Attributes inherited from lvr2::FileKernel | |
std::string | m_fileResourceName |
Definition at line 16 of file DirectoryKernel.hpp.
|
inline |
Definition at line 19 of file DirectoryKernel.hpp.
|
virtualdefault |
|
virtual |
Implements lvr2::FileKernel.
Definition at line 128 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 132 of file DirectoryKernel.cpp.
|
protected |
Definition at line 173 of file DirectoryKernel.cpp.
|
inlineprotected |
Definition at line 98 of file DirectoryKernel.hpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 194 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 189 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 98 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 70 of file DirectoryKernel.cpp.
|
virtual |
That we don't return the YAML node is on purpose to use the initial structure to look for the fields that should be loaded!
Implements lvr2::FileKernel.
Definition at line 117 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 83 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 184 of file DirectoryKernel.cpp.
|
inlineprotected |
Definition at line 126 of file DirectoryKernel.hpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 204 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 199 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 39 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 6 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 54 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 23 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 209 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 156 of file DirectoryKernel.cpp.
|
virtual |
Implements lvr2::FileKernel.
Definition at line 143 of file DirectoryKernel.cpp.