Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/trackManager/src/lib/graphics/importer/objModel.h @ 3498

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

orxonox/branches/trackManager: merged trunk back to tracManager R3440:3497 → 3498
merged with command:
svn merge ../trunk/ trackManager/ -r 3430:HEAD
conflicts resolved in favor of the Trunk

File size: 806 bytes
Line 
1/*!
2  \file objModel.h
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
9#include "model.h"
10
11//! A Class, that handles the parsing of an obj-file, and inclusion as a Model.
12class OBJModel : public Model
13{
14 public:
15  OBJModel(char* fileName);
16  OBJModel(char* fileName, float scaling);
17  virtual ~OBJModel();
18  void initializeOBJ(void);
19
20 private:
21  // Variables
22  char* objPath;        //!< The Path where the obj and mtl-file are located.
23  char* objFileName;    //!< The Name of the obj-file.
24  char* mtlFileName;    //!< The Name of the mtl-file (parsed out of the obj-file)
25
26  ///// readin /////
27  bool importFile (char* fileName);
28  bool readFromObjFile (void);
29  bool readMtlLib (char* matFile);
30
31};
32
33#endif /* _OBJ_MODEL_H */
Note: See TracBrowser for help on using the repository browser.