57 #ifndef __STLREADER_HH__ 58 #define __STLREADER_HH__ 67 #include <OpenMesh/Core/System/config.h> 68 #include <OpenMesh/Core/Utils/SingletonT.hh> 69 #include <OpenMesh/Core/IO/reader/BaseReader.hh> 101 {
return "Stereolithography Interface Format"; }
104 bool read(
const std::string& _filename,
108 bool read(std::istream& _in,
123 enum STL_Type { STLA, STLB, NONE };
124 STL_Type check_stl_type(
const std::string& _filename)
const;
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:64
std::string get_description() const
Returns a brief description of the file type that can be parsed.
Definition: STLReader.hh:100
Base class for reader modules.
Definition: BaseReader.hh:94
std::string get_extensions() const
Returns a string with the accepted file extensions separated by a whitespace and in small caps...
Definition: STLReader.hh:102
_STLReader_ __STLReaderInstance
Declare the single entity of the STL reader.
Definition: STLReader.cc:84
void set_epsilon(float _eps)
Set the threshold to be used for considering two point to be equal.
Definition: STLReader.hh:114
Implementation of the STL format reader.
Definition: STLReader.hh:89
Set options for reader/writer modules.
Definition: Options.hh:95
Base class for importer modules.
Definition: BaseImporter.hh:88
float epsilon() const
Returns the threshold to be used for considering two point to be equal.
Definition: STLReader.hh:117
virtual ~_STLReader_()
Destructor.
Definition: STLReader.hh:97