OpenMesh
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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.
- Public Member Functions inherited from OpenMesh::IO::BaseWriter
virtual ~BaseWriter ()
 Destructor.
virtual bool can_u_write (const std::string &_filename) const
 Returns true if writer can parse _filename (checks extension)

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
- Protected Member Functions inherited from OpenMesh::IO::BaseWriter
bool check (BaseExporter &_be, Options _opt) const

Static Protected Attributes

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

Additional Inherited Members

- Public Types inherited from OpenMesh::IO::BaseWriter
typedef unsigned int Option

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:

acg pic Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .