OpenMesh
OpenMesh::IO::_OMWriter_ Class Reference

Implementation of the OM format writer. More...

#include <OpenMesh/Core/IO/writer/OMWriter.hh>

Inheritance diagram for OpenMesh::IO::_OMWriter_:
Collaboration diagram for OpenMesh::IO::_OMWriter_:

List of all members.

Public Member Functions

 _OMWriter_ ()
 Constructor.
virtual ~_OMWriter_ ()
 Destructor.
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.
size_t binary_size (BaseExporter &_be, Options _opt) const
 Returns expected size of file if binary format is supported else 0.

Protected Member Functions

bool write (const std::string &, BaseExporter &, Options) const
 Write to file _filename. Data source specified by BaseExporter _be.
bool write_binary (std::ostream &, BaseExporter &, Options) const
size_t store_binary_custom_chunk (std::ostream &, const BaseProperty &, OMFormat::Chunk::Entity, bool) const

Static Protected Attributes

static const OMFormat::uchar magic_ [3] = "OM"
static const OMFormat::uint8 version_ = OMFormat::mk_version(1,2)

Detailed Description

Implementation of the OM format writer.

This class is singleton'ed by SingletonT to OMWriter.


The documentation for this class was generated from the following files: