 |
OpenMesh
|
57 #ifndef __OMWRITER_HH__
58 #define __OMWRITER_HH__
69 #include <OpenMesh/Core/IO/BinaryHelper.hh>
70 #include <OpenMesh/Core/System/config.h>
71 #include <OpenMesh/Core/Utils/SingletonT.hh>
72 #include <OpenMesh/Core/IO/OMFormat.hh>
73 #include <OpenMesh/Core/IO/IOManager.hh>
74 #include <OpenMesh/Core/IO/writer/BaseWriter.hh>
107 {
return "OpenMesh Format"; }
121 static const OMFormat::uchar magic_[3];
122 static const OMFormat::uint8 version_;
124 bool write(
const std::string&,
BaseExporter&,
Options, std::streamsize _precision = 6)
const;
129 size_t store_binary_custom_chunk( std::ostream&,
const BaseProperty&,
130 OMFormat::Chunk::Entity,
bool)
const;
139 OPENMESHDLLEXPORT _OMWriter_& OMWriter();
Set options for reader/writer modules.
Definition: Options.hh:96
Base class for exporter modules.
Definition: BaseExporter.hh:90
std::string get_extensions() const
Return file format's extension.
Definition: OMWriter.hh:109
size_t binary_size(const Mesh &_mesh, const std::string &_ext, Options _opt=Options::Default)
Get binary size of data.
Definition: MeshIO.hh:260
virtual ~_OMWriter_()
Destructor.
Definition: OMWriter.hh:104
Martin, 26.12.2004: 1) replaced resize(size()-1) with pop_back(), since the later is more efficient 2...
Definition: MeshItems.hh:64
Implementation of the OM format writer.
Definition: OMWriter.hh:97
std::string get_description() const
Return short description of the supported file format.
Definition: OMWriter.hh:106
Base class for all writer modules.
Definition: BaseWriter.hh:89
Definition: BaseProperty.hh:66
_OMWriter_ __OMWriterInstance
Declare the single entity of the OM writer.
Definition: OMWriter.cc:81
Project OpenMesh,
© Computer Graphics Group, RWTH Aachen.
Documentation generated using
doxygen
.