52 #ifndef __OBJWRITER_HH__ 53 #define __OBJWRITER_HH__ 63 #include <OpenMesh/Core/Utils/SingletonT.hh> 64 #include <OpenMesh/Core/IO/exporter/BaseExporter.hh> 65 #include <OpenMesh/Core/IO/writer/BaseWriter.hh> 94 bool write(
const std::string&,
BaseExporter&,
Options, std::streamsize _precision = 6)
const;
102 mutable std::string path_;
103 mutable std::string objName_;
105 mutable std::vector< OpenMesh::Vec3f > material_;
106 mutable std::vector< OpenMesh::Vec4f > materialA_;
std::string get_extensions() const
Return file format's extension.
virtual ~_OBJWriter_()
Destructor.
Set options for reader/writer modules.
_OBJWriter_ __OBJWriterinstance
Declare the single entity of the OBJ writer.
std::string get_description() const
Return short description of the supported file format.
size_t binary_size(BaseExporter &, Options) const
Returns expected size of file if binary format is supported else 0.