Go to the documentation of this file.
3 #ifndef LVR2_IO_HDF5_MESHIO_HPP
4 #define LVR2_IO_HDF5_MESHIO_HPP
6 #include <boost/optional.hpp>
20 namespace hdf5features {
51 template<
typename Derived>
74 static constexpr
const char*
ID =
"MeshIO";
75 static constexpr
const char*
OBJID =
"MeshBuffer";
103 template <
typename T>
133 template <
typename T>
177 template<
typename Derived>
183 using deps =
typename dep1::template Merge<dep2>;
186 using type =
typename deps::template add_features<hdf5features::MeshIO>::type;
192 #include "MeshIO.tcc"
194 #endif // LVR2_IO_HDF5_MESHIO_HPP
bool addVertices(const FloatChannel &channel_ptr)
Persistence layer interface, Writes the vertices of the mesh to the persistence layer.
void setMeshName(std::string meshName)
IndexChannel::Optional IndexChannelOptional
IndexChannelOptional getIndices()
Persistence layer interface, Accesses the face indices of the mesh in the persistence layer.
void save(std::string name, const MeshBufferPtr &buffer)
UCharChannel::Optional UCharChannelOptional
typename deps::template add_features< hdf5features::MeshIO >::type type
typename Derived::template add_features< Feature >::type type
typename dep1::template Merge< dep2 > deps
typename Hdf5Construct< hdf5features::ArrayIO, Derived >::type dep2
VariantChannelIO< Derived > * m_vchannel_io
bool addChannel(const std::string group, const std::string name, const AttributeChannel< T > &channel)
MeshBufferPtr loadMesh(std::string name)
FloatChannel::Optional FloatChannelOptional
static constexpr const char * ID
MeshBufferPtr load(std::string name)
Hdf5IO Feature for handling VariantChannel related IO.
ArrayIO< Derived > * m_array_io
static constexpr const char * OBJID
bool addIndices(const IndexChannel &channel_ptr)
Persistence layer interface, Writes the face indices of the mesh to the persistence layer.
typename Hdf5Construct< hdf5features::VariantChannelIO, Derived >::type dep1
std::shared_ptr< MeshBuffer > MeshBufferPtr
bool isMesh(HighFive::Group &group)
Helper class how to construct a IO feature with its dependencies.
bool getChannel(const std::string group, const std::string name, boost::optional< AttributeChannel< T >> &channel)
Hdf5IO Feature for handling MeshBuffer related IO.
FloatChannelOptional getVertices()
Persistence layer interface, Accesses the vertices of the mesh in the persistence layer.
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