 |
OpenMesh
|
52 #ifndef __BASEWRITER_HH__
53 #define __BASEWRITER_HH__
64 #include <OpenMesh/Core/System/config.h>
65 #include <OpenMesh/Core/IO/Options.hh>
66 #include <OpenMesh/Core/IO/exporter/BaseExporter.hh>
87 typedef unsigned int Option;
93 virtual std::string get_description()
const = 0;
96 virtual std::string get_extensions()
const = 0;
103 virtual bool can_u_write(
const std::string& _filename)
const;
111 virtual bool write(
const std::string& _filename,
114 std::streamsize _precision = 6)
const = 0;
122 virtual bool write(std::ostream& _os,
125 std::streamsize _precision = 6)
const = 0;
Has (r) / store (w) vertex colors.
Definition: Options.hh:105
Has (r) / store (w) face colors.
Definition: Options.hh:109
Base class for exporter modules.
Definition: BaseExporter.hh:84
Has (r) / store (w) face normals.
Definition: Options.hh:108
Base class for all writer modules.
Definition: BaseWriter.hh:83
virtual size_t binary_size(BaseExporter &, Options) const
Returns expected size of file if binary format is supported else 0.
Definition: BaseWriter.hh:128
Has (r) / store (w) vertex normals.
Definition: Options.hh:104
Has (r) / store (w) texture coordinates.
Definition: Options.hh:106
virtual ~BaseWriter()
Destructor.
Definition: BaseWriter.hh:90
Definition: mconvert.cc:102
This file contains all code required to use Eigen3 vectors as Mesh vectors.
Definition: MeshItems.hh:59
Set options for reader/writer modules.
Definition: Options.hh:90
Project OpenMesh,
© Computer Graphics Group, RWTH Aachen.
Documentation generated using
doxygen
.