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

enum  SceneGraphRoot {
  RenderSystem, Environment, Terrain, Props,
  ScaledTerrainRoot, ScaledPropsRoot, ModelSet0, ModelSet1,
  ModelSet2, ModelSet3
}

Public Member Functions

virtual ~DtSceneGraphTreeLogic ()
 DTOR.
virtual void clearAndTraverse ()
 Set the root scene node to begin the tree.
virtual void clearAndTraverse (int domain)
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.

Member Enumeration Documentation

Enumerator:
RenderSystem 
Environment 
Terrain 
Props 
ScaledTerrainRoot 
ScaledPropsRoot 
ModelSet0 
ModelSet1 
ModelSet2 
ModelSet3 

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 void makVrv::DtSceneGraphTreeLogic::clearAndTraverse ( int  domain)
virtual
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 Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)