57 #ifndef __OMWRITER_HH__
58 #define __OMWRITER_HH__
69 #include <OpenMesh/Core/IO/BinaryHelper.hh>
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();
size_t binary_size(const Mesh &_mesh, const std::string &_ext, Options _opt=Options::Default)
Get binary size of data.
Set options for reader/writer modules.
std::string get_description() const
Return short description of the supported file format.
std::string get_extensions() const
Return file format's extension.
virtual ~_OMWriter_()
Destructor.
_OMWriter_ __OMWriterInstance
Declare the single entity of the OM writer.