|
MeshBufferPtr | load (std::string name) |
|
MeshBufferPtr | load (HighFive::Group &group) |
|
MeshBufferPtr | loadMesh (std::string name) |
|
void | save (std::string name, const MeshBufferPtr &buffer) |
|
void | save (HighFive::Group &group, const MeshBufferPtr &buffer) |
|
void | setMeshName (std::string meshName) |
|
template<typename MapT > |
bool | addAttributeMap (const MapT &map, const std::string &name) |
| addAttributeMap Stores a general attribute map to the persistence layer where the attribute group is defined by the given map type. Note, that the map keys are also stored, if you want to store a dense attribute map, please see addDenseAttributeMap. More...
|
|
template<typename MapT , typename BaseVecT > |
bool | addDenseAttributeMap (const BaseMesh< BaseVecT > &mesh, const MapT &map, const std::string &name) |
| addDenseAttributeMap Stores a dense attribute map to the persistence layer where the attribute group is defined by the given map type. More...
|
|
template<typename MapT > |
bool | addDenseAttributeMap (const MapT &map, const std::string &name) |
| addDenseAttributeMap Stores a dense attribute map to the persistence layer where the attribute group is defined by the given map type. More...
|
|
bool | addMesh (const HalfEdgeMesh< BaseVec > &hem) |
| Adds a HalfEdgeMesh to the persistence layer. More...
|
|
template<typename MapT > |
boost::optional< MapT > | getAttributeMap (const std::string &name) |
| getAttributeMap Reads a general attribute map from the persistence layer where the attribute group is defined by the given map type. Note, that the map keys have to be available in the persistence layer. If you want to load a DenseAttributeMap, please use getDenseAttributeMap. More...
|
|
template<typename MapT > |
boost::optional< MapT > | getDenseAttributeMap (const std::string &name) |
| getDenseAttributeMap Reads a dense attribute map from the persistence layer where the attribute group is defined by the given map type. More...
|
|
boost::optional< HalfEdgeMesh< BaseVec > > | getMesh () |
| Reads a HalfEdgeMesh from the persistence layer. More...
|
|
|
template<typename T > |
bool | addChannel (const std::string group, const std::string name, const AttributeChannel< T > &channel) |
|
virtual bool | addChannel (const std::string group, const std::string name, const FloatChannel &channel) |
| addChannel Writes a float attribute channel from the given group with the given name More...
|
|
virtual bool | addChannel (const std::string group, const std::string name, const IndexChannel &channel) |
| addChannel Writes an index attribute channel from the given group with the given name More...
|
|
virtual bool | addChannel (const std::string group, const std::string name, const UCharChannel &channel) |
| addChannel Writes an unsigned char attribute channel from the given group with the given name More...
|
|
bool | addIndices (const IndexChannel &channel_ptr) |
| Persistence layer interface, Writes the face indices of the mesh to the persistence layer. More...
|
|
bool | addVertices (const FloatChannel &channel_ptr) |
| Persistence layer interface, Writes the vertices of the mesh to the persistence layer. More...
|
|
template<typename T > |
bool | getChannel (const std::string group, const std::string name, boost::optional< AttributeChannel< T >> &channel) |
|
virtual bool | getChannel (const std::string group, const std::string name, FloatChannelOptional &channel) |
| getChannel Reads a float attribute channel in the given group with the given name More...
|
|
virtual bool | getChannel (const std::string group, const std::string name, IndexChannelOptional &channel) |
| getChannel Reads an index attribute channel in the given group with the given name More...
|
|
virtual bool | getChannel (const std::string group, const std::string name, UCharChannelOptional &channel) |
| getChannel Reads an unsigned char attribute channel in the given group with the given name More...
|
|
IndexChannelOptional | getIndices () |
| Persistence layer interface, Accesses the face indices of the mesh in the persistence layer. More...
|
|
FloatChannelOptional | getVertices () |
| Persistence layer interface, Accesses the vertices of the mesh in the persistence layer. More...
|
|
bool | isMesh (HighFive::Group &group) |
|
template<typename Derived>
class lvr2::hdf5features::MeshIO< Derived >
Hdf5IO Feature for handling MeshBuffer related IO.
This Feature of the Hdf5IO handles the IO of a MeshBuffer object.
Example:
MyHdf5IO io;
io.open("test.h5");
io.save(
"ames#include "lvr2/io/hdf5/HDF5FeatureBase.hpp
"h", mesh);
mesh_in = io.loadMesh("amesh");
Generates attributes at hdf5 group:
Dependencies:
Definition at line 52 of file MeshIO.hpp.