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