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 | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtPropCreatePaletteLogic Class Reference

Logic associated with the DtPropCreatePalette class.

Public Member Functions

virtual ~DtPropCreatePaletteLogic ()
 

Static Public Member Functions

static DtPropCreatePaletteLogic * create (makVrv::DtDe &de, DtPropCreatePaletteInterface *iFace)
 

Protected Member Functions

void enablePalette (int terrainPatchOffset=0)
 
 DtPropCreatePaletteLogic (makVrv::DtDe &de, DtPropCreatePaletteInterface *iFace)
 
virtual void slot_itemSelected (const std::string &type, const std::string &modelDef)
 
virtual void slot_postInitialize (makVrv::DtDe &de)
 
virtual void slot_terrainPatchAdded ()
 
virtual void slot_terrainPatchToBeDeleted ()
 
virtual void populateGuiWithPropData ()
 
virtual std::string findCategory (const std::string &itemName, const DtVrfTerrainPropListRecord &categoryList, std::string &category, std::string &imageName) const
 
virtual std::string makeReadableName (const std::string &modelDefName) const
 

Protected Attributes

makVrv::DtDe & myDe
 
DtPropCreatePaletteInterface * myInterface
 
DtPointObjectDefinitionDialog * myObjectPropertiesDlg
 
makVrv::DtSignalConnectionManager myConnections
 

Constructor & Destructor Documentation

virtual makVrf::DtPropCreatePaletteLogic::~DtPropCreatePaletteLogic ( )
virtual

virtual DTOR

makVrf::DtPropCreatePaletteLogic::DtPropCreatePaletteLogic ( makVrv::DtDe &  de,
DtPropCreatePaletteInterface *  iFace 
)
protected

Constructor (protected - use ::create() )

Member Function Documentation

static DtPropCreatePaletteLogic* makVrf::DtPropCreatePaletteLogic::create ( makVrv::DtDe &  de,
DtPropCreatePaletteInterface *  iFace 
)
static

Create and initialize the logic.

void makVrf::DtPropCreatePaletteLogic::enablePalette ( int  terrainPatchOffset = 0)
protected
virtual void makVrf::DtPropCreatePaletteLogic::slot_itemSelected ( const std::string &  type,
const std::string &  modelDef 
)
protectedvirtual
virtual void makVrf::DtPropCreatePaletteLogic::slot_postInitialize ( makVrv::DtDe &  de)
protectedvirtual
virtual void makVrf::DtPropCreatePaletteLogic::slot_terrainPatchAdded ( )
protectedvirtual
virtual void makVrf::DtPropCreatePaletteLogic::slot_terrainPatchToBeDeleted ( )
protectedvirtual
virtual void makVrf::DtPropCreatePaletteLogic::populateGuiWithPropData ( )
protectedvirtual
virtual std::string makVrf::DtPropCreatePaletteLogic::findCategory ( const std::string &  itemName,
const DtVrfTerrainPropListRecord &  categoryList,
std::string &  category,
std::string &  imageName 
) const
protectedvirtual

Uses the passed in categoryList to find a matching category for itemName. If found, the category name is returned in category, and the function returns itemName without the category prefix. If not found, the full itemName is returned, and category is null.

virtual std::string makVrf::DtPropCreatePaletteLogic::makeReadableName ( const std::string &  modelDefName) const
protectedvirtual

Converts an inter caps and/or underscore separated model definition name to a user friendly string.

Member Data Documentation

makVrv::DtDe& makVrf::DtPropCreatePaletteLogic::myDe
protected
DtPropCreatePaletteInterface* makVrf::DtPropCreatePaletteLogic::myInterface
protected
DtPointObjectDefinitionDialog* makVrf::DtPropCreatePaletteLogic::myObjectPropertiesDlg
protected
makVrv::DtSignalConnectionManager makVrf::DtPropCreatePaletteLogic::myConnections
protected

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)