VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtGdbSurfacesLogic Class Reference

The logic class for handling GDB surfaces. More...

List of all members.

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.
DtGdbSurfacesInterfacemyInterface
 regexps to find surface nodes
DtTerrainPatchmyCurrentTerrainPatch
 The terrain patch being operated on.
DtDemyDe
 The IG.

Detailed Description

The logic class for handling GDB surfaces.


Constructor & Destructor Documentation

makVrv::DtGdbSurfacesLogic::DtGdbSurfacesLogic ( DtDe de,
DtGdbSurfacesInterface anInterface,
std::string  patchDefinition 
)

Constructor takes de, gui interface, and identifier for current terrain patch.

Destructor.


Member Function Documentation

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.


Member Data Documentation

Internal names for each surface.

regexps to find surface nodes

Interface to widget

The terrain patch being operated on.

The IG.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)