descriptions/HDF5IO.cpp
Go to the documentation of this file.
2 
3 namespace lvr2
4 {
5 
7  : m_kernel(kernel), m_schema(schema)
8 {
9 
10 }
11 
13 {
14  using BaseScanProjectIO = lvr2::FeatureBase<>;
15  using MyScanProjectIO = BaseScanProjectIO::AddFeatures<lvr2::ScanProjectIO>;
16 
17  MyScanProjectIO io(m_kernel, m_schema);
18  io.saveScanProject(project);
19 }
20 
22 {
23  using BaseScanProjectIO = lvr2::FeatureBase<>;
24  using MyScanProjectIO = BaseScanProjectIO::AddFeatures<lvr2::ScanProjectIO>;
25 
26  MyScanProjectIO io(m_kernel, m_schema);
27  ScanProjectPtr ptr = io.loadScanProject();
28  return ptr;
29 }
30 
31 } // namespace lvr2
32 
lvr2::HDF5KernelPtr
std::shared_ptr< HDF5Kernel > HDF5KernelPtr
Definition: HDF5Kernel.hpp:252
HDF5IO.hpp
lvr2::ScanProjectPtr
std::shared_ptr< ScanProject > ScanProjectPtr
Definition: ScanTypes.hpp:344
lvr2::HDF5IO::m_schema
HDF5SchemaPtr m_schema
Definition: descriptions/HDF5IO.hpp:23
lvr2::HDF5SchemaPtr
std::shared_ptr< HDF5Schema > HDF5SchemaPtr
Definition: ScanProjectSchema.hpp:94
lvr2::HDF5IO::m_kernel
HDF5KernelPtr m_kernel
Definition: descriptions/HDF5IO.hpp:22
lvr2::HDF5IO::saveScanProject
void saveScanProject(ScanProjectPtr project)
Definition: descriptions/HDF5IO.cpp:12
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::HDF5IO::HDF5IO
HDF5IO()
Construct a new HDF5IO object. Do not use this. Only used by ModelFactory.
Definition: HDF5IO.hpp:93
lvr2::FeatureBase
Manager Class for all FeatureBase components located in hdf5 directory.
Definition: FeatureBase.hpp:31
lvr2::HDF5IO::loadScanProject
ScanProjectPtr loadScanProject()
Definition: descriptions/HDF5IO.cpp:21


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:23