#include <ExManagerMesh.h>
Graphe d'héritage de la classe ExManagerMesh

|
|
Définition à la ligne 43 du fichier ExManagerMesh.cpp.
00044 {
00045 }
|
|
|
Définition à la ligne 47 du fichier ExManagerMesh.cpp.
00048 {
00049 }
|
|
|
|
|
|
Référencé par Load(). |
|
|
Définition à la ligne 89 du fichier ExManager.h. Références ExManager::m_AskForCommand. Référencé par ExManagerCommand::InputCommand().
00089 {return m_AskForCommand;}
|
|
|
Définition à la ligne 90 du fichier ExManager.h. Références ExManager::m_Exclusif. Référencé par ExManagerCommand::InputCommand().
00090 {return m_Exclusif;}
|
|
|
Définition à la ligne 29 du fichier ExManagerMesh.cpp. Références CreateSingleton(), Guard, m_flag, m_instance, et UnGuard. Référencé par CreateManager(), et CreateSingleton().
00029 {
00030 Guard(ExManagerMesh* ExManagerMesh::CreateSingleton(void))
00031 if(!m_flag)
00032 {
00033 m_flag = true; // We are creating the error log now, so set flag to true
00034 m_instance = new ExManagerMesh; // Create the error log
00035 }else
00036 {
00037 std::cout<<"Error singleton already created"<<std::endl;
00038 }
00039 return m_instance;
00040 UnGuard
00041 }
|
|
|
Redéfinie à partir de ExManagerObject< ExCMesh * >. Définition à la ligne 64 du fichier ExManagerMesh.cpp. Références ExManagerObject< ExCMesh * >::m_ItMap, et ExManagerObject< ExCMesh * >::m_Map. Référencé par ExManagerPVS::Draw().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Définition à la ligne 74 du fichier ExManagerMesh.cpp. Références ExNihilo::ExtracStringValueFromFile(), GetMeshType(), Guard, MESH_3DS, MESH_BILBOARDED, MESH_FIRE_EFFECT, MESH_LOD_3DS, MESH_SAURON_EFFECT, MESH_SMOG_EFFECT, MESH_SUMMON_CYLENDER_EFFECT, MESH_UNKNOWN, MESH_WATER_DISQUE_EFFECT, MESH_WATER_EFFECT, MeshType, et UnGuard. Référencé par GetMeshType(), et Load().
00075 {
00076 Guard(MeshType ExManagerMesh::GetMeshType(std::string FileName))
00077 std::string buffstring;
00078 buffstring=ExNihilo::ExtracStringValueFromFile("../Data/Mesh/"+FileName,"<Type>","<#Type>");
00079 if(strcmpi(buffstring.data(),"ExCMeshFireEffect")==0)return MESH_FIRE_EFFECT;
00080 if(strcmpi(buffstring.data(),"ExCMeshWaterEffect")==0)return MESH_WATER_EFFECT;
00081 if(strcmpi(buffstring.data(),"ExCMeshSummonCylenderEffect")==0)return MESH_SUMMON_CYLENDER_EFFECT;
00082 if(strcmpi(buffstring.data(),"ExCMeshSmogEffect")==0)return MESH_SMOG_EFFECT;
00083 if(strcmpi(buffstring.data(),"ExCMeshWaterDisqueEffect")==0)return MESH_WATER_DISQUE_EFFECT;
00084 if(strcmpi(buffstring.data(),"ExCMeshLOD3ds")==0)return MESH_LOD_3DS;
00085 if(strcmpi(buffstring.data(),"ExCMeshSauronEffect")==0)return MESH_SAURON_EFFECT;
00086 if(strcmpi(buffstring.data(),"ExCMesh3ds")==0)return MESH_3DS;
00087 if(strcmpi(buffstring.data(),"ExCMeshBilboarded")==0)return MESH_BILBOARDED;
00088 return MESH_UNKNOWN;
00089 UnGuard
00090 }
|
|
|
Définition à la ligne 124 du fichier ExManagerObject.h.
00124 {return m_Map->size();}
|
|
|
|
|
|
Redéfinie à partir de ExManagerObject< ExCMesh * >. Définition à la ligne 163 du fichier ExManagerMesh.cpp. Références ExNihilo::ExId, GetObject(), Guard, ExManagerObject< ExCMesh * >::m_ItMap, ExManagerObject< ExCMesh * >::m_Map, et UnGuard. Référencé par ExCEntity::Draw(), GetObject(), ExCGroupEntity::LoadFile(), et ExCEntity::LoadFile().
|
|
|
Définition à la ligne 85 du fichier ExManager.h. Références ExManager::m_Status. Référencé par ExManagerInterface::Draw(), ExManagerConsole::Draw(), et ExManagerOutput::DrawScene().
00085 {return m_Status;}
|
|
|
|
|
|
Redéfinie à partir de ExManagerObject< ExCMesh * >. Définition à la ligne 56 du fichier ExManagerMesh.cpp. Références Guard, ExManagerObject< TypeA >::Init(), Init(), et UnGuard. Référencé par Init(), et PreInitManager().
00057 {
00058 Guard(void ExManagerMesh::Init(void))
00059 ExManagerObject<ExCMesh *>::Init();
00060
00061 UnGuard
00062 }
|
|
|
Redéfinie à partir de ExManager. Définition à la ligne 149 du fichier ExManagerMesh.cpp. Références ExManager::Consol, Guard, InputAction(), ExCAction::m_Action, ExCAction::m_NextAction, NOTHING, et UnGuard. Référencé par InputAction(), et ExManagerCommand::ProcesExCAction().
00150 {
00151 Guard(ExCAction ExManagerMesh::InputAction(ExCAction Action))
00152 switch(Action.m_Action)
00153 {
00154 default:
00155 *Consol<<"Can not file action in MESH_ACTION_MAP"<<std::endl;
00156 break;
00157 }
00158 if(Action.m_NextAction){return *Action.m_NextAction;}
00159 else{return NOTHING;}
00160 UnGuard
00161 }
|
|
|
Redéfinie à partir de ExManager. Définition à la ligne 142 du fichier ExManagerMesh.cpp. Références Guard, InputCommand(), NOTHING, et UnGuard. Référencé par InputCommand().
00143 {
00144 Guard(ExCAction ExManagerMesh::InputCommand(ExCCommand Command))
00145 return NOTHING;
00146 UnGuard
00147 }
|
|
|
|
|
||||||||||||
|
Définition à la ligne 135 du fichier ExManagerMesh.cpp. Références ExNihilo::ExId, Guard, Load(), et UnGuard.
00136 {
00137 Guard(ExNihilo::ExId ExManagerMesh::Load(std::string FileName,std::string ObjectName))
00138
00139 UnGuard
00140 }
|
|
|
Redéfinie à partir de ExManagerObject< ExCMesh * >. Définition à la ligne 92 du fichier ExManagerMesh.cpp. Références ExManagerObject< ExCMesh * >::Add(), ExNihilo::ExId, ExCObject::GetId(), GetMeshType(), Guard, ExCMesh::Load(), ExManagerObject< ExCMesh * >::m_ItMap, ExManagerObject< ExCMesh * >::m_Map, ExManagerObject< ExCMesh * >::ManagerId, ManagerModel, ManagerTexture, MESH_3DS, MESH_BILBOARDED, MESH_FIRE_EFFECT, MESH_LOD_3DS, MESH_SAURON_EFFECT, MESH_SMOG_EFFECT, MESH_SUMMON_CYLENDER_EFFECT, MESH_WATER_DISQUE_EFFECT, MESH_WATER_EFFECT, ExCMesh::SetManagerTexture(), ExCObject::SetName(), et UnGuard. Référencé par Load(), ExCGroupEntity::LoadFile(), et ExCEntity::LoadFile().
00093 {
00094 Guard(ExNihilo::ExManagerMesh::Load(std::string FileName))
00095 //std::cout<<"Load file:"<<FileName<<std::endl;
00096 //Check if model already loaded
00097 try
00098 {
00099 for(m_ItMap=m_Map->begin();m_ItMap!=m_Map->end();m_ItMap++)
00100 {
00101 if(strcmp(m_ItMap->second->GetName().data(),FileName.data())==0)
00102 {
00103 return m_ItMap->second->GetId();
00104 }
00105 }
00106 }catch(...){}
00107 ExCMesh *Mesh;
00108 switch(GetMeshType(FileName))
00109 {
00110 case MESH_FIRE_EFFECT:Mesh = new ExCMeshFireEffect;break;
00111 case MESH_WATER_EFFECT:Mesh = new ExCMeshWaterEffect;break;
00112 case MESH_SUMMON_CYLENDER_EFFECT:Mesh = new ExCMeshSummonCylenderEffect;break;
00113 case MESH_SMOG_EFFECT:Mesh = new ExCMeshSmogEffect;break;
00114 case MESH_WATER_DISQUE_EFFECT:Mesh = new ExCMeshWaterDisqueEffect;break;
00115 case MESH_SAURON_EFFECT:Mesh = new ExCMeshSauronEffect;break;
00116 case MESH_LOD_3DS:Mesh = new ExCMeshLOD3ds;break;
00117 case MESH_3DS:
00118 Mesh = new ExCMesh3ds;
00119 ((ExCMesh3ds *)Mesh)->SetManagerModel(ManagerModel);
00120 ((ExCMesh3ds *)Mesh)->SetManagerId(ManagerId);
00121 break;
00122 case MESH_BILBOARDED:
00123 Mesh = new ExCMeshBilboarded;
00124 break;
00125 }
00126
00127 Mesh->SetName(FileName);
00128 Mesh->SetManagerTexture(ManagerTexture);
00129 Mesh->Load(FileName);
00130 Add(Mesh);
00131 return Mesh->GetId();
00132 UnGuard
00133 }
|
|
|
|
|
|
|
|
|
Redéfinie à partir de ExManager. Référencé par ExManagerCommand::ProcesExCAction(). |
|
|
|
|
|
|
|
|
|
|
|
Redéfinie à partir de ExManagerObject< ExCMesh * >. Définition à la ligne 51 du fichier ExManagerMesh.cpp. Références ExManagerObject< TypeA >::Reset(). Référencé par ExManagerCommand::ProcesExCAction().
00052 {
00053 ExManagerObject<ExCMesh *>::Reset();
00054 }
|
|
|
Définition à la ligne 87 du fichier ExManager.h. Références ExManager::m_AskForCommand. Référencé par ExManagerConsole::ExManagerConsole(), ExManagerModel::ExManagerModel(), ExManagerObjectWindow::Init(), ExManagerNetwork::Init(), ExManagerConsole::InputAction(), ExManagerNetwork::InputCommand(), ExManagerLoad::LoadSetOfFile(), et ExManagerNetwork::Say().
00087 {m_AskForCommand=status;}
|
|
|
Définition à la ligne 88 du fichier ExManager.h. Références ExManager::m_Exclusif. Référencé par ExManagerConsole::ExManagerConsole(), ExManagerModel::ExManagerModel(), ExManagerObjectWindow::Init(), ExManagerNetwork::Init(), ExManagerConsole::InputAction(), ExManagerNetwork::InputCommand(), et ExManagerNetwork::Say().
00088 {m_Exclusif=status;}
|
|
|
|
|
|
|
|
||||||||||||
|
Définition à la ligne 35 du fichier ExManager.cpp. Références ExManager::Consol, et ExManager::FluxAction. Référencé par SetManagerLink().
00036 {
00037 Consol=consol;
00038 FluxAction=action;
00039 }
|
|
|
Définition à la ligne 94 du fichier ExManagerObject.h. Référencé par SetManagerLink().
00094 {ManagerId = Id;}
|
|
|
Définition à la ligne 123 du fichier ExManagerMesh.h. Références ManagerModel. Référencé par SetManagerLink().
00123 {ManagerModel = Model;}
|
|
|
Définition à la ligne 122 du fichier ExManagerMesh.h. Références ManagerTexture. Référencé par SetManagerLink().
00122 {ManagerTexture = Texture;}
|
|
|
Définition à la ligne 86 du fichier ExManager.h. Références ExManager::m_Status. Référencé par ExManagerConsole::Draw(), ExManagerConsole::ExManagerConsole(), ExManagerObjectWindow::Init(), ExManagerInterface::Init(), ExManagerConsole::InputAction(), ExManagerLoad::LoadSetOfFile(), et ExManagerConsole::SetConsoleState().
00086 {m_Status=status;}
|
|
|
|
Définition à la ligne 74 du fichier ExManager.h. Référencé par ExManagerWindow::Apply(), ExManagerCommand::ApplyAction(), ExManagerCommand::LoadExecFile(), ExManagerId::RecordObject(), ExManager::SetFlux(), et ExManagerSpecialEffect::Specialeffect(). |
|
|
Définition à la ligne 70 du fichier ExManager.h. Référencé par ExManager::AskForCommand(), ExManagerConsole::ExManagerConsole(), et ExManager::SetAskForCommand(). |
|
|
Définition à la ligne 79 du fichier ExManagerObject.h. |
|
|
Définition à la ligne 71 du fichier ExManager.h. Référencé par ExManager::AskForExclusifCommand(), et ExManager::SetAskForExclusifCommand(). |
|
|
Définition à la ligne 26 du fichier ExManagerMesh.cpp. Référencé par CreateSingleton(). |
|
|
Définition à la ligne 27 du fichier ExManagerMesh.cpp. Référencé par CreateSingleton(). |
|
|
Définition à la ligne 76 du fichier ExManagerObject.h. Référencé par Draw(), GetObject(), et Load(). |
|
|
Définition à la ligne 75 du fichier ExManagerObject.h. Référencé par Draw(), GetObject(), et Load(). |
|
|
Définition à la ligne 69 du fichier ExManager.h. Référencé par ExManager::GetStatus(), et ExManager::SetStatus(). |
|
|
Définition à la ligne 78 du fichier ExManagerObject.h. Référencé par Load(). |
|
|
Définition à la ligne 99 du fichier ExManagerMesh.h. Référencé par Load(), et SetManagerModel(). |
|
|
Définition à la ligne 98 du fichier ExManagerMesh.h. Référencé par Load(), et SetManagerTexture(). |
1.3.4