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 
Manager Class for all FeatureBase components located in hdf5 directory.
Definition: FeatureBase.hpp:31
ScanProjectPtr loadScanProject()
Definition: DirectoryIO.cpp:15
DirectoryKernelPtr m_kernel
Definition: DirectoryIO.hpp:23
std::shared_ptr< ScanProject > ScanProjectPtr
Definition: ScanTypes.hpp:344
void saveScanProject(ScanProjectPtr project)
Definition: DirectoryIO.cpp:6
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 Mon Feb 28 2022 22:46:06