#include <STLWriter.hh>

Public Member Functions | |
| _STLWriter_ () | |
| size_t | binary_size (BaseExporter &, Options) const |
| Returns expected size of file if binary format is supported else 0. | |
| std::string | get_description () const |
| Return short description of the supported file format. | |
| std::string | get_extensions () const |
| Return file format's extension. | |
| bool | write (std::ostream &, BaseExporter &, Options) const |
| Write to std::ostream _os. Data source specified by BaseExporter _be. | |
| bool | write (const std::string &, BaseExporter &, Options) const |
| Write to file _filename. Data source specified by BaseExporter _be. | |
| virtual | ~_STLWriter_ () |
| Destructor. | |
Private Member Functions | |
| bool | write_stla (const std::string &, BaseExporter &, Options) const |
| bool | write_stlb (const std::string &, BaseExporter &, Options) const |
Implementation of the STL format writer. This class is singleton'ed by SingletonT to STLWriter.
Definition at line 84 of file STLWriter.hh.
| OpenMesh::IO::_STLWriter_::_STLWriter_ | ( | ) |
| virtual OpenMesh::IO::_STLWriter_::~_STLWriter_ | ( | ) | [inline, virtual] |
Destructor.
Definition at line 91 of file STLWriter.hh.
| size_t OpenMesh::IO::_STLWriter_::binary_size | ( | BaseExporter & | , | |
| Options | ||||
| ) | const [virtual] |
Returns expected size of file if binary format is supported else 0.
Reimplemented from OpenMesh::IO::BaseWriter.
| std::string OpenMesh::IO::_STLWriter_::get_description | ( | ) | const [inline, virtual] |
Return short description of the supported file format.
Implements OpenMesh::IO::BaseWriter.
Definition at line 93 of file STLWriter.hh.
| std::string OpenMesh::IO::_STLWriter_::get_extensions | ( | ) | const [inline, virtual] |
Return file format's extension.
Implements OpenMesh::IO::BaseWriter.
Definition at line 94 of file STLWriter.hh.
| bool OpenMesh::IO::_STLWriter_::write | ( | std::ostream & | _os, | |
| BaseExporter & | _be, | |||
| Options | _opt | |||
| ) | const [virtual] |
Write to std::ostream _os. Data source specified by BaseExporter _be.
Implements OpenMesh::IO::BaseWriter.
| bool OpenMesh::IO::_STLWriter_::write | ( | const std::string & | _filename, | |
| BaseExporter & | _be, | |||
| Options | _opt | |||
| ) | const [virtual] |
Write to file _filename. Data source specified by BaseExporter _be.
Implements OpenMesh::IO::BaseWriter.
| bool OpenMesh::IO::_STLWriter_::write_stla | ( | const std::string & | , | |
| BaseExporter & | , | |||
| Options | ||||
| ) | const [private] |
| bool OpenMesh::IO::_STLWriter_::write_stlb | ( | const std::string & | , | |
| BaseExporter & | , | |||
| Options | ||||
| ) | const [private] |