52 #ifndef __STLREADER_HH__ 53 #define __STLREADER_HH__ 63 #include <OpenMesh/Core/Utils/SingletonT.hh> 64 #include <OpenMesh/Core/IO/reader/BaseReader.hh> 96 {
return "Stereolithography Interface Format"; }
99 bool read(
const std::string& _filename,
103 bool read(std::istream& _in,
118 enum STL_Type { STLA, STLB, NONE };
119 STL_Type check_stl_type(
const std::string& _filename)
const;
void set_epsilon(float _eps)
float epsilon() const
Returns the threshold to be used for considering two point to be equal.
std::string get_description() const override
Returns a brief description of the file type that can be parsed.
std::string get_extensions() const override
Set options for reader/writer modules.
virtual ~_STLReader_()
Destructor.
_STLReader_ __STLReaderInstance
Declare the single entity of the STL reader.