12 #if !defined(Q_MOC_RUN)
16 #include <osg/observer_ptr>
18 #include <osg/ShapeDrawable>
20 #include <QtWidgets/QAction>
22 #if !defined(Q_MOC_RUN)
43 class DtSceneGraphTreeWidgetInterface;
44 class DtSceneGraphTreeLogic;
49 virtual bool shouldExpandTo(
const osg::Node* node);
61 virtual void removeVolume();
62 virtual void setNode(
const osg::Node* node);
63 virtual bool isNodeWithBV(
const osg::Node* node);
65 virtual void setAABoundingBoxMode();
69 void slot_triggered(
bool);
72 osg::observer_ptr<const osg::Node>
myNode;
88 virtual bool shouldExpandTo(
const osg::Node* node);
91 void slot_triggered(
bool);
94 osg::observer_ptr<const osg::Node>
myNode;
114 virtual void setNode(osg::Node* node);
117 virtual osg::Node* colorizedNode();
122 virtual void slot_triggered(
bool);
126 virtual void unColorizeNode();
128 virtual void colorizeNode();
143 virtual bool shouldExpandTo(
const osg::Node* node);
147 void slot_triggered(
bool);
150 osg::observer_ptr<const osg::Node>
myNode;
170 virtual bool shouldExpandTo(
const osg::Node* node);
181 virtual bool shouldExpandTo(
const osg::Node* node);
191 virtual bool shouldExpandTo(
const osg::Node* node);
207 virtual void slot_triggered(
bool);
210 osg::observer_ptr<const osg::Node>
myNode;
229 virtual void setSearchQuery(
const std::string& query);
235 virtual void reset();
238 virtual size_t getCurrentIndex();
241 virtual bool hasResults(
const std::string& query);
244 virtual size_t getTotalResults(
const std::string& query);
304 virtual void clearAndTraverse();
306 virtual void clearAndTraverse(
int domain);
309 virtual bool iterateNode(
QTreeWidgetItem* pParent,
const osg::Node* pNode,
bool bDrawIcon =
true);
315 virtual void displayPrevious(
const std::string& query);
316 virtual void displayNext(
const std::string& query);
317 virtual std::string getSearchStatusText(
const std::string& query);
319 virtual void resetSearchAction();
324 const QIcon & getNodeIcon(
const osg::Node* pNode);
325 const QIcon & getDrawableIcon(
const osg::Drawable* drawable);
376 static void registerInstance(
DtDe& de,
DT_DLL_EXAMPLESCENEROOTPLUGIN void init(DtDe &anIG)
DtSceneGraphTreeLogic * myTree
Definition: DtSceneGraphTreeLogic.h:151
QIcon myGeodeIcon
Definition: DtSceneGraphTreeLogic.h:346
QIcon myGeometryIcon
Definition: DtSceneGraphTreeLogic.h:347
QTreeWidgetItem * myItem
Definition: DtSceneGraphTreeLogic.h:96
DtDe & myDe
Definition: DtSceneGraphTreeLogic.h:329
std::vector< QTreeWidgetItem * > mySearchResults
Definition: DtSceneGraphTreeLogic.h:249
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
QTreeWidgetItem * myItem
Definition: DtSceneGraphTreeLogic.h:212
DtSceneGraphTreeLogic * myTree
Definition: DtSceneGraphTreeLogic.h:95
Contains makVrv::DtSubjectObserver class.
The DtSceneGraphTreeLogicCreator creator for the DtSceneGraphTreeLogicCreator class. Registered in vrvSt.cxx.
Definition: DtSceneGraphTreeLogic.h:356
Definition: DtSceneGraphTreeLogic.h:276
SceneGraphRoot
Definition: DtSceneGraphTreeLogic.h:264
DtExpandToLightsAction * myExpandLightNodesAction
Definition: DtSceneGraphTreeLogic.h:340
osg::observer_ptr< const osg::Node > myNode
Definition: DtSceneGraphTreeLogic.h:72
QIcon mySkyIcon
Definition: DtSceneGraphTreeLogic.h:344
osg::observer_ptr< osg::Node > myContextMenuNode
Definition: DtSceneGraphTreeLogic.h:131
Definition: DtSceneGraphTreeLogic.h:273
Context menu item for colorizing the current node and all it's children.
Definition: DtSceneGraphTreeLogic.h:101
DtDe & myDe
Definition: DtSceneGraphTreeLogic.h:383
osg::observer_ptr< const osg::Node > myBVAttachedNode
Definition: DtSceneGraphTreeLogic.h:73
Definition: DtSceneGraphTreeLogic.h:81
Definition: DtSceneGraphTreeLogic.h:270
Definition: DtSceneGraphTreeLogic.h:275
#define DT_DLL_VRVOSGQT
Definition: vrvOsgQt.h:22
std::string mySearchQuery
Definition: DtSceneGraphTreeLogic.h:248
Definition: DtSceneGraphTreeLogic.h:155
Definition: DtSceneGraphTreeLogic.h:274
QIcon mySunIcon
Definition: DtSceneGraphTreeLogic.h:343
DtSearchSceneGraphAction * mySearchAction
Definition: DtSceneGraphTreeLogic.h:342
DtSceneGraphTreeWidgetInterface * myWidgetInterface
Definition: DtSceneGraphTreeLogic.h:330
DtSceneGraphTreeLogic * myTree
Definition: DtSceneGraphTreeLogic.h:251
Contains DLL export macros.
Definition: DtSceneGraphTreeLogic.h:136
QIcon myCloudsIcon
Definition: DtSceneGraphTreeLogic.h:349
osg::observer_ptr< const osg::Node > myNode
Definition: DtSceneGraphTreeLogic.h:150
DtColorSubTreeAction * myColorSubTreeAction
Definition: DtSceneGraphTreeLogic.h:335
QTreeWidgetItem * myItem
Definition: DtSceneGraphTreeLogic.h:152
Definition: DtSceneGraphTreeLogic.h:267
DtExpandToGeometryAction(QObject *parent, DtSceneGraphTreeLogic *tree)
Definition: DtSceneGraphTreeLogic.h:177
Definition: DtSceneGraphTreeLogic.h:271
DtExpandToOQNAction * myExpandOcclusionNodesAction
Definition: DtSceneGraphTreeLogic.h:339
Logic for scene graph tree display widget.
Definition: DtSceneGraphTreeLogic.h:256
osg::observer_ptr< const osg::Node > myNode
Definition: DtSceneGraphTreeLogic.h:94
QIcon myEmptyIcon
Definition: DtSceneGraphTreeLogic.h:348
Definition: DtSceneGraphTreeLogic.h:195
WidgetToNodeMap myWidgetToNodeMap
Definition: DtSceneGraphTreeLogic.h:332
DtRefreshNodeAction * myRefreshAction
Definition: DtSceneGraphTreeLogic.h:336
DtDrawBoundsAction * myShowAABBoxAction
Definition: DtSceneGraphTreeLogic.h:334
DtAddOcclusionNodeAction * myOcclusionNodeAction
Definition: DtSceneGraphTreeLogic.h:341
search action for scene graph tab in the terrain information panel
Definition: DtSceneGraphTreeLogic.h:217
osg::observer_ptr< osg::ShapeDrawable > myBoundingVolumeDrawable
Definition: DtSceneGraphTreeLogic.h:74
Definition: DtSceneGraphTreeLogic.h:266
Definition: DtSceneGraphTreeLogic.h:164
osg::observer_ptr< osg::Node > myColorizedNode
Definition: DtSceneGraphTreeLogic.h:132
DtDrawBoundsAction * myShowBoundsAction
Definition: DtSceneGraphTreeLogic.h:333
Definition: DtSceneGraphTreeLogic.h:269
DtExpandAllAction * myExpandAllAction
Definition: DtSceneGraphTreeLogic.h:337
std::map< QTreeWidgetItem *, NodeObsPtr > WidgetToNodeMap
Definition: DtSceneGraphTreeLogic.h:260
bool myAABoundingBoxMode
Definition: DtSceneGraphTreeLogic.h:77
Definition: DtSceneGraphTreeLogic.h:268
osg::observer_ptr< const osg::Node > myNode
Definition: DtSceneGraphTreeLogic.h:210
Definition: DtSceneGraphTreeLogic.h:174
osg::ref_ptr< osg::Texture > myTexture
Definition: DtSceneGraphTreeLogic.h:76
size_t myCurrentIndex
Definition: DtSceneGraphTreeLogic.h:247
Definition: DtSceneGraphTreeLogic.h:272
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
DtSceneGraphTreeLogic * myTree
Definition: DtSceneGraphTreeLogic.h:211
osg::ref_ptr< osg::Image > myImage
Definition: DtSceneGraphTreeLogic.h:75
osg::observer_ptr< const osg::Node > NodeObsPtr
Definition: DtSceneGraphTreeLogic.h:259
Definition: DtSceneGraphTreeLogic.h:46
virtual bool shouldExpandTo(const osg::Node *node)
Definition: DtSceneGraphTreeLogic.h:160
DtExpandToLightsAction(QObject *parent, DtSceneGraphTreeLogic *tree)
Definition: DtSceneGraphTreeLogic.h:187
Definition: DtSceneGraphTreeLogic.h:53
QIcon myFolderIcon
Definition: DtSceneGraphTreeLogic.h:345
Definition: DtSceneGraphTreeLogic.h:184
DtExpandToGeometryAction * myExpandGeometryAction
Definition: DtSceneGraphTreeLogic.h:338