52 #ifndef __OMWRITER_HH__ 53 #define __OMWRITER_HH__ 64 #include <OpenMesh/Core/IO/BinaryHelper.hh> 65 #include <OpenMesh/Core/System/config.h> 66 #include <OpenMesh/Core/Utils/SingletonT.hh> 67 #include <OpenMesh/Core/IO/OMFormat.hh> 68 #include <OpenMesh/Core/IO/IOManager.hh> 69 #include <OpenMesh/Core/IO/writer/BaseWriter.hh> 102 {
return "OpenMesh Format"; }
111 static OMFormat::uint8 get_version() {
return version_; }
116 static const OMFormat::uchar magic_[3];
117 static const OMFormat::uint8 version_;
119 bool write(
const std::string&,
BaseExporter&,
Options, std::streamsize _precision = 6)
const;
124 size_t store_binary_custom_chunk( std::ostream&,
const BaseProperty&,
125 OMFormat::Chunk::Entity,
bool)
const;
std::string get_extensions() const
Return file format's extension.
Definition: OMWriter.hh:104
std::string get_description() const
Return short description of the supported file format.
Definition: OMWriter.hh:101
Abstract class defining the basic interface of a dynamic property.
Definition: BaseProperty.hh:60
_OMWriter_ __OMWriterInstance
Declare the single entity of the OM writer.
Definition: OMWriter.cc:76
Base class for exporter modules.
Definition: BaseExporter.hh:84
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:59
Set options for reader/writer modules.
Definition: Options.hh:90
virtual ~_OMWriter_()
Destructor.
Definition: OMWriter.hh:99
Implementation of the OM format writer.
Definition: OMWriter.hh:91
Base class for all writer modules.
Definition: BaseWriter.hh:83
size_t binary_size(const Mesh &_mesh, const std::string &_ext, Options _opt=Options::Default)
Get binary size of data.
Definition: MeshIO.hh:268