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"; }
 
  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;
 
  121   bool write_binary(std::ostream&, BaseExporter&, Options) 
const;
 
  124   size_t store_binary_custom_chunk(std::ostream&, 
BaseProperty&,
 
  125             OMFormat::Chunk::Entity, 
bool) 
const;
 
  134 OPENMESHDLLEXPORT _OMWriter_& OMWriter();
 
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:59
 
_OMWriter_ __OMWriterInstance
Declare the single entity of the OM writer.
Definition: OMWriter.cc:76
 
size_t binary_size(const Mesh &_mesh, const std::string &_ext, Options _opt=Options::Default)
Get binary size of data.
Definition: MeshIO.hh:251
 
Base class for exporter modules.
Definition: BaseExporter.hh:85
 
Set options for reader/writer modules.
Definition: Options.hh:91
 
Base class for all writer modules.
Definition: BaseWriter.hh:84
 
Implementation of the OM format writer.
Definition: OMWriter.hh:92
 
std::string get_extensions() const override
Return file format's extension.
Definition: OMWriter.hh:104
 
std::string get_description() const override
Return short description of the supported file format.
Definition: OMWriter.hh:101
 
virtual ~_OMWriter_()
Destructor.
Definition: OMWriter.hh:99
 
Abstract class defining the basic interface of a dynamic property.
Definition: BaseProperty.hh:61