VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtSceneGraphTreeLogic Class Reference

Logic for scene graph tree display widget. More...

List of all members.

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 DtSceneGraphTreeLogiccreate (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

DtDemyDe
DtSceneGraphTreeWidgetInterfacemyWidgetInterface

Private Member Functions

 DtSceneGraphTreeLogic ()
QIcon getNodeIcon (const osg::Node *pNode)
QIcon getDrawableIcon (const osg::Drawable *drawable)

Detailed Description

Logic for scene graph tree display widget.


Constructor & Destructor Documentation

DTOR.

Constructor is protected because the static creator needs to call bind().


Member Function Documentation

Create and initialize the logic.

It calls bind() on the created logic.

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]

Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)