8 class Loader : public QThread
12 explicit Loader(QObject* parent, const QString& filename, bool is_reload);
18 /* Reads an ASCII stl, starting from the start of the file*/
19 Mesh* read_stl_ascii(QFile& file);
20 /* Reads a binary stl, assuming we're at the end of the header */
21 Mesh* read_stl_binary(QFile& file);
24 void loaded_file(QString filename);
25 void got_mesh(Mesh* m, bool is_reload);
28 void error_empty_mesh();
29 void warning_confusing_stl();
30 void error_missing_file();
33 const QString filename;
36 /* Used to warn on binary STLs that begin with the word 'solid'" */