#include <ExManagerMap.h>
Public Methods | |
ExManagerMap (void) | |
~ExManagerMap (void) | |
void | Reset (void) |
void | SetManagerId (ExManagerId *Id) |
void | SetManagerTexture (ExManagerTexture *Texture) |
void | LoadMap (const char *FileName) |
void | Draw (void) |
void | ShowSkybox (void) |
void | HideSkybox (void) |
void | ShowMesh (void) |
void | HideMesh (void) |
void | EnableOctree (void) |
void | DisableOctree (void) |
void | ShowOctreeSubdivision (void) |
void | HideOctreeSubdivision (void) |
Data Fields | |
std::ostrstream * | Consol |
void(* | WriteToConsol )(const char *Label) |
Private Attributes | |
ExManagerId * | ManagerId |
ExManagerTexture * | ManagerTexture |
ExCMap * | Map |
bool | MapLoaded |
|
Definition at line 26 of file ExManagerMap.cpp. References MapLoaded.
00027 { 00028 MapLoaded=false; 00029 } |
|
Definition at line 31 of file ExManagerMap.cpp.
00032 { 00033 } |
|
Definition at line 69 of file ExManagerMap.h. References ExCMap::DisableOctree(). Referenced by ExManagerCommand::ProcessAction().
00069 {Map->DisableOctree();} |
|
Definition at line 52 of file ExManagerMap.cpp. References ExCMap::Draw(), Draw(), Guard, Map, and UnGuard. Referenced by Draw(), and ExManagerOutput::DrawScene().
00053 { 00054 Guard(void ExManagerMap::Draw(void)) 00055 if(MapLoaded) 00056 { 00057 Map->Draw(); 00058 } 00059 UnGuard 00060 } |
|
Definition at line 68 of file ExManagerMap.h. References ExCMap::EnableOctree(). Referenced by ExManagerCommand::ProcessAction().
00068 {Map->EnableOctree();} |
|
Definition at line 67 of file ExManagerMap.h. References ExCMap::HideMesh(). Referenced by ExManagerCommand::ProcessAction().
|
|
Definition at line 71 of file ExManagerMap.h. References ExCMap::HideOctreeSubdivision(). Referenced by ExManagerCommand::ProcessAction().
00071 {Map->HideOctreeSubdivision();} |
|
Definition at line 65 of file ExManagerMap.h. References ExCMap::HideSkybox(). Referenced by ExManagerCommand::ProcessAction().
00065 {Map->HideSkybox();} |
|
Definition at line 40 of file ExManagerMap.cpp. References Consol, ExCMap::Consol, Guard, ExCMap::LoadMap(), LoadMap(), ManagerTexture, Map, MapLoaded, ExCMap::SetManagerTexture(), UnGuard, WriteToConsol, and ExCMap::WriteToConsol. Referenced by LoadMap(), ExManagerCommand::LoadSetOfFile(), and ExManagerCommand::ProcessAction().
00041 { 00042 Guard(ExManagerMap::LoadMap(const char * )) 00043 Map=new ExCMap(); 00044 Map->SetManagerTexture(ManagerTexture); 00045 Map->Consol=Consol; 00046 Map->WriteToConsol=WriteToConsol; 00047 Map->LoadMap(FileName); 00048 MapLoaded=true; 00049 UnGuard 00050 } |
|
Definition at line 35 of file ExManagerMap.cpp. References MapLoaded. Referenced by ExManagerCommand::ProcessAction().
00036 { 00037 MapLoaded=false; 00038 } |
|
Definition at line 59 of file ExManagerMap.h. Referenced by SetManagerLink().
00059 {ManagerId = Id;} |
|
Definition at line 60 of file ExManagerMap.h. Referenced by SetManagerLink().
00060 {ManagerTexture=Texture;} |
|
Definition at line 66 of file ExManagerMap.h. References ExCMap::ShowMesh(). Referenced by ExManagerCommand::ProcessAction().
|
|
Definition at line 70 of file ExManagerMap.h. References ExCMap::ShowOctreeSubdivision(). Referenced by ExManagerCommand::ProcessAction().
00070 {Map->ShowOctreeSubdivision();} |
|
Definition at line 64 of file ExManagerMap.h. References ExCMap::ShowSkybox(). Referenced by ExManagerCommand::ProcessAction().
00064 {Map->ShowSkybox();} |
|
Definition at line 56 of file ExManagerMap.h. Referenced by LoadMap(), and SetManagerLink(). |
|
Definition at line 42 of file ExManagerMap.h. |
|
Definition at line 43 of file ExManagerMap.h. Referenced by LoadMap(). |
|
Definition at line 44 of file ExManagerMap.h. |
|
Definition at line 45 of file ExManagerMap.h. Referenced by ExManagerMap(), LoadMap(), and Reset(). |
|
Referenced by LoadMap(), and SetManagerLink(). |