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

#include <DrcIO.hpp>

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

Public Member Functions

 DrcIO ()
 
virtual ModelPtr read (string filename)
 Parse the draco and load supported elements. More...
 
virtual void save (string filename)
 Save/Compress the loaded elements to a draco file. More...
 
virtual void save (ModelPtr model, string filename)
 Set the model and saves/compresses the loaded elements to a draco file. More...
 
- 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

Definition at line 38 of file DrcIO.hpp.

Constructor & Destructor Documentation

◆ DrcIO()

lvr2::DrcIO::DrcIO ( )
inline

Definition at line 41 of file DrcIO.hpp.

Member Function Documentation

◆ read()

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

Parse the draco and load supported elements.

Parameters
filenameThe file to read.

Definition at line 38 of file DrcIO.cpp.

◆ save() [1/2]

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

Save/Compress the loaded elements to a draco file.

Parameters
filenameFilename of the file to write.

Definition at line 85 of file DrcIO.cpp.

◆ save() [2/2]

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

Set the model and saves/compresses the loaded elements to a draco file.

Parameters
filenameFilename of the file to write.

Definition at line 114 of file DrcIO.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:11