 |
OpenMesh
|
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;
121 bool write_binary(std::ostream&, BaseExporter&, Options)
const;
124 size_t store_binary_custom_chunk( std::ostream&,
const BaseProperty&,
125 OMFormat::Chunk::Entity,
bool)
const;
134 OPENMESHDLLEXPORT _OMWriter_& OMWriter();
Base class for exporter modules.
Definition: BaseExporter.hh:84
std::string get_description() const
Return short description of the supported file format.
Definition: OMWriter.hh:101
std::string get_extensions() const
Return file format's extension.
Definition: OMWriter.hh:104
Implementation of the OM format writer.
Definition: OMWriter.hh:91
_OMWriter_ __OMWriterInstance
Declare the single entity of the OM writer.
Definition: OMWriter.cc:76
Base class for all writer modules.
Definition: BaseWriter.hh:83
Definition: BaseProperty.hh:60
virtual ~_OMWriter_()
Destructor.
Definition: OMWriter.hh:99
This file contains all code required to use Eigen3 vectors as Mesh vectors.
Definition: MeshItems.hh:59
size_t binary_size(const Mesh &_mesh, const std::string &_ext, Options _opt=Options::Default)
Get binary size of data.
Definition: MeshIO.hh:268
Set options for reader/writer modules.
Definition: Options.hh:90
Project OpenMesh,
© Computer Graphics Group, RWTH Aachen.
Documentation generated using
doxygen
.