57#ifndef __OBJWRITER_HH__
58#define __OBJWRITER_HH__
67#include <OpenMesh/Core/System/config.h>
68#include <OpenMesh/Core/Utils/SingletonT.hh>
69#include <OpenMesh/Core/IO/exporter/BaseExporter.hh>
70#include <OpenMesh/Core/IO/writer/BaseWriter.hh>
99 bool write(
const std::string&,
BaseExporter&,
Options, std::streamsize _precision = 6)
const;
107 mutable std::string path_;
108 mutable std::string objName_;
110 mutable std::vector< OpenMesh::Vec3f > material_;
111 mutable std::vector< OpenMesh::Vec4f > materialA_;
128OPENMESHDLLEXPORT _OBJWriter_& OBJWriter();
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition MeshItems.hh:64
VectorT< float, 4 > Vec4f
4-float vector
Definition Vector11T.hh:788
VectorT< float, 3 > Vec3f
3-float vector
Definition Vector11T.hh:769
This namespace contains functions for reading and writing polygonal meshes and a list of supported fi...
_OBJWriter_ __OBJWriterinstance
Declare the single entity of the OBJ writer.
Definition OBJWriter.cc:74
Base class for exporter modules.
Definition BaseExporter.hh:90
Set options for reader/writer modules.
Definition Options.hh:96
Base class for all writer modules.
Definition BaseWriter.hh:89
size_t binary_size(BaseExporter &, Options) const
Returns expected size of file if binary format is supported else 0.
Definition OBJWriter.hh:103
std::string get_description() const
Return short description of the supported file format.
Definition OBJWriter.hh:96
std::string get_extensions() const
Return file format's extension.
Definition OBJWriter.hh:97
virtual ~_OBJWriter_()
Destructor.
Definition OBJWriter.hh:94