Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals

/Users/blackie/Documents/myRepository/phobosengine-vc2005/phobosengine/phobosengine/SGFMeshModel.h

Go to the documentation of this file.
00001 
00002 
00003 #ifndef SGFMESHMODEL_H
00004 #define SGFMESHMODEL_H
00005 
00006 
00007 #include "MeshModel.h"
00008 #include "SGFFile.h"
00009 #include "Vector3f.h"
00010 
00011 
00012 namespace pge {
00013 
00014 
00015         class SGFFile;
00016         class ShaderObject;
00017 
00018 
00019         class SGFMeshModel : public MeshModel {
00020 
00021         public:
00022                 //************************************************************************
00023                 //
00024                 // Constructor
00025                 //
00026                 //************************************************************************
00028                 SGFMeshModel(SGFFile *sgfFile, ShaderObject *shader = NULL);
00029 
00030                 SGFMeshModel(SGFFile *sgfFile, Vector3f bottomCenter, float scaleFactor, ShaderObject *shader = NULL);
00031 
00032 
00033                 //************************************************************************
00034                 //
00035                 // Destructor
00036                 //
00037                 //************************************************************************
00039                 virtual ~SGFMeshModel(void);
00040 
00041 
00042                 //************************************************************************
00043                 //
00044                 // Functions
00045                 //
00046                 //************************************************************************
00047 
00048 
00049         private:
00050                 //************************************************************************
00051                 //
00052                 // Functions
00053                 //
00054                 //************************************************************************
00055                 void convertMeshes(SGFFile *sgfFile, ShaderObject *shader);
00056                 bool isSingleTextured(SGFFile::SGFMesh *mesh);
00057 
00058 
00059                 //************************************************************************
00060                 //
00061                 // Variables
00062                 //
00063                 //************************************************************************
00064         };
00065 };
00066 
00067 #endif

Generated on Mon Oct 16 12:08:11 2006 for Phobosengine by doxygen 1.3.4