Interface specification for low-level io. All read elements are stored in linear arrays.  
 More...
#include <BaseIO.hpp>
Interface specification for low-level io. All read elements are stored in linear arrays. 
Definition at line 57 of file BaseIO.hpp.
◆ BaseIO()
◆ ~BaseIO()
  
  | 
        
          | virtual lvr2::BaseIO::~BaseIO | ( |  | ) |  |  | inlinevirtual | 
 
 
◆ getModel()
Get the model for io operations. 
- Returns
- Shared pointer to model. 
Definition at line 61 of file BaseIO.cpp.
 
 
◆ read()
  
  | 
        
          | virtual ModelPtr lvr2::BaseIO::read | ( | std::string | filename | ) |  |  | pure virtual | 
 
Parse the given file and load supported elements. 
- Parameters
- 
  
    | filename | The file to read. |  
 
Implemented in lvr2::RxpIO.
 
 
◆ save() [1/2]
  
  | 
        
          | void lvr2::BaseIO::save | ( | ModelPtr | model, |  
          |  |  | std::string | filename |  
          |  | ) |  |  |  | virtual | 
 
Set the model and save the loaded elements to the given file. 
- Parameters
- 
  
    | filename | Filename of the file to write. |  
 
Definition at line 48 of file BaseIO.cpp.
 
 
◆ save() [2/2]
  
  | 
        
          | virtual void lvr2::BaseIO::save | ( | std::string | filename | ) |  |  | pure virtual | 
 
Save the loaded elements to the given file. 
- Parameters
- 
  
    | filename | Filename of the file to write. |  
 
Implemented in lvr2::RxpIO.
 
 
◆ setModel()
  
  | 
        
          | void lvr2::BaseIO::setModel | ( | ModelPtr | m | ) |  |  | virtual | 
 
Set the model for io operations to use. 
- Parameters
- 
  
    | m | Shared pointer to model. |  
 
Definition at line 55 of file BaseIO.cpp.
 
 
◆ m_model
The documentation for this class was generated from the following files: