Class ObjIO
Defined in File ObjIO.hpp
Inheritance Relationships
Base Type
public lvr2::ModelIOBase(Class ModelIOBase)
Class Documentation
-
class ObjIO : public lvr2::ModelIOBase
A basic implementation of the obj file format.
Public Functions
-
inline ObjIO()
Constructor.
-
inline ~ObjIO()
-
virtual ModelPtr read(std::string filename)
Parse the given file and load supported elements.
- Parameters:
filename – The file to read.
-
virtual void save(std::string filename)
Writes the mesh to an obj file.
- Parameters:
model – The model containing all mesh data
filename – The file name to use
-
inline ObjIO()