![]() |
VR-Forces 5.0.1 Developer's Guide
|
DtModelSetRealizationManager is responsible for tracking which model sets are currently realized. An instance of this class is created as sharedState, and the map of model set realizations is synchronized.
Public Types | |
| typedef std::map< int, bool > | ModelSetRealizations |
Public Member Functions | |
| virtual | ~DtModelSetRealizationManager () |
| const ModelSetRealizations & | modelSetRealizations () const |
| bool | visualizeModelSet (int modelSet) const |
| void | setVisualizeModelSet (int modelset, bool visualize) |
| bool | loadModelSetRealizations (const std::string &filepath) |
| bool | saveModelSetRealizations (const std::string &filepath) const |
| void | saveAsDefaults () |
| void | loadDefaults () |
| const std::string & | name () const |
| void | setName (const std::string &name) |
| const std::string & | extension () const |
| void | setExtension (const std::string &extension) |
| void | setAutoSave (bool b) |
| bool | autoSave () const |
| void | setFromRecord (const makArchives::DtModelSetRealizationsRecord &record) |
| void | getRecord (makArchives::DtModelSetRealizationsRecord &record) const |
Protected Member Functions | |
| DtModelSetRealizationManager (DtDe &) | |
| std::string | defaultFilePath () const |
Protected Attributes | |
| DtDe & | myDe |
| ModelSetRealizations | myModelSetRealizations |
| DtModelSetRealizationManagerSignaler & | mySignaler |
| bool | myAutoSave |
| std::string | myName |
| std::string | myExtension |
Friends | |
| class | DtModelSetRealizationManagerCreator |
| typedef std::map<int, bool> makVrv::DtModelSetRealizationManager::ModelSetRealizations |
|
virtual |
DTOR.
|
protected |
CTOR.
| const ModelSetRealizations& makVrv::DtModelSetRealizationManager::modelSetRealizations | ( | ) | const |
get the realizations map
get whether a model set should be visualized
set whether a model set should be visualized
| bool makVrv::DtModelSetRealizationManager::loadModelSetRealizations | ( | const std::string & | filepath | ) |
load visual modes from the specified file
| bool makVrv::DtModelSetRealizationManager::saveModelSetRealizations | ( | const std::string & | filepath | ) | const |
| void makVrv::DtModelSetRealizationManager::saveAsDefaults | ( | ) |
save the current settings as the default settings
| void makVrv::DtModelSetRealizationManager::loadDefaults | ( | ) |
| const std::string& makVrv::DtModelSetRealizationManager::name | ( | ) | const |
Get the manager's name. This is used to determine the file name to load defaults from.
| void makVrv::DtModelSetRealizationManager::setName | ( | const std::string & | name | ) |
Set the manager's name.
| const std::string& makVrv::DtModelSetRealizationManager::extension | ( | ) | const |
Get the extension for this manager's file type.
| void makVrv::DtModelSetRealizationManager::setExtension | ( | const std::string & | extension | ) |
Set the defaults file name's extension.
| void makVrv::DtModelSetRealizationManager::setAutoSave | ( | bool | b | ) |
| bool makVrv::DtModelSetRealizationManager::autoSave | ( | ) | const |
| void makVrv::DtModelSetRealizationManager::setFromRecord | ( | const makArchives::DtModelSetRealizationsRecord & | record | ) |
| void makVrv::DtModelSetRealizationManager::getRecord | ( | makArchives::DtModelSetRealizationsRecord & | record | ) | const |
|
protected |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |