![]() |
VR-Forces 4.0.4 Class Documentation
|
Logic for scene graph tree display widget. More...
Public Member Functions | |
| virtual | ~DtSceneGraphTreeLogic () |
| DTOR. | |
| virtual void | clearAndTraverse () |
| Set the root scene node to begin the tree. | |
| virtual bool | iterateNode (QTreeWidgetItem *pParent, const osg::Node *pNode, bool bDrawIcon=true) |
| Iterates through the node and fills out the tree widget. | |
Static Public Member Functions | |
| static DtSceneGraphTreeLogic * | create (DtDe &de, DtSceneGraphTreeWidgetInterface *iface) |
| Create and initialize the logic. | |
Protected Member Functions | |
| DtSceneGraphTreeLogic (DtDe &de, DtSceneGraphTreeWidgetInterface *iface) | |
| Constructor is protected because the static creator needs to call bind(). | |
Protected Attributes | |
| DtDe & | myDe |
| DtSceneGraphTreeWidgetInterface * | myWidgetInterface |
Private Member Functions | |
| DtSceneGraphTreeLogic () | |
| QIcon | getNodeIcon (const osg::Node *pNode) |
| QIcon | getDrawableIcon (const osg::Drawable *drawable) |
Logic for scene graph tree display widget.
| virtual makVrv::DtSceneGraphTreeLogic::~DtSceneGraphTreeLogic | ( | ) | [virtual] |
DTOR.
| makVrv::DtSceneGraphTreeLogic::DtSceneGraphTreeLogic | ( | DtDe & | de, |
| DtSceneGraphTreeWidgetInterface * | iface | ||
| ) | [protected] |
Constructor is protected because the static creator needs to call bind().
| makVrv::DtSceneGraphTreeLogic::DtSceneGraphTreeLogic | ( | ) | [private] |
| static DtSceneGraphTreeLogic* makVrv::DtSceneGraphTreeLogic::create | ( | DtDe & | de, |
| DtSceneGraphTreeWidgetInterface * | iface | ||
| ) | [static] |
Create and initialize the logic.
It calls bind() on the created logic.
| virtual void makVrv::DtSceneGraphTreeLogic::clearAndTraverse | ( | ) | [virtual] |
Set the root scene node to begin the tree.
| virtual bool makVrv::DtSceneGraphTreeLogic::iterateNode | ( | QTreeWidgetItem * | pParent, |
| const osg::Node * | pNode, | ||
| bool | bDrawIcon = true |
||
| ) | [virtual] |
Iterates through the node and fills out the tree widget.
| QIcon makVrv::DtSceneGraphTreeLogic::getNodeIcon | ( | const osg::Node * | pNode | ) | [private] |
| QIcon makVrv::DtSceneGraphTreeLogic::getDrawableIcon | ( | const osg::Drawable * | drawable | ) | [private] |
DtDe& makVrv::DtSceneGraphTreeLogic::myDe [protected] |