50 #ifndef __OBJWRITER_HH__
51 #define __OBJWRITER_HH__
60 #include <OpenMesh/Core/System/config.h>
61 #include <OpenMesh/Core/Utils/SingletonT.hh>
62 #include <OpenMesh/Core/IO/exporter/BaseExporter.hh>
63 #include <OpenMesh/Core/IO/writer/BaseWriter.hh>
92 bool write(
const std::string&,
BaseExporter&,
Options, std::streamsize _precision = 6)
const;
100 mutable std::string path_;
101 mutable std::string objName_;
103 mutable std::vector< OpenMesh::Vec3f > material_;
104 mutable std::vector< OpenMesh::Vec4f > materialA_;
106 int getMaterial(OpenMesh::Vec3f _color)
const;
108 int getMaterial(OpenMesh::Vec4f _color)
const;
121 OPENMESHDLLEXPORT _OBJWriter_& OBJWriter();