Class STLIO

Inheritance Relationships

Base Type

Class Documentation

class STLIO : public lvr2::ModelIOBase

Public Functions

STLIO()
virtual ~STLIO()
virtual void save(string filename)
virtual void save(ModelPtr model, string filename)
virtual ModelPtr read(string filename)

Parse the given file and load supported elements.

Parameters:

filename – The file to read.

Returns:

A new model. If the file could not be parsed, an empty model is returned.