52 #ifndef __OMWRITER_HH__ 53 #define __OMWRITER_HH__ 64 #include <OpenMesh/Core/IO/BinaryHelper.hh> 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"; }
107 bool write(std::ostream&,
BaseExporter&,
Options, std::streamsize _precision = 6)
const override;
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 override;
124 size_t store_binary_custom_chunk( std::ostream&,
const BaseProperty&,
125 OMFormat::Chunk::Entity,
bool)
const;
size_t binary_size(const Mesh &_mesh, const std::string &_ext, Options _opt=Options::Default)
Get binary size of data.
_OMWriter_ __OMWriterInstance
Declare the single entity of the OM writer.
std::string get_extensions() const override
Return file format's extension.
Set options for reader/writer modules.
virtual ~_OMWriter_()
Destructor.
std::string get_description() const override
Return short description of the supported file format.