VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvOsgQt
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
>
11
#include <
vrvOsgQt/DtSceneGraphTreeWidgetInterface.h
>
12
#include <
vrvCore/DtSubjectObserver.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
31
class
DT_DLL_VRVOSGQT
DtSceneGraphTreeLogic
32
{
33
34
public
:
37
static
DtSceneGraphTreeLogic
* create(
DtDe
& de,
DtSceneGraphTreeWidgetInterface
* iface);
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
51
DtSceneGraphTreeLogic
(
DtDe
& de,
DtSceneGraphTreeWidgetInterface
* iface);
52
53
private
:
54
55
DtSceneGraphTreeLogic
();
56
QIcon getNodeIcon(
const
osg::Node* pNode);
57
QIcon getDrawableIcon(
const
osg::Drawable* drawable);
58
59
protected
:
60
61
DtDe
&
myDe
;
62
DtSceneGraphTreeWidgetInterface
*
myWidgetInterface
;
63
64
};
65
66
}
67
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)