50 #ifndef __OMWRITER_HH__
51 #define __OMWRITER_HH__
62 #include <OpenMesh/Core/IO/BinaryHelper.hh>
63 #include <OpenMesh/Core/System/config.h>
64 #include <OpenMesh/Core/Utils/SingletonT.hh>
65 #include <OpenMesh/Core/IO/OMFormat.hh>
66 #include <OpenMesh/Core/IO/IOManager.hh>
67 #include <OpenMesh/Core/IO/writer/BaseWriter.hh>
100 {
return "OpenMesh Format"; }
114 static const OMFormat::uchar magic_[3];
115 static const OMFormat::uint8 version_;
117 bool write(
const std::string&,
BaseExporter&,
Options, std::streamsize _precision = 6)
const;
122 size_t store_binary_custom_chunk( std::ostream&,
const BaseProperty&,
123 OMFormat::Chunk::Entity,
bool)
const;
132 OPENMESHDLLEXPORT _OMWriter_& OMWriter();
Abstract class defining the basic interface of a dynamic property.
Definition: BaseProperty.hh:58
_OMWriter_ __OMWriterInstance
Declare the single entity of the OM writer.
Definition: OMWriter.cc:74
virtual ~_OMWriter_()
Destructor.
Definition: OMWriter.hh:97
Set options for reader/writer modules.
Definition: Options.hh:88
size_t binary_size(const Mesh &_mesh, const std::string &_ext, Options _opt=Options::Default)
Get binary size of data.
Definition: MeshIO.hh:253
std::string get_description() const
Return short description of the supported file format.
Definition: OMWriter.hh:99
Base class for exporter modules.
Definition: BaseExporter.hh:82
Base class for all writer modules.
Definition: BaseWriter.hh:81
std::string get_extensions() const
Return file format's extension.
Definition: OMWriter.hh:102
Implementation of the OM format writer.
Definition: OMWriter.hh:89