Public Member Functions | List of all members
lvr2::DatIO Class Reference

IO class for binary laser scans. More...

#include <DatIO.hpp>

Inheritance diagram for lvr2::DatIO:
Inheritance graph
[legend]

Public Member Functions

 DatIO ()
 
virtual ModelPtr read (string filename)
 
virtual ModelPtr read (string filename, int n, int reduction=0)
 
virtual void save (ModelPtr model, string filename)
 
virtual void save (string filename)
 
virtual ~DatIO ()
 
- Public Member Functions inherited from lvr2::BaseIO
 BaseIO ()
 
virtual ModelPtr getModel ()
 Get the model for io operations. More...
 
virtual ModelPtr read (std::string filename)=0
 Parse the given file and load supported elements. More...
 
virtual void save (ModelPtr model, std::string filename)
 Set the model and save the loaded elements to the given file. More...
 
virtual void save (std::string filename)=0
 Save the loaded elements to the given file. More...
 
virtual void setModel (ModelPtr m)
 Set the model for io operations to use. More...
 
virtual ~BaseIO ()
 

Additional Inherited Members

- Protected Attributes inherited from lvr2::BaseIO
ModelPtr m_model
 

Detailed Description

IO class for binary laser scans.

Definition at line 50 of file DatIO.hpp.

Constructor & Destructor Documentation

◆ DatIO()

lvr2::DatIO::DatIO ( )

Definition at line 53 of file DatIO.cpp.

◆ ~DatIO()

lvr2::DatIO::~DatIO ( )
virtual

Definition at line 58 of file DatIO.cpp.

Member Function Documentation

◆ read() [1/2]

ModelPtr lvr2::DatIO::read ( string  filename)
virtual

Definition at line 63 of file DatIO.cpp.

◆ read() [2/2]

ModelPtr lvr2::DatIO::read ( string  filename,
int  n,
int  reduction = 0 
)
virtual

Definition at line 68 of file DatIO.cpp.

◆ save() [1/2]

void lvr2::DatIO::save ( ModelPtr  model,
string  filename 
)
virtual

Definition at line 172 of file DatIO.cpp.

◆ save() [2/2]

void lvr2::DatIO::save ( string  filename)
virtual

Definition at line 178 of file DatIO.cpp.


The documentation for this class was generated from the following files:


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