BaseIO.cpp
Go to the documentation of this file.
1 
40 #include "lvr2/io/BaseIO.hpp"
41 
42 
43 #include <string>
44 
45 namespace lvr2
46 {
47 
48 void BaseIO::save( ModelPtr m, std::string filename)
49 {
50  m_model = m;
51  save( filename);
52 }
53 
54 
56 {
57  m_model = m;
58 }
59 
60 
62 {
63  return m_model;
64 }
65 
66 } // namespace lvr2
lvr2::BaseIO::setModel
virtual void setModel(ModelPtr m)
Set the model for io operations to use.
Definition: BaseIO.cpp:55
scripts.normalize_multiple.filename
filename
Definition: normalize_multiple.py:60
lvr2::BaseIO::save
virtual void save(std::string filename)=0
Save the loaded elements to the given file.
lvr2::BaseIO::m_model
ModelPtr m_model
Definition: BaseIO.hpp:104
BaseIO.hpp
Base interface for all I/O related classes.
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::BaseIO::getModel
virtual ModelPtr getModel()
Get the model for io operations.
Definition: BaseIO.cpp:61
lvr2::ModelPtr
std::shared_ptr< Model > ModelPtr
Definition: Model.hpp:80


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