57 #ifndef __OFFREADER_HH__ 58 #define __OFFREADER_HH__ 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;
_OFFReader_ __OFFReaderInstance
Declare the single entity of the OFF reader.
std::string get_extensions() const
Set options for reader/writer modules.
virtual ~_OFFReader_()
Destructor.
std::string get_description() const
Returns a brief description of the file type that can be parsed.
std::string get_magic() const
Return magic bits used to determine file format.