2 #ifndef LVR2_IO_HDF5_CHUNKIO_HPP 3 #define LVR2_IO_HDF5_CHUNKIO_HPP 15 template <
typename FeatureBase,
typename T>
18 template <
typename FeatureBase>
23 template <
typename FeatureBase>
28 template <
typename FeatureBase>
34 void saveChunkSize(
float chunkSize);
43 void saveChunk(T data, std::string layer,
int x,
int y,
int z);
47 float loadChunkSize();
52 T loadChunk(std::string layer,
int x,
int y,
int z);
59 const std::string m_chunkName =
"chunks";
60 const std::string m_amountName =
"amount";
61 const std::string m_chunkSizeName =
"size";
62 const std::string m_boundingBoxName =
"bounding_box";
68 template <
typename FeatureBase>
75 using deps =
typename dep1::template Merge<dep2>::template Merge<dep3>;
78 using type =
typename deps::template add_features<ChunkIO>::type;
83 #include "ChunkIO.tcc"
Manager Class for all FeatureBase components located in hdf5 directory.
std::shared_ptr< MeshBuffer > MeshBufferPtr
Helper class how to construct a IO feature with its dependencies.
typename FeatureConstruct< MeshIO, FeatureBase >::type dep2
typename FeatureConstruct< ArrayIO, FeatureBase >::type dep1
MeshIO< FeatureBase > io_type
typename dep1::template Merge< dep2 >::template Merge< dep3 > deps
std::shared_ptr< PointBuffer > PointBufferPtr
A dynamic bounding box class.
typename Derived::template add_features< Feature >::type type
typename FeatureConstruct< PointCloudIO, FeatureBase >::type dep3
typename deps::template add_features< ChunkIO >::type type
Hdf5IO Feature for handling PointBuffer related IO.