57 #ifndef __OFFWRITER_HH__ 58 #define __OFFWRITER_HH__ 67 #include <OpenMesh/Core/Utils/SingletonT.hh> 68 #include <OpenMesh/Core/IO/exporter/BaseExporter.hh> 69 #include <OpenMesh/Core/IO/writer/BaseWriter.hh> 108 bool write(
const std::string&,
BaseExporter&,
Options, std::streamsize _precision = 6)
const;
116 void writeValue(std::ostream& _out,
int value)
const;
117 void writeValue(std::ostream& _out,
unsigned int value)
const;
118 void writeValue(std::ostream& _out,
float value)
const;
_OFFWriter_ __OFFWriterInstance
Declare the single entity of the OFF writer.
std::string get_extensions() const
Return file format's extension.
size_t binary_size(const Mesh &_mesh, const std::string &_ext, Options _opt=Options::Default)
Get binary size of data.
Set options for reader/writer modules.
std::string get_description() const
Return short description of the supported file format.