Page principale   Liste des namespaces   Hiérarchie des classes   Liste par ordre alphabétique   Liste des composants   Liste des fichiers   Composants   Déclarations  

ExManagerPVS.h

Aller à la documentation de ce fichier.
00001 /*
00002  * ExNihilo 3D Engine
00003  * 
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU Library General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017  *
00018  * Please read AUTHORS file !!!
00019  * 
00020  * $Id: ExManagerPVS.h,v 1.8 2002/08/01 18:45:56 data Exp $
00021  *
00022  */
00023 
00024 #ifndef __EXMANAGERPVS_H__
00025 #define __EXMANAGERPVS_H__
00026 //--------------------------------
00027 // File to include
00028 //--------------------------------
00029 #include "ExDefine.h"
00030 #include "ExMath.h"
00031 #include "ExCFrustum.h"
00032 #include "ExCObject.h"
00033 #include "ExCEntite.h"
00034 #include "ExCComposed.h"
00035 #include "ExCGizmo.h"
00036 #include "ExCGizmoFace.h"
00037 #include "ExCGizmoLine.h"
00038 #include "ExCGizmoPoint.h"
00039 #include "ExCGizmoRectangle.h"
00040 #include "ExCParticule.h"
00041 #include "ExCSystemeParticule.h"
00042 #include "ExSkeleton.h"
00043 #include "ExManagerId.h"
00044 //--------------------------------
00045 #include "ExCModel.h"
00046 #include "ExCModelMD2.h"
00047 #include "ExCModelMD3.h"
00048 #include "ExCModelASE.h"
00049 #include "ExCModelASC.h"
00050 #include "ExCModel3DS.h"
00051 #include "ExCModelOBJ.h"
00052 //--------------------------------
00053 class ExManagerPVS
00054 {
00055 private:
00056 //--------------------------------
00057 // Variable
00058 //--------------------------------
00059         ExManagerId                             *ManagerId      ;
00060         ExCFrustum                              Frustrum;
00061 
00062         std::vector<ExCEntite *> *m_VecEntite;
00063         std::vector<ExCEntite *>::iterator m_ItVecEntite;
00064 
00065                 
00066         std::vector<ExCSystemeParticule *> *m_VecSystemeParticule;
00067         
00068         std::vector<ExCModel *>                         *m_VecPModel;
00069         std::vector<ExCModel *>::iterator       m_ItVecPModel;
00070 public:
00071 //--------------------------------
00072 // Constructor // Destructor
00073 //--------------------------------
00074         ExManagerPVS(void);
00075         ~ExManagerPVS(void);
00076 //--------------------------------
00077 // Methode
00078 //--------------------------------
00079         void Reset(void);
00080         std::ostrstream *Consol;
00081         void (*WriteToConsol)(const char *Label);
00082 
00083         inline void SetManagerId(ExManagerId *Id){ManagerId     = Id;}
00084 
00085         void DrawObjectInPVS(void);
00086         void DrawAllObject(void);
00087         inline void SetVecEntite(std::vector<ExCEntite *> * vec){m_VecEntite=vec;}
00088         inline void SetVecSystemeParticule(std::vector<ExCSystemeParticule*> * vec){m_VecSystemeParticule=vec;}
00089 };
00090 #endif //__EXMANAGERPVS_H__

Généré le Tue Aug 6 20:25:30 2002 pour ExNihilo par doxygen1.2.17