Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

GXMMaker.h

Go to the documentation of this file.
00001 #ifndef __GXMMAKER
00002 #define __GXMMAKER
00003 
00004 
00005 
00006 
00007 #include <iostream>
00008 #include <fstream>
00009 #include <string>
00010 #include <vector>
00011 #include <cmath>
00012 using namespace std;
00013 
00014 #include "c3ds.h"
00015 
00016 #include "..\GraphX\Headers\GXModel.h"
00017 #include "..\GraphX\Headers\GXSizeableArray.h"
00018 
00019 
00020 class CGXMMaker : public C3dsFileLoader
00021 {
00022 public:
00023         CGXMMaker();
00024         virtual ~CGXMMaker();
00025 
00026 protected:      
00027         virtual void            User3dVert(float x, float y, float z);
00028         virtual void            User3dFace(unsigned short A, unsigned short B, unsigned short C, unsigned short Flags);
00029         virtual void            UserEndOfFile();
00030         
00031 private:
00032         void                            OnError(char* szError);
00033 
00034         CGXSizeableArray<GXVertex>  m_Verts;
00035         CGXSizeableArray<UINT>          m_Indices;
00036 
00037         UINT                                            m_nVerts;
00038         UINT                                            m_nIndices;
00039 };
00040 
00041 
00042 
00043 #endif

Generated on Thu May 23 17:51:00 2002 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001