17 #ifndef _GAZEBO_STLLOADER_HH_    18 #define _GAZEBO_STLLOADER_HH_    26 #define LINE_MAX_LEN 256    27 #define COR3_MAX 200000    29 #define FACE_MAX 200000    50       public: 
virtual Mesh *Load(
const std::string &_filename);
    56       private: 
bool ReadAscii(FILE *_filein, 
Mesh *_mesh);
    62       private: 
bool ReadBinary(FILE *_filein, 
Mesh *_mesh);
    68       private: 
bool Leqi(
char* _string1, 
char* _string2);
    76       private: 
int RcolFind(
float _a[][
COR3_MAX], 
int _m, 
int _n, 
float _r[]);
    81       private: uint32_t LongIntRead(FILE *_filein);
    87       private: 
bool ShortIntRead(FILE *_filein, uint16_t &_value);
    93       private: 
bool FloatRead(FILE *_filein, 
double &_value);
 A 3D mesh. 
Definition: Mesh.hh:44
 
Base class for loading meshes. 
Definition: MeshLoader.hh:36
 
Forward declarations for the common classes. 
Definition: Animation.hh:33
 
#define COR3_MAX
Definition: STLLoader.hh:27
 
Class used to load STL mesh files. 
Definition: STLLoader.hh:40