Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/physics/src/lib/graphics/importer/objModel.h @ 4178

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

orxonox/branches/physics: merged the Trunk into the physics Branche again:
merged with command:
svn merge ../trunk physics -r 3953:HEAD
no important conflicts

File size: 651 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(const char* fileName, float scaling = 1.0);
16  virtual ~OBJModel();
17
18 private:
19  // Variables
20  char* objPath;        //!< The Path where the obj and mtl-file are located.
21
22  ///// readin /////
23  bool importFile (const char* fileName);
24  bool readFromObjFile (const char* fileName);
25  bool readMtlLib (const char* matFile);
26};
27
28#endif /* _OBJ_MODEL_H */
Note: See TracBrowser for help on using the repository browser.