VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)