![]() |
VR-Forces Developer's Guide
|
Logic for scene graph tree display widget.
Public Types | |
| enum | SceneGraphRoot { RenderSystem, WindowChannelConfig, Environment, Terrain, Props, ScaledTerrainRoot, ScaledPropsRoot, ModelSetRoot, Overlays } |
| typedef osg::observer_ptr < const osg::Node > | NodeObsPtr |
| typedef std::map < QTreeWidgetItem *, NodeObsPtr > | WidgetToNodeMap |
Public Member Functions | |
| virtual | ~DtSceneGraphTreeLogic () |
| virtual void | clearAndTraverse () |
| virtual void | clearAndTraverse (int domain, int subdomain) |
| virtual bool | iterateNode (QTreeWidgetItem *pParent, const osg::Node *pNode, bool bDrawIcon=true) |
| virtual void | buildContextMenu (QMenu *menu, QTreeWidgetItem *item) |
| NodeObsPtr | getNode (QTreeWidgetItem *item) |
| virtual void | displayPrevious (const std::string &query) |
| virtual void | displayNext (const std::string &query) |
| virtual std::string | getSearchStatusText (const std::string &query) |
| virtual void | resetSearchAction () |
| virtual void | computeFormattedNodeMaskText (unsigned int mask, QString &nodeMaskText) |
Protected Member Functions | |
| DtSceneGraphTreeLogic (DtDe &de, DtSceneGraphTreeWidgetInterface *iface) | |
| virtual void | init () |
Private Member Functions | |
| DtSceneGraphTreeLogic (const DtSceneGraphTreeLogic &other) | |
| DtSceneGraphTreeLogic & | operator= (const DtSceneGraphTreeLogic &other) |
| DtSceneGraphTreeLogic () | |
| const QIcon & | getNodeIcon (const osg::Node *pNode) |
| const QIcon & | getDrawableIcon (const osg::Drawable *drawable) |
Friends | |
| class | DtSceneGraphTreeLogicCreator |
| typedef osg::observer_ptr<const osg::Node> makVrv::DtSceneGraphTreeLogic::NodeObsPtr |
| typedef std::map<QTreeWidgetItem*, NodeObsPtr> makVrv::DtSceneGraphTreeLogic::WidgetToNodeMap |
|
protected |
Constructor is protected because the static creator needs to call bind().
|
virtual |
DTOR.
|
private |
Copy Constructor not implemented – Copy Not Allowed.
|
private |
|
protectedvirtual |
called by the creator when this class is created.
|
private |
Assignment Operator Not implemented � Assignment Not Allowed.
|
virtual |
Set the root scene node to begin the tree.
domain is a value within the SceneGraphRoot enumeration. subdomain is used for model set ids, if domain is ModelSetRoot.
|
virtual |
Iterates through the node and fills out the tree widget.
|
virtual |
| NodeObsPtr makVrv::DtSceneGraphTreeLogic::getNode | ( | QTreeWidgetItem * | item | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Helper method to format node mask text. The mask is a 32 bit value and will be fomatted to display binary text and ensure that all 32 bits are displayed. The format will be 1111 1111 1111 1111 1111 1111 1111 1111.
| mask | - the mask to convert to text |
| nodeMaskText | - the output text |
|
private |
|
private |
|
friend |
friend creator class so that the creator is the only one that can create the logic
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |