#include <DrcIO.hpp>
|
| 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...
|
|
| 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 () |
|
Definition at line 38 of file DrcIO.hpp.
◆ DrcIO()
◆ read()
ModelPtr lvr2::DrcIO::read |
( |
string |
filename | ) |
|
|
virtual |
Parse the draco and load supported elements.
- Parameters
-
filename | The 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
-
filename | Filename 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
-
filename | Filename of the file to write. |
Definition at line 114 of file DrcIO.cpp.
The documentation for this class was generated from the following files: