Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3066 in orxonox.OLD for orxonox/trunk/importer/object.h


Ignore:
Timestamp:
Dec 3, 2004, 3:19:55 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk/importer: re-arranged the Methods to a more logical order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/importer/object.h

    r3065 r3066  
    2929  ~Object ();
    3030 
    31   bool importFile (char* fileName);
    32   bool initialize (void);
    33   bool finalize(void);
    3431  void draw (void) const;
    3532  void draw (int groupNumber) const;
     
    4845  {
    4946    int vertexCount;
    50 
    5147    FaceElement* firstElem;
    5248
     
    8278  int groupCount;
    8379
    84   char* objFileName;
    85   char* mtlFileName;
    86 
    8780  Material* material;
    8881  float scaleFactor;
    8982
    9083  char* objPath;
     84  char* objFileName;
     85  char* mtlFileName;
    9186  ifstream* OBJ_FILE;
    9287  ifstream* MTL_FILE;
    9388
     89  bool initialize (void);
    9490  bool initGroup(Group* group);
    95   bool finalizeGroup (Group* group);
    96 
     91  bool initFace (Face* face);
     92  bool cleanup(void);
     93  bool cleanupGroup(Group* group);
     94  bool cleanupFace(Face* face);
    9795
    9896  ///// readin ///
     97  bool importFile (char* fileName);
    9998  bool readFromObjFile (char* fileName);
    10099 
     100  bool readGroup (char* groupString);
    101101  bool readVertex (char* vertexString);
    102102  bool readFace (char* faceString);
    103   bool readVT (char* vtString);
    104103  bool readVertexNormal (char* normalString);
    105104  bool readVertexTexture (char* vTextureString);
    106   bool readGroup (char* groupString);
    107105  bool readMtlLib (char* matFile);
    108106  bool readUseMtl (char* mtlString);
    109107
    110   bool initFace (Face* face);
    111108  bool importToGL (void);
    112109  bool addGLElement (char* elementString);
Note: See TracChangeset for help on using the changeset viewer.