50 #ifndef __STLREADER_HH__
51 #define __STLREADER_HH__
60 #include <OpenMesh/Core/System/config.h>
61 #include <OpenMesh/Core/Utils/SingletonT.hh>
62 #include <OpenMesh/Core/IO/reader/BaseReader.hh>
97 std::string get_description()
const
98 {
return "Stereolithography Interface Format"; }
101 bool read(
const std::string& _filename,
105 bool read(std::istream& _in,
120 enum STL_Type { STLA, STLB, NONE };
121 STL_Type check_stl_type(
const std::string& _filename)
const;
123 bool read_stla(
const std::string& _filename, BaseImporter& _bi)
const;
124 bool read_stla(std::istream& _in, BaseImporter& _bi)
const;
125 bool read_stlb(
const std::string& _filename, BaseImporter& _bi)
const;
126 bool read_stlb(std::istream& _in, BaseImporter& _bi)
const;
140 OPENMESHDLLEXPORT _STLReader_& STLReader();