 |
OpenMesh
|
57 #ifndef __BASEWRITER_HH__
58 #define __BASEWRITER_HH__
69 #include <OpenMesh/Core/System/config.h>
70 #include <OpenMesh/Core/IO/Options.hh>
71 #include <OpenMesh/Core/IO/exporter/BaseExporter.hh>
92 typedef unsigned int Option;
98 virtual std::string get_description()
const = 0;
101 virtual std::string get_extensions()
const = 0;
108 virtual bool can_u_write(
const std::string& _filename)
const;
116 virtual bool write(
const std::string& _filename,
119 std::streamsize _precision = 6)
const = 0;
127 virtual bool write(std::ostream& _os,
130 std::streamsize _precision = 6)
const = 0;
@ VertexTexCoord
Has (r) / store (w) texture coordinates.
Definition: Options.hh:111
Set options for reader/writer modules.
Definition: Options.hh:95
Definition: mconvert.cc:107
Base class for exporter modules.
Definition: BaseExporter.hh:89
@ FaceNormal
Has (r) / store (w) face normals.
Definition: Options.hh:113
@ FaceColor
Has (r) / store (w) face colors.
Definition: Options.hh:114
Martin, 26.12.2004: 1) replaced resize(size()-1) with pop_back(), since the later is more efficient 2...
Definition: MeshItems.hh:64
Base class for all writer modules.
Definition: BaseWriter.hh:88
virtual size_t binary_size(BaseExporter &, Options) const
Returns expected size of file if binary format is supported else 0.
Definition: BaseWriter.hh:133
@ VertexColor
Has (r) / store (w) vertex colors.
Definition: Options.hh:110
@ VertexNormal
Has (r) / store (w) vertex normals.
Definition: Options.hh:109
virtual ~BaseWriter()
Destructor.
Definition: BaseWriter.hh:95
Project OpenMesh,
© Computer Graphics Group, RWTH Aachen.
Documentation generated using
doxygen
.