VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | 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...

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

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

Member Function Documentation

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

Member Data Documentation

DtDe& makVrv::DtSceneGraphTreeLogic::myDe
protected
DtSceneGraphTreeWidgetInterface* makVrv::DtSceneGraphTreeLogic::myWidgetInterface
protected

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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)