 |
OpenMesh
|
52 #ifndef __OFFREADER_HH__
53 #define __OFFREADER_HH__
63 #include <OpenMesh/Core/System/config.h>
64 #include <OpenMesh/Core/Utils/SingletonT.hh>
65 #include <OpenMesh/Core/IO/reader/BaseReader.hh>
125 bool read(
const std::string& _filename,
129 bool can_u_read(
const std::string& _filename)
const;
135 bool can_u_read(std::istream& _is)
const;
140 void readValue(std::istream& _in,
float& _value)
const;
141 void readValue(std::istream& _in,
int& _value)
const;
142 void readValue(std::istream& _in,
unsigned int& _value)
const;
144 int getColorType(std::string & _line,
bool _texCoordsAvailable)
const;
158 OPENMESHDLLEXPORT _OFFReader_& OFFReader();
std::string get_magic() const
Return magic bits used to determine file format.
Definition: OFFReader.hh:123
_OFFReader_ __OFFReaderInstance
Declare the single entity of the OFF reader.
Definition: OFFReader.cc:88
virtual ~_OFFReader_()
Destructor.
Definition: OFFReader.hh:119
std::string get_extensions() const
Returns a string with the accepted file extensions separated by a whitespace and in small caps.
Definition: OFFReader.hh:122
Implementation of the OFF format reader.
Definition: OFFReader.hh:112
Base class for reader modules.
Definition: BaseReader.hh:89
std::string get_description() const
Returns a brief description of the file type that can be parsed.
Definition: OFFReader.hh:121
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
Base class for importer modules.
Definition: BaseImporter.hh:83
Project OpenMesh,
© Computer Graphics Group, RWTH Aachen.
Documentation generated using
doxygen
.