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