Provides the logic for the DtStartupDialog.
More...
Protected Member Functions |
| virtual void | slot_neverShowAgain (bool neverShow) |
| | Set to never show this dialog again.
|
| virtual void | slot_loadTerrain (const std::string &terrain, const int recentlyUsedIdx) |
| | Tell VR-Vantage to load terrain.
|
| virtual void | slot_selectedTerrainChanged (const std::string &terrain, const int recentlyUsedIdx) |
| | Tell the logic that the terrain changed so the dialog needs the description for this terrain.
|
| bool | processRecentTerrains () |
| | Read the recent terrain list from the settings and populate the list.
|
| bool | processTerrain () |
| | Read all of the terrain from the directory and populate the list.
|
| bool | processScenes () |
| | Read all of the scenes from the directory and populate the list.
|
| const std::string | makeKey (const std::string &terrain, int idx) |
| | Creates a key to map into the maps. This is used to make the recent terrain names unique.
|
| const std::string | findDescription (const std::string &key) |
| | Looks in the sceneRecord or terrainRecord based on the key and returns the description for it.
|
| void | loadTerrainOrScene (const std::string &key) |
| | Get the path based on the key and load the terrain or scene associated with it.
|
Detailed Description
Provides the logic for the DtStartupDialog.
Constructor & Destructor Documentation
| virtual makVrv::DtStartupDialogLogic::~DtStartupDialogLogic |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrv::DtStartupDialogLogic::slot_neverShowAgain |
( |
bool |
neverShow | ) |
|
|
protectedvirtual |
Set to never show this dialog again.
| virtual void makVrv::DtStartupDialogLogic::slot_loadTerrain |
( |
const std::string & |
terrain, |
|
|
const int |
recentlyUsedIdx |
|
) |
| |
|
protectedvirtual |
Tell VR-Vantage to load terrain.
| virtual void makVrv::DtStartupDialogLogic::slot_selectedTerrainChanged |
( |
const std::string & |
terrain, |
|
|
const int |
recentlyUsedIdx |
|
) |
| |
|
protectedvirtual |
Tell the logic that the terrain changed so the dialog needs the description for this terrain.
| bool makVrv::DtStartupDialogLogic::processRecentTerrains |
( |
| ) |
|
|
protected |
Read the recent terrain list from the settings and populate the list.
- Returns
- true if any terrains were processed.
| bool makVrv::DtStartupDialogLogic::processTerrain |
( |
| ) |
|
|
protected |
Read all of the terrain from the directory and populate the list.
- Returns
- true if any terrains were processed.
| bool makVrv::DtStartupDialogLogic::processScenes |
( |
| ) |
|
|
protected |
Read all of the scenes from the directory and populate the list.
- Returns
- true if any scenes were processed.
| const std::string makVrv::DtStartupDialogLogic::makeKey |
( |
const std::string & |
terrain, |
|
|
int |
idx |
|
) |
| |
|
protected |
Creates a key to map into the maps. This is used to make the recent terrain names unique.
| const std::string makVrv::DtStartupDialogLogic::findDescription |
( |
const std::string & |
key | ) |
|
|
protected |
Looks in the sceneRecord or terrainRecord based on the key and returns the description for it.
| void makVrv::DtStartupDialogLogic::loadTerrainOrScene |
( |
const std::string & |
key | ) |
|
|
protected |
Get the path based on the key and load the terrain or scene associated with it.
Member Data Documentation
| DtDe& makVrv::DtStartupDialogLogic::myDe |
|
protected |
| std::map<std::string, std::string> makVrv::DtStartupDialogLogic::myTerrainNameToPathMap |
|
protected |
| std::map<std::string, std::string> makVrv::DtStartupDialogLogic::mySceneNameToPathMap |
|
protected |
| std::map<std::string, std::string> makVrv::DtStartupDialogLogic::myTerrainNameToDescription |
|
protected |
| std::map<std::string, std::string> makVrv::DtStartupDialogLogic::mySceneNameToDescription |
|
protected |
The documentation for this class was generated from the following file: