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

Référence de la classe ExManagerPVS

#include <ExManagerPVS.h>


Membres publics

 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)

Attributs Publics

std::ostrstream * Consol
void(* WriteToConsol )(const char *Label)

Attributs Privés

ExManagerIdManagerId
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


Documentation des contructeurs et destructeurs

ExManagerPVS void   
 

Définition à la ligne 26 du fichier ExManagerPVS.cpp.

Références Reset().

00027 {
00028         Reset();
00029 }

~ExManagerPVS void   
 

Définition à la ligne 31 du fichier ExManagerPVS.cpp.

00032 {
00033 }


Documentation des méthodes

void DrawAllObject void   
 

Définition à la ligne 35 du fichier ExManagerPVS.cpp.

Références ExCFrustum::CalculateFrustum(), DrawAllObject(), Frustrum, Guard, m_VecEntite, m_VecSystemeParticule, uint, et UnGuard.

Référencé par DrawAllObject(), et 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 }

void DrawObjectInPVS void   
 

void Reset void   
 

Définition à la ligne 66 du fichier ExManagerPVS.cpp.

Références m_VecEntite, et m_VecSystemeParticule.

Référencé par ExManagerPVS(), et ExManagerCommand::ProcessAction().

00067 {
00068         m_VecEntite= new std::vector<ExCEntite *>;
00069         m_VecSystemeParticule = new std::vector<ExCSystemeParticule *>;
00070 }

void SetManagerId ExManagerId   Id [inline]
 

Définition à la ligne 83 du fichier ExManagerPVS.h.

Référencé par SetManagerLink().

00083 {ManagerId      = Id;}

void SetVecEntite std::vector< ExCEntite * > *    vec [inline]
 

Définition à la ligne 87 du fichier ExManagerPVS.h.

Références m_VecEntite.

Référencé par ExManagerEntite::RecordToManagerPVS().

00087 {m_VecEntite=vec;}

void SetVecSystemeParticule std::vector< ExCSystemeParticule * > *    vec [inline]
 

Définition à la ligne 88 du fichier ExManagerPVS.h.

Références m_VecSystemeParticule.

Référencé par ExManagerParticuleSystem::RecordToManagerPVS().

00088 {m_VecSystemeParticule=vec;}


Documentation des données imbriquées

std::ostrstream* Consol
 

Définition à la ligne 80 du fichier ExManagerPVS.h.

Référencé par SetManagerLink().

ExCFrustum Frustrum [private]
 

Définition à la ligne 60 du fichier ExManagerPVS.h.

Référencé par DrawAllObject().

std::vector<ExCEntite *>::iterator m_ItVecEntite [private]
 

Définition à la ligne 63 du fichier ExManagerPVS.h.

std::vector<ExCModel *>::iterator m_ItVecPModel [private]
 

Définition à la ligne 69 du fichier ExManagerPVS.h.

std::vector<ExCEntite *>* m_VecEntite [private]
 

Définition à la ligne 62 du fichier ExManagerPVS.h.

Référencé par DrawAllObject(), Reset(), et SetVecEntite().

std::vector<ExCModel *>* m_VecPModel [private]
 

Définition à la ligne 68 du fichier ExManagerPVS.h.

std::vector<ExCSystemeParticule *>* m_VecSystemeParticule [private]
 

Définition à la ligne 66 du fichier ExManagerPVS.h.

Référencé par DrawAllObject(), Reset(), et SetVecSystemeParticule().

ExManagerId* ManagerId [private]
 

Définition à la ligne 59 du fichier ExManagerPVS.h.

void(* WriteToConsol)(const char *Label)
 

Référencé par SetManagerLink().


La documentation associée à cette classe a été générée à partir des fichiers suivants :
Généré le Tue Aug 6 20:25:46 2002 pour ExNihilo par doxygen1.2.17