VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtGdbSurfacesLogic Class Reference

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
 
DtGdbSurfacesInterfacemyInterface
 
DtTerrainPatchmyCurrentTerrainPatch
 
DtDemyDe
 

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

Member Data Documentation

std::map<DtTerrainPatch::GdbSurface, std::string> makVrv::DtGdbSurfacesLogic::mySurfaceRules
protected

Internal names for each surface.

DtGdbSurfacesInterface* makVrv::DtGdbSurfacesLogic::myInterface
protected

regexps to find surface nodes

Interface to widget

DtTerrainPatch* makVrv::DtGdbSurfacesLogic::myCurrentTerrainPatch
protected

The terrain patch being operated on.

DtDe& makVrv::DtGdbSurfacesLogic::myDe
protected

The IG.


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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)