Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/graphics/importer/objModel.h @ 6469

Last change on this file since 6469 was 6022, checked in by bensch, 19 years ago

orxonox/trunk: merged the NewModel branche back to the trunk.
merged with command
svn merge branches/newModel/ trunk/ -r 6016:HEAD
no conflicts

File size: 662 bytes
RevLine 
[3396]1/*!
[3454]2  \file objModel.h
[3396]3  \brief Contains the OBJ-model Class, that reads in a Model from a .obj-file
4*/
5
6#ifndef _OBJMODEL_H
7#define _OBJMODEL_H
8
[6022]9#include "static_model.h"
[3396]10
11//! A Class, that handles the parsing of an obj-file, and inclusion as a Model.
[6022]12class OBJModel : public StaticModel
[3396]13{
14 public:
[3916]15  OBJModel(const char* fileName, float scaling = 1.0);
[3396]16  virtual ~OBJModel();
17
18 private:
19  ///// readin /////
[3916]20  bool importFile (const char* fileName);
[4117]21  bool readFromObjFile (const char* fileName);
[3916]22  bool readMtlLib (const char* matFile);
[4468]23
24 private:
25  char*       objPath;     //!< The Path where the obj and mtl-file are located.
[3396]26};
27
28#endif /* _OBJ_MODEL_H */
Note: See TracBrowser for help on using the repository browser.