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.11 2002/08/26 00:52:55 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 "ExCGizmo.h" 00034 #include "ExCGizmoFace.h" 00035 #include "ExCGizmoLine.h" 00036 #include "ExCGizmoPoint.h" 00037 #include "ExCGizmoRectangle.h" 00038 #include "ExCParticule.h" 00039 #include "ExCSystemeParticule.h" 00040 #include "ExManagerId.h" 00041 //-------------------------------- 00042 #include "ExCModel.h" 00043 #include "ExManager.h" 00044 //-------------------------------- 00045 class ExManagerPVS : public ExManager 00046 { 00047 private: 00048 //-------------------------------- 00049 // Variable 00050 //-------------------------------- 00051 ExManagerId *ManagerId ; 00052 ExCFrustum Frustrum; 00053 00054 std::vector<ExCSystemeParticule *> *m_VecSystemeParticule; 00055 00056 public: 00057 //-------------------------------- 00058 // Constructor // Destructor 00059 //-------------------------------- 00060 ExManagerPVS(void); 00061 ~ExManagerPVS(void); 00062 //-------------------------------- 00063 // Methode 00064 //-------------------------------- 00065 void Init(void); 00066 void Reset(void); 00067 00068 inline void SetManagerId(ExManagerId *Id){ManagerId = Id;} 00069 00070 void DrawObjectInPVS(void); 00071 void DrawAllObject(void); 00072 inline void SetVecSystemeParticule(std::vector<ExCSystemeParticule*> * vec){m_VecSystemeParticule=vec;} 00073 }; 00074 #endif //__EXMANAGERPVS_H__