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