VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtStreamedFeaturePageVisitor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 #pragma once
6 
10 
12 #include <osg/NodeVisitor>
13 
14 namespace osgEarth
15 {
16  class CustomFeatureNode;
17 }
18 
19 namespace makVrv
20 {
24  template<class FeatureNodeType>
25  class DtStreamedFeaturePageVisitorTemplate : public osg::NodeVisitor
26  {
27  public:
30 
33 
34  private:
39 
40  public:
42  typedef std::list<FeatureNodeType*> FoundFeatureNodeList;
43 
44  public:
45 
47  virtual const FoundFeatureNodeList& foundFeatureNodes();
48 
49  public: // osg::NodeVisitor overrides
50 
52  virtual void apply(osg::Node& node);
53 
54  protected:
55 
56  // List of found CustomFeatureNodes
58  };
59 }
60 
61 
62 #include "DtStreamedFeaturePageVisitor.inl"
63 
64 namespace makVrv
65 {
67 }
DtStreamedFeaturePageVisitorTemplate< osgEarth::CustomFeatureNode > DtStreamedFeaturePageVisitor
Definition: DtStreamedFeaturePageVisitor.h:66
virtual void apply(osg::Node &node)
overrides the osg::NodeVisitor apply and gathers FeatureNodeType objects
DtStreamedFeaturePageVisitor is a osg::NodeVisitor to traverse an incoming &#39;tile&#39; looking for CustomF...
Definition: DtStreamedFeaturePageVisitor.h:25
virtual const FoundFeatureNodeList & foundFeatureNodes()
The found feature node list upon visiting.
std::list< FeatureNodeType * > FoundFeatureNodeList
list of feature nodes
Definition: DtStreamedFeaturePageVisitor.h:42
DtStreamedFeaturePageVisitorTemplate & operator=(const DtStreamedFeaturePageVisitorTemplate &other)
Assignment Operator Not implemented – Assignment Not Allowed.
FoundFeatureNodeList myFoundFeatureNodeList
Definition: DtStreamedFeaturePageVisitor.h:57
Contains DLL export macros.

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)