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::DtExtractOceanLogic Class Reference

Extract Ocean logic.

Public Member Functions

 DtExtractOceanLogic (DtDe &de, DtTerrain &terrain, const std::string &patchDefinition, DtExtractOceanInterface &gui)
 
virtual ~DtExtractOceanLogic ()
 

Protected Member Functions

void extractOcean (const std::string &searchExp, bool isRegEx)
 
void buildSearchCandidates (DtTerrainPatchObject &tpo, bool search=true)
 
virtual void terrainToBeCleared ()
 
virtual void terrainPatchToBeDeleted (const DtTerrainPatch &)
 

Protected Attributes

DtDe & myDe
 
DtTerrain & myTerrain
 
DtTerrainPatch * myPatch
 
DtExtractOceanInterface & myGui
 
DtTextureVisitor::TextureMap mySearchCandidates
 
DtSignalConnectionManager myConnections
 

Constructor & Destructor Documentation

makVrv::DtExtractOceanLogic::DtExtractOceanLogic ( DtDe &  de,
DtTerrain &  terrain,
const std::string &  patchDefinition,
DtExtractOceanInterface &  gui 
)

Logic CTOR.

virtual makVrv::DtExtractOceanLogic::~DtExtractOceanLogic ( )
virtual

DTOR.

Member Function Documentation

void makVrv::DtExtractOceanLogic::extractOcean ( const std::string &  searchExp,
bool  isRegEx 
)
protected

Boost slots.

void makVrv::DtExtractOceanLogic::buildSearchCandidates ( DtTerrainPatchObject &  tpo,
bool  search = true 
)
protected

Build the search candidates from the patch object. The boolean parameter is used so we can attach to an extraction signal that may be raised if no extraction takes place (which should be a no-op)

virtual void makVrv::DtExtractOceanLogic::terrainToBeCleared ( )
protectedvirtual

Clears out myPatch variable when terrain is cleared.

virtual void makVrv::DtExtractOceanLogic::terrainPatchToBeDeleted ( const DtTerrainPatch &  )
protectedvirtual

Called when the terrain patch is to be deleted. If the patch is the one that is pointed to by myPath, clear out myPatch.

Member Data Documentation

DtDe& makVrv::DtExtractOceanLogic::myDe
protected
DtTerrain& makVrv::DtExtractOceanLogic::myTerrain
protected
DtTerrainPatch* makVrv::DtExtractOceanLogic::myPatch
protected
DtExtractOceanInterface& makVrv::DtExtractOceanLogic::myGui
protected
DtTextureVisitor::TextureMap makVrv::DtExtractOceanLogic::mySearchCandidates
protected
DtSignalConnectionManager makVrv::DtExtractOceanLogic::myConnections
protected

Auto-disconnects on destruction; avoids singleton lookups in the DTOR.


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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)