VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOsgEarthStreamedFeatureManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 #include <vrvCore/DtDe.h>
16 
18 
19 #include <osg/NodeVisitor>
20 
21 namespace osgEarth
22 {
23  namespace Features
24  {
25  class CustomFeatureNode;
26  }
27  class Map;
28  class ModelLayer;
29 }
30 
31 namespace osg
32 {
33  class Node;
34 }
35 
36 namespace makVrv
37 {
38  class DtTerrainPatchObject;
39 
48  {
49  public:
50 
53 
54  protected:
55 
58  friend class DtOsgEarthStreamedFeatureCallback;
59 
61 
66  virtual void processNewFeatures(
67  osgEarth::Features::CustomFeatureNode* featureNode );
68 
72  virtual void slot_customFeatureNodeToBeDeleted(
73  osgEarth::Features::CustomFeatureNode* node );
74 
76 
77  virtual void onDataLoaded(osgEarth::Map* map, osgEarth::ModelLayer* layer,
78  osg::Node* data);
79 
80  protected:
83 
84  // CTOR (protected, only created through creator function)
86 
87  // CTOR (unimplemented default CTOR)
89 
94  virtual void slot_terrainPatchCreated(DtTerrainPatchObject& patch);
95 
96  protected:
99  };
100 
106  {
107  public:
111  {
112  }
113 
116  {
117  }
118 
120  virtual DtStreamedFeatureManager* create( DtDe& de );
121  };
122 
127  class DT_DLL_VRVOSGEARTH DtStreamedFeaturePageVisitor : public osg::NodeVisitor
128  {
129  public:
130  typedef std::list<osgEarth::Features::CustomFeatureNode*> FoundFeatureNodeList;
131 
134 
136  virtual ~DtStreamedFeaturePageVisitor();
137 
138  const FoundFeatureNodeList& foundFeatureNodes();
139 
140  public: // osg::NodeVisitor overrides
141 
142  void apply(osg::Node& node);
143 
144  protected:
145 
146  // List of found CustomFeatureNodes
148  };
149 }

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)