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

IO-Class to import compressed octrees from slam6d. More...

#include <BoctreeIO.hpp>

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

Public Member Functions

 BoctreeIO ()
 
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 ~BoctreeIO ()
 
- 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 ()
 

Private Member Functions

Matrix4< VecparseFrameFile (ifstream &frameFile)
 

Additional Inherited Members

- Protected Attributes inherited from lvr2::BaseIO
ModelPtr m_model
 

Detailed Description

IO-Class to import compressed octrees from slam6d.

Definition at line 56 of file BoctreeIO.hpp.

Constructor & Destructor Documentation

◆ BoctreeIO()

lvr2::BoctreeIO::BoctreeIO ( )

Definition at line 45 of file BoctreeIO.cpp.

◆ ~BoctreeIO()

lvr2::BoctreeIO::~BoctreeIO ( )
virtual

Definition at line 50 of file BoctreeIO.cpp.

Member Function Documentation

◆ parseFrameFile()

Matrix4< Vec > lvr2::BoctreeIO::parseFrameFile ( ifstream &  frameFile)
private

Definition at line 225 of file BoctreeIO.cpp.

◆ read()

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

Parse the given file and load supported elements.

Parameters
filenameThe file to read.

Definition at line 55 of file BoctreeIO.cpp.

◆ save()

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

Save the loaded elements to the given file.

Parameters
filenameFilename of the file to write.

Definition at line 220 of file BoctreeIO.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