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

Interface class to read laser scan data in .las-Format. More...

#include <LasIO.hpp>

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

Public Member Functions

 LasIO ()
 
virtual ModelPtr read (string filename)
 Parse the given file and load supported elements. More...
 
virtual void save (string filename)
 Save the loaded elements to the given file. More...
 
virtual ~LasIO ()
 
- 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 (std::string filename)=0
 Save the loaded elements to the given file. More...
 
virtual void save (ModelPtr model, std::string filename)
 Set the model and 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

Interface class to read laser scan data in .las-Format.

Definition at line 46 of file LasIO.hpp.

Constructor & Destructor Documentation

◆ LasIO()

lvr2::LasIO::LasIO ( )
inline

Definition at line 49 of file LasIO.hpp.

◆ ~LasIO()

virtual lvr2::LasIO::~LasIO ( )
inlinevirtual

Definition at line 50 of file LasIO.hpp.

Member Function Documentation

◆ read()

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

Parse the given file and load supported elements.

Parameters
filenameThe file to read.

TODO: Check for color attributes if possible...

Definition at line 48 of file LasIO.cpp.

◆ save()

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

Save the loaded elements to the given file.

Parameters
filenameFilename of the file to write.

TODO: Implement LAS output

Definition at line 107 of file LasIO.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 Mon Feb 28 2022 22:46:12