VR-Forces 4.1 Class Documentation
DtSceneGraphTreeLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 #pragma once
9 
10 #include <vrvOsgQt/vrvOsgQt.h>
13 #include <osg/NodeCallback>
14 
15 namespace osg
16 {
17  class Node;
18  class Drawable;
19 }
20 
21 class QTreeWidgetItem;
22 class QIcon;
23 
24 namespace makVrv
25 {
26 
27  class DtDe;
28 
32  {
33 
34  public:
38 
40  virtual ~DtSceneGraphTreeLogic();
41 
43  virtual void clearAndTraverse();
44 
46  virtual bool iterateNode(QTreeWidgetItem* pParent, const osg::Node* pNode, bool bDrawIcon = true);
47 
48  protected:
49 
52 
53  private:
54 
56  QIcon getNodeIcon(const osg::Node* pNode);
57  QIcon getDrawableIcon(const osg::Drawable* drawable);
58 
59  protected:
60 
63 
64  };
65 
66 }
67 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)