#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/IO/writer/OMWriter.hh>
|
| | _OMWriter_ () |
| | Constructor.
|
| |
| virtual | ~_OMWriter_ () |
| | 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 (std::ostream &, BaseExporter &, const Options &_writeOptions, std::streamsize _precision=6) const override |
| |
| size_t | binary_size (BaseExporter &_be, const Options &_opt) 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.
|
| |
|
| static const OMFormat::uchar | magic_ [3] = "OM" |
| |
| static const OMFormat::uint8 | version_ = OMFormat::mk_version(2,2) |
| |
Implementation of the OM format writer. This class is singleton'ed by SingletonT to OMWriter.
Definition at line 91 of file OMWriter.hh.
◆ _OMWriter_()
| OpenMesh::IO::_OMWriter_::_OMWriter_ |
( |
| ) |
|
◆ ~_OMWriter_()
| virtual OpenMesh::IO::_OMWriter_::~_OMWriter_ |
( |
| ) |
|
|
inlinevirtual |
◆ binary_size()
◆ get_description()
| std::string OpenMesh::IO::_OMWriter_::get_description |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ get_extensions()
| std::string OpenMesh::IO::_OMWriter_::get_extensions |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ get_version()
| static OMFormat::uint8 OpenMesh::IO::_OMWriter_::get_version |
( |
| ) |
|
|
inlinestatic |
◆ store_binary_custom_chunk()
| size_t OpenMesh::IO::_OMWriter_::store_binary_custom_chunk |
( |
std::ostream & |
_os, |
|
|
BaseProperty & |
_bp, |
|
|
OMFormat::Chunk::Entity |
_entity, |
|
|
bool |
_swap |
|
) |
| const |
|
protected |
◆ write() [1/2]
| bool OpenMesh::IO::_OMWriter_::write |
( |
const std::string & |
_filename, |
|
|
BaseExporter & |
_be, |
|
|
const Options & |
_writeOptions, |
|
|
std::streamsize |
_precision = 6 |
|
) |
| const |
|
overrideprotectedvirtual |
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 95 of file OMWriter.cc.
◆ write() [2/2]
| bool OpenMesh::IO::_OMWriter_::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 133 of file OMWriter.cc.
◆ write_binary()
| bool OpenMesh::IO::_OMWriter_::write_binary |
( |
std::ostream & |
_os, |
|
|
BaseExporter & |
_be, |
|
|
const Options & |
_writeOptions |
|
) |
| const |
|
protected |
◆ magic_
| const OMFormat::uchar OpenMesh::IO::_OMWriter_::magic_ = "OM" |
|
staticprotected |
◆ version_
| const OMFormat::uint8 OpenMesh::IO::_OMWriter_::version_ = OMFormat::mk_version(2,2) |
|
staticprotected |
The documentation for this class was generated from the following files:
- OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/IO/writer/OMWriter.hh
- OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/IO/writer/OMWriter.cc