![]() |
VR-Forces 4.0.4 Class Documentation
|
Logic associated with the DtPropCreatePalette class. More...
Public Member Functions | |
| virtual | ~DtPropCreatePaletteLogic () |
| virtual DTOR | |
Static Public Member Functions | |
| static DtPropCreatePaletteLogic * | create (makVrv::DtDe &de, DtPropCreatePaletteInterface *iFace) |
| Create and initialize the logic. | |
Protected Member Functions | |
| void | enablePalette (int terrainPatchOffset=0) |
| DtPropCreatePaletteLogic (makVrv::DtDe &de, DtPropCreatePaletteInterface *iFace) | |
| Constructor (protected - use ::create() ) | |
| 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) const |
| Uses the passed in categoryList to find a matching category for itemName. | |
| virtual std::string | makeReadableName (const std::string &modelDefName) const |
| Converts an inter caps and/or underscore separated model definition name to a user friendly string. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtPropCreatePaletteInterface * | myInterface |
| DtPointObjectDefinitionDialog * | myObjectPropertiesDlg |
Logic associated with the DtPropCreatePalette class.
| virtual makVrf::DtPropCreatePaletteLogic::~DtPropCreatePaletteLogic | ( | ) | [virtual] |
virtual DTOR
| makVrf::DtPropCreatePaletteLogic::DtPropCreatePaletteLogic | ( | makVrv::DtDe & | de, |
| DtPropCreatePaletteInterface * | iFace | ||
| ) | [protected] |
Constructor (protected - use ::create() )
| 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 | ||
| ) | [protected, virtual] |
| virtual void makVrf::DtPropCreatePaletteLogic::slot_postInitialize | ( | makVrv::DtDe & | de | ) | [protected, virtual] |
| virtual void makVrf::DtPropCreatePaletteLogic::slot_terrainPatchAdded | ( | ) | [protected, virtual] |
| virtual void makVrf::DtPropCreatePaletteLogic::slot_terrainPatchToBeDeleted | ( | ) | [protected, virtual] |
| virtual void makVrf::DtPropCreatePaletteLogic::populateGuiWithPropData | ( | ) | [protected, virtual] |
| virtual std::string makVrf::DtPropCreatePaletteLogic::findCategory | ( | const std::string & | itemName, |
| const DtVrfTerrainPropListRecord & | categoryList, | ||
| std::string & | category | ||
| ) | const [protected, virtual] |
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 [protected, virtual] |
Converts an inter caps and/or underscore separated model definition name to a user friendly string.
makVrv::DtDe& makVrf::DtPropCreatePaletteLogic::myDe [protected] |