#include <ExManagerPVS.h>
Public Methods | |
ExManagerPVS (void) | |
~ExManagerPVS (void) | |
void | Reset (void) |
void | SetManagerId (ExManagerId *Id) |
void | DrawObjectInPVS (void) |
void | DrawAllObject (void) |
void | SetVecEntite (std::vector< ExCEntite * > *vec) |
void | SetVecSystemeParticule (std::vector< ExCSystemeParticule * > *vec) |
Data Fields | |
std::ostrstream * | Consol |
void(* | WriteToConsol )(const char *Label) |
Private Attributes | |
ExManagerId * | ManagerId |
ExCFrustum | Frustrum |
std::vector< ExCEntite * > * | m_VecEntite |
std::vector< ExCEntite * >::iterator | m_ItVecEntite |
std::vector< ExCSystemeParticule * > * | m_VecSystemeParticule |
std::vector< ExCModel * > * | m_VecPModel |
std::vector< ExCModel * >::iterator | m_ItVecPModel |
|
Definition at line 26 of file ExManagerPVS.cpp. References Reset().
00027 { 00028 Reset(); 00029 } |
|
Definition at line 31 of file ExManagerPVS.cpp.
00032 { 00033 } |
|
Definition at line 35 of file ExManagerPVS.cpp. References ExCFrustum::CalculateFrustum(), DrawAllObject(), Frustrum, Guard, m_VecEntite, m_VecSystemeParticule, uint, and UnGuard. Referenced by DrawAllObject(), and ExManagerOutput::DrawScene().
00036 { 00037 Guard(void ExManagerPVS::DrawAllObject(void)) 00038 uint i=0; 00039 Frustrum.CalculateFrustum(); 00040 glPushMatrix(); 00041 //--------------------------- 00042 //OBJECT 00043 //--------------------------- 00044 glRotatef(-90,1,0,0);//just for align with 3ds max cord 00045 while (i < m_VecEntite->size()) 00046 { 00047 m_VecEntite->at(i)->Draw(); 00048 i++; 00049 } 00050 glPopMatrix(); 00051 //--------------------------- 00052 //PARTICULE SYSTEM 00053 //--------------------------- 00054 glPushMatrix(); 00055 i=0; 00056 while(i<m_VecSystemeParticule->size()) 00057 { 00058 m_VecSystemeParticule->at(i)->Draw(); 00059 i++; 00060 } 00061 glPopMatrix(); 00062 UnGuard 00063 } |
|
|
|
Definition at line 66 of file ExManagerPVS.cpp. References m_VecEntite, and m_VecSystemeParticule. Referenced by ExManagerPVS(), and ExManagerCommand::ProcessAction().
00067 { 00068 m_VecEntite= new std::vector<ExCEntite *>; 00069 m_VecSystemeParticule = new std::vector<ExCSystemeParticule *>; 00070 } |
|
Definition at line 83 of file ExManagerPVS.h. Referenced by SetManagerLink().
00083 {ManagerId = Id;} |
|
Definition at line 87 of file ExManagerPVS.h. References m_VecEntite. Referenced by ExManagerEntite::RecordToManagerPVS().
00087 {m_VecEntite=vec;} |
|
Definition at line 88 of file ExManagerPVS.h. References m_VecSystemeParticule. Referenced by ExManagerParticuleSystem::RecordToManagerPVS().
00088 {m_VecSystemeParticule=vec;} |
|
Definition at line 80 of file ExManagerPVS.h. Referenced by SetManagerLink(). |
|
Definition at line 60 of file ExManagerPVS.h. Referenced by DrawAllObject(). |
|
Definition at line 63 of file ExManagerPVS.h. |
|
Definition at line 69 of file ExManagerPVS.h. |
|
Definition at line 62 of file ExManagerPVS.h. Referenced by DrawAllObject(), Reset(), and SetVecEntite(). |
|
Definition at line 68 of file ExManagerPVS.h. |
|
Definition at line 66 of file ExManagerPVS.h. Referenced by DrawAllObject(), Reset(), and SetVecSystemeParticule(). |
|
Definition at line 59 of file ExManagerPVS.h. |
|
Referenced by SetManagerLink(). |