![]() |
VR-Forces 4.0.4 Class Documentation
|
The logic class for handling GDB surfaces. More...
Public Member Functions | |
| DtGdbSurfacesLogic (DtDe &de, DtGdbSurfacesInterface *anInterface, std::string patchDefinition) | |
| Constructor takes de, gui interface, and identifier for current terrain patch. | |
| ~DtGdbSurfacesLogic () | |
| Destructor. | |
Protected Member Functions | |
| void | fillWidget () |
| Initialize the logic with saved or default info, etc. | |
| void | changeSurface (int id, bool isOn) |
| Change the actual surface. | |
| void | slot_surfaceChanged (DtTerrainPatch &, int id, bool onP) |
| Slot called when a surface setting is changed in the gui. | |
Protected Attributes | |
| std::map < DtTerrainPatch::GdbSurface, std::string > | mySurfaceRules |
| Internal names for each surface. | |
| DtGdbSurfacesInterface * | myInterface |
| regexps to find surface nodes | |
| DtTerrainPatch * | myCurrentTerrainPatch |
| The terrain patch being operated on. | |
| DtDe & | myDe |
| The IG. | |
The logic class for handling GDB surfaces.
| makVrv::DtGdbSurfacesLogic::DtGdbSurfacesLogic | ( | DtDe & | de, |
| DtGdbSurfacesInterface * | anInterface, | ||
| std::string | patchDefinition | ||
| ) |
Constructor takes de, gui interface, and identifier for current terrain patch.
Destructor.
| void makVrv::DtGdbSurfacesLogic::fillWidget | ( | ) | [protected] |
Initialize the logic with saved or default info, etc.
| void makVrv::DtGdbSurfacesLogic::changeSurface | ( | int | id, |
| bool | isOn | ||
| ) | [protected] |
Change the actual surface.
| void makVrv::DtGdbSurfacesLogic::slot_surfaceChanged | ( | DtTerrainPatch & | , |
| int | id, | ||
| bool | onP | ||
| ) | [protected] |
Slot called when a surface setting is changed in the gui.
std::map<DtTerrainPatch::GdbSurface, std::string> makVrv::DtGdbSurfacesLogic::mySurfaceRules [protected] |
Internal names for each surface.
regexps to find surface nodes
Interface to widget
The terrain patch being operated on.
DtDe& makVrv::DtGdbSurfacesLogic::myDe [protected] |
The IG.