 |
OpenMesh
|
57 #ifndef __OFFREADER_HH__
58 #define __OFFREADER_HH__
68 #include <OpenMesh/Core/System/config.h>
69 #include <OpenMesh/Core/Utils/SingletonT.hh>
70 #include <OpenMesh/Core/IO/reader/BaseReader.hh>
130 bool read(
const std::string& _filename,
134 bool can_u_read(
const std::string& _filename)
const;
140 bool can_u_read(std::istream& _is)
const;
145 void readValue(std::istream& _in,
float& _value)
const;
146 void readValue(std::istream& _in,
int& _value)
const;
147 void readValue(std::istream& _in,
unsigned int& _value)
const;
149 int getColorType(std::string & _line,
bool _texCoordsAvailable)
const;
163 OPENMESHDLLEXPORT _OFFReader_& OFFReader();
_OFFReader_ __OFFReaderInstance
Declare the single entity of the OFF reader.
Definition: OFFReader.cc:93
Set options for reader/writer modules.
Definition: Options.hh:96
Base class for importer modules.
Definition: BaseImporter.hh:89
std::string get_extensions() const
Returns a string with the accepted file extensions separated by a whitespace and in small caps.
Definition: OFFReader.hh:127
std::string get_description() const
Returns a brief description of the file type that can be parsed.
Definition: OFFReader.hh:126
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 reader modules.
Definition: BaseReader.hh:95
virtual ~_OFFReader_()
Destructor.
Definition: OFFReader.hh:124
std::string get_magic() const
Return magic bits used to determine file format.
Definition: OFFReader.hh:128
Implementation of the OFF format reader.
Definition: OFFReader.hh:118
Project OpenMesh,
© Computer Graphics Group, RWTH Aachen.
Documentation generated using
doxygen
.