VR-Forces 5.0.1 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::DtExtractPropsLogic Class Reference

Extract props logic.

Public Member Functions

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

Protected Member Functions

void extractProps (const std::string &searchExp, bool isRegEx, const std::string &type, const std::string &modelDef)
 
void extractAsSpeedTrees (const std::string &searchExp, bool isRegEx, const std::string &modelDef)
 
virtual void extractAsSpeedTreesChanged (bool checked)
 
void buildSearchCandidates (DtTerrainPatchObject &tpo)
 
virtual void terrainToBeCleared ()
 
virtual void terrainPatchToBeDeleted (const DtTerrainPatch &)
 

Protected Attributes

DtDemyDe
 
DtTerrainmyTerrain
 
DtTerrainPatchmyPatch
 
DtExtractPropsInterfacemyGui
 
DtExtractPropsInterface::SearchCandidateSet mySearchCandidates
 

Constructor & Destructor Documentation

makVrv::DtExtractPropsLogic::DtExtractPropsLogic ( DtDe de,
DtTerrain terrain,
const std::string &  patchDefinition,
DtExtractPropsInterface gui 
)

Logic CTOR.

virtual makVrv::DtExtractPropsLogic::~DtExtractPropsLogic ( )
virtual

DTOR.

Member Function Documentation

void makVrv::DtExtractPropsLogic::extractProps ( const std::string &  searchExp,
bool  isRegEx,
const std::string &  type,
const std::string &  modelDef 
)
protected

Boost slots.

void makVrv::DtExtractPropsLogic::extractAsSpeedTrees ( const std::string &  searchExp,
bool  isRegEx,
const std::string &  modelDef 
)
protected
virtual void makVrv::DtExtractPropsLogic::extractAsSpeedTreesChanged ( bool  checked)
protectedvirtual

Resets the widgets schemas to all the valid ones or just speed trees based on the value of checked.

void makVrv::DtExtractPropsLogic::buildSearchCandidates ( DtTerrainPatchObject tpo)
protected

Build the search candidates from the patch object.

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

Clears out myPatch variable when terrain is cleared.

virtual void makVrv::DtExtractPropsLogic::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::DtExtractPropsLogic::myDe
protected
DtTerrain& makVrv::DtExtractPropsLogic::myTerrain
protected
DtTerrainPatch* makVrv::DtExtractPropsLogic::myPatch
protected
DtExtractPropsInterface& makVrv::DtExtractPropsLogic::myGui
protected
DtExtractPropsInterface::SearchCandidateSet makVrv::DtExtractPropsLogic::mySearchCandidates
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)