VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgEarthUtil.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace osgEarth
6 {
7  class Map;
8  class VisibleLayer;
9  class ImageLayer;
10  class ElevationLayer;
11  class ModelLayer;
12  class TerrainConstraintLayer;
13  class LandCoverLayer;
14 
15  namespace Buildings
16  {
17  class BuildingLayer;
18  }
19  namespace Splat
20  {
21  class GroundCoverLayer;
22  class RoadSurfaceLayer;
23  class SplatLayer;
24  class BiomeLayout;
25  class BiomeZone;
26  }
27 }
28 
29 namespace makVrv
30 {
34  {
35  public:
36 
40  static int findSequenceOfImageLayer(osgEarth::Map* map, osgEarth::ImageLayer* layer);
41 
45  static int findSequenceOfElevationLayer(osgEarth::Map* map, osgEarth::ElevationLayer* layer);
46 
50  static int findSequenceOfModelLayer(osgEarth::Map* map, osgEarth::ModelLayer* layer);
51 
55  static int findSequenceOfMaskLayer(osgEarth::Map* map, osgEarth::TerrainConstraintLayer* layer);
56 
60  static int findSequenceOfBuildingLayer(osgEarth::Map* map, osgEarth::Buildings::BuildingLayer* layer);
61 
65  static int findSequenceOfLandCoverLayer(osgEarth::Map* map, osgEarth::LandCoverLayer* layer);
66 
70  static int findSequenceOfGroudCoverLayer(osgEarth::Map* map, osgEarth::Splat::GroundCoverLayer* layer);
71 
75  static int findSequenceOfRoadSurfaceLayer(osgEarth::Map* map, osgEarth::Splat::RoadSurfaceLayer* layer);
76 
80  static int findSequenceOfSplatLayer(osgEarth::Map* map, osgEarth::Splat::SplatLayer* layer);
81 
85  static osgEarth::ImageLayer* findImageLayerBySequence(osgEarth::Map* map, int sequence);
86 
90  static osgEarth::ElevationLayer* findElevationLayerBySequence(osgEarth::Map* map, int sequence);
91 
95  static osgEarth::ModelLayer* findModelLayerBySequence(osgEarth::Map* map, int sequence);
96 
100  static osgEarth::Buildings::BuildingLayer* findBuildingLayerBySequence(osgEarth::Map* map, int sequence);
101 
105  static osgEarth::LandCoverLayer* findLandCoverLayerBySequence(osgEarth::Map* map, int sequence);
106 
110  static osgEarth::Splat::GroundCoverLayer* findGroudCoverLayerBySequence(osgEarth::Map* map, int sequence);
111 
115  static osgEarth::Splat::RoadSurfaceLayer* findRoadSurfaceLayerBySequence(osgEarth::Map* map, int sequence);
116 
120  static osgEarth::Splat::SplatLayer* findSplatLayerBySequence(osgEarth::Map* map, int sequence);
121 
125  static osgEarth::VisibleLayer* findVisibleLayer(osgEarth::Map* map, int uid);
126 
130  static osgEarth::ImageLayer* findImageLayer(osgEarth::Map* map, int uid);
131 
135  static osgEarth::ElevationLayer* findElevationLayer(osgEarth::Map* map, int uid);
136 
140  static osgEarth::ModelLayer* findModelLayer(osgEarth::Map* map, int uid);
141 
145  static osgEarth::TerrainConstraintLayer* findMaskLayer(osgEarth::Map* map, int uid);
146 
150  static osgEarth::Buildings::BuildingLayer* findBuildingLayer(osgEarth::Map* map, int uid);
151 
155  static osgEarth::LandCoverLayer* findLandCoverLayer(osgEarth::Map* map, int uid);
156 
160  static osgEarth::Splat::GroundCoverLayer* findGroundCoverLayer(osgEarth::Map* map, int uid);
161 
165  static osgEarth::Splat::RoadSurfaceLayer* findRoadSurfaceLayer(osgEarth::Map* map, int uid);
166 
170  static osgEarth::Splat::SplatLayer* findSplatLayer(osgEarth::Map* map, int uid);
171 
176  static int getUidOfLayer(osgEarth::Map* map, const std::string& layerName);
177 
178  private:
180  DtOsgEarthUtil();
184  DtOsgEarthUtil &operator=(const DtOsgEarthUtil&);
185  };
186 }
#define DT_DLL_VRVOSGEARTH
Definition: vrvOsgEarth.h:21
DtOsgEarthUtil.
Definition: DtOsgEarthUtil.h:33
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)