VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtBuildingMetadataNodeHandler.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <map>
13 #include <memory>
14 
15 namespace osg
16 {
17  class Node;
18 }
19 
20 namespace osgEarth
21 {
22  class MetadataNode;
23 }
24 
25 namespace makVrv
26 {
27  class DtIndirectMetadataNode;
28  class DtIndirectSharedMetadataNodeWrapper;
29 
34  {
35  public:
37 
40  void findMetadataNodes(osg::Node* node);
41 
44  DtIndirectMetadataNode* createIndirectMetadataNode(const osgEarth::MetadataNode* node);
45 
46  protected:
47  std::map<const osgEarth::MetadataNode*, std::shared_ptr<DtIndirectSharedMetadataNodeWrapper> > myMetadataNodes;
48  };
49 }
std::map< const osgEarth::MetadataNode *, std::shared_ptr< DtIndirectSharedMetadataNodeWrapper > > myMetadataNodes
Definition: DtBuildingMetadataNodeHandler.h:47
DtIndirectMetadataNode * createIndirectMetadataNode(const osgEarth::MetadataNode *node)
Creates a new instance of DtIndirectMetadataNode linked to the given MetadataNode via the DtIndirectS...
This node extends osgEarth::MetadataNode in order to bridge the visibile flag into the indirect engin...
Definition: DtIndirectMetadataNode.h:24
Handles the discover of MetadataNode nodes and the sharing of DtIndirectSharedMetadataNodeWrapper obj...
Definition: DtBuildingMetadataNodeHandler.h:33
void findMetadataNodes(osg::Node *node)
Walks the given node and it&#39;s children to find all MetadataNode nodes. One instance of DtIndirectShar...

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)