50 #ifndef __OFFREADER_HH__
51 #define __OFFREADER_HH__
62 #include <OpenMesh/Core/System/config.h>
63 #include <OpenMesh/Core/Utils/SingletonT.hh>
64 #include <OpenMesh/Core/IO/reader/BaseReader.hh>
127 bool read(
const std::string& _filename,
131 bool can_u_read(
const std::string& _filename)
const;
137 bool can_u_read(std::istream& _is)
const;
139 bool read_ascii(std::istream& _in,
BaseImporter& _bi)
const;
140 bool read_binary(std::istream& _in,
BaseImporter& _bi,
bool swap)
const;
142 void readValue(std::istream& _in,
float& _value)
const;
143 void readValue(std::istream& _in,
int& _value)
const;
144 void readValue(std::istream& _in,
unsigned int& _value)
const;
146 int getColorType(std::string & _line,
bool _texCoordsAvailable)
const;
160 OPENMESHDLLEXPORT _OFFReader_& OFFReader();