DirectoryIO.cpp
Go to the documentation of this file.
2 
3 namespace lvr2
4 {
5 
7 {
8  using BaseScanProjectIO = lvr2::FeatureBase<>;
9  using MyScanProjectIO = BaseScanProjectIO::AddFeatures<lvr2::ScanProjectIO>;
10 
11  MyScanProjectIO io(m_kernel, m_schema);
12  io.saveScanProject(project);
13 }
14 
16 {
17  using BaseScanProjectIO = lvr2::FeatureBase<>;
18  using MyScanProjectIO = BaseScanProjectIO::AddFeatures<lvr2::ScanProjectIO>;
19 
20  MyScanProjectIO io(m_kernel, m_schema);
21  ScanProjectPtr ptr = io.loadScanProject();
22  return ptr;
23 }
24 
25 } // namespace lvr2
26 
lvr2::ScanProjectPtr
std::shared_ptr< ScanProject > ScanProjectPtr
Definition: ScanTypes.hpp:344
DirectoryIO.hpp
lvr2::DirectoryIO::saveScanProject
void saveScanProject(ScanProjectPtr project)
Definition: DirectoryIO.cpp:6
lvr2::DirectoryIO::loadScanProject
ScanProjectPtr loadScanProject()
Definition: DirectoryIO.cpp:15
lvr2::DirectoryIO::m_kernel
DirectoryKernelPtr m_kernel
Definition: DirectoryIO.hpp:23
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::FeatureBase
Manager Class for all FeatureBase components located in hdf5 directory.
Definition: FeatureBase.hpp:31
lvr2::DirectoryIO::m_schema
DirectorySchemaPtr m_schema
Definition: DirectoryIO.hpp:24


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