VR-Forces 4.5 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>
12 
13 namespace osg
14 {
15  class Node;
16  class Drawable;
17 }
18 
19 class QTreeWidgetItem;
20 class QIcon;
21 
22 namespace makVrv
23 {
24 
25  class DtDe;
26  class DtSceneGraphTreeWidgetInterface;
27 
31  {
32 
33  public:
37 
39  virtual ~DtSceneGraphTreeLogic();
40 
42  {
52  ModelSet3
53  };
54 
56  virtual void clearAndTraverse();
57 
58  virtual void clearAndTraverse(int domain);
59 
61  virtual bool iterateNode(QTreeWidgetItem* pParent, const osg::Node* pNode, bool bDrawIcon = true);
62 
63  protected:
64 
67 
68  private:
69 
71  QIcon getNodeIcon(const osg::Node* pNode);
72  QIcon getDrawableIcon(const osg::Drawable* drawable);
73 
74  protected:
75 
78 
79  };
80 
81 }
82 

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)