52 #ifndef __OBJWRITER_HH__ 
   53 #define __OBJWRITER_HH__ 
   62 #include <OpenMesh/Core/System/config.h> 
   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 override;
 
   96   bool write(std::ostream&, 
BaseExporter&, 
Options, std::streamsize _precision = 6) 
const override;
 
  102   mutable std::string path_;
 
  103   mutable std::string objName_;
 
  105   mutable std::vector< OpenMesh::Vec3f > material_;
 
  106   mutable std::vector< OpenMesh::Vec4f > materialA_;
 
  123 OPENMESHDLLEXPORT _OBJWriter_& OBJWriter();
 
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:59
 
_OBJWriter_ __OBJWriterinstance
Declare the single entity of the OBJ writer.
Definition: OBJWriter.cc:69
 
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
 
This class defines the OBJ writer.
Definition: OBJWriter.hh:83
 
size_t binary_size(BaseExporter &, Options) const override
Returns expected size of file if binary format is supported else 0.
Definition: OBJWriter.hh:98
 
std::string get_extensions() const override
Return file format's extension.
Definition: OBJWriter.hh:92
 
std::string get_description() const override
Return short description of the supported file format.
Definition: OBJWriter.hh:91
 
virtual ~_OBJWriter_()
Destructor.
Definition: OBJWriter.hh:89