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;
std::string get_description() const
Return short description of the supported file format.
Definition: OMWriter.hh:106
size_t binary_size(const Mesh &_mesh, const std::string &_ext, Options _opt=Options::Default)
Get binary size of data.
Definition: MeshIO.hh:273
Base class for all writer modules.
Definition: BaseWriter.hh:88
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:64
virtual ~_OMWriter_()
Destructor.
Definition: OMWriter.hh:104
std::string get_extensions() const
Return file format's extension.
Definition: OMWriter.hh:109
_OMWriter_ __OMWriterInstance
Declare the single entity of the OM writer.
Definition: OMWriter.cc:81
Base class for exporter modules.
Definition: BaseExporter.hh:89
Abstract class defining the basic interface of a dynamic property.
Definition: BaseProperty.hh:65
Set options for reader/writer modules.
Definition: Options.hh:95
Implementation of the OM format writer.
Definition: OMWriter.hh:96