#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/IO/writer/STLWriter.hh>
|
| virtual | ~_STLWriter_ () |
| | Destructor.
|
| |
| std::string | get_description () const override |
| | Return short description of the supported file format.
|
| |
| std::string | get_extensions () const override |
| | Return file format's extension.
|
| |
| bool | write (const std::string &, BaseExporter &, const Options &_writeOptions, std::streamsize _precision=6) const override |
| |
| bool | write (std::ostream &, BaseExporter &, const Options &_writeOptions, std::streamsize _precision=6) const override |
| |
| size_t | binary_size (BaseExporter &, const Options &) const override |
| | Returns expected size of file if binary format is supported else 0.
|
| |
| virtual | ~BaseWriter () |
| | Destructor.
|
| |
| virtual bool | can_u_write (const std::string &_filename) const |
| | Returns true if writer can write _filename (checks extension). _filename can also provide an extension without a name for a file e.g. _filename == "om" checks, if the writer can write the "om" extension.
|
| |
|
| bool | write_stla (const std::string &, const BaseExporter &, Options) const |
| |
| bool | write_stla (std::ostream &, const BaseExporter &, Options, std::streamsize _precision=6) const |
| |
| bool | write_stlb (const std::string &, const BaseExporter &, Options) const |
| |
| bool | write_stlb (std::ostream &, const BaseExporter &, Options, std::streamsize _precision=6) const |
| |
Implementation of the STL format writer. This class is singleton'ed by SingletonT to STLWriter.
Definition at line 82 of file STLWriter.hh.
◆ _STLWriter_()
| OpenMesh::IO::_STLWriter_::_STLWriter_ |
( |
| ) |
|
◆ ~_STLWriter_()
| virtual OpenMesh::IO::_STLWriter_::~_STLWriter_ |
( |
| ) |
|
|
inlinevirtual |
◆ binary_size()
◆ get_description()
| std::string OpenMesh::IO::_STLWriter_::get_description |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ get_extensions()
| std::string OpenMesh::IO::_STLWriter_::get_extensions |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ write() [1/2]
| bool OpenMesh::IO::_STLWriter_::write |
( |
const std::string & |
_filename, |
|
|
BaseExporter & |
_be, |
|
|
const Options & |
_writeOptions, |
|
|
std::streamsize |
_precision = 6 |
|
) |
| const |
|
overridevirtual |
Write to a file
- Parameters
-
| _filename | write to file with the given filename |
| _be | BaseExporter, which specifies the data source |
| _writeOptions | writing options |
| _precision | can be used to specify the precision of the floating point notation. |
Implements OpenMesh::IO::BaseWriter.
Definition at line 82 of file STLWriter.cc.
◆ write() [2/2]
| bool OpenMesh::IO::_STLWriter_::write |
( |
std::ostream & |
_os, |
|
|
BaseExporter & |
_be, |
|
|
const Options & |
_writeOptions, |
|
|
std::streamsize |
_precision = 6 |
|
) |
| const |
|
overridevirtual |
Write to a std::ostream
- Parameters
-
| _os | write to std::ostream |
| _be | BaseExporter, which specifies the data source |
| _writeOptions | writing options |
| _precision | can be used to specify the precision of the floating point notation. |
Implements OpenMesh::IO::BaseWriter.
Definition at line 112 of file STLWriter.cc.
◆ write_stla() [1/2]
| bool OpenMesh::IO::_STLWriter_::write_stla |
( |
const std::string & |
_filename, |
|
|
const BaseExporter & |
_be, |
|
|
Options |
|
|
) |
| const |
|
private |
◆ write_stla() [2/2]
| bool OpenMesh::IO::_STLWriter_::write_stla |
( |
std::ostream & |
_out, |
|
|
const BaseExporter & |
_be, |
|
|
Options |
, |
|
|
std::streamsize |
_precision = 6 |
|
) |
| const |
|
private |
◆ write_stlb() [1/2]
| bool OpenMesh::IO::_STLWriter_::write_stlb |
( |
const std::string & |
_filename, |
|
|
const BaseExporter & |
_be, |
|
|
Options |
|
|
) |
| const |
|
private |
◆ write_stlb() [2/2]
| bool OpenMesh::IO::_STLWriter_::write_stlb |
( |
std::ostream & |
_out, |
|
|
const BaseExporter & |
_be, |
|
|
Options |
, |
|
|
std::streamsize |
_precision = 6 |
|
) |
| const |
|
private |
The documentation for this class was generated from the following files:
- OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/IO/writer/STLWriter.hh
- OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/IO/writer/STLWriter.cc