VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
osgEarthCommands.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
15 
17 
18 #undef final
19 
21  : public DtTerrainPagerSpecificCommand<DtOsgEarthTerrainSourcePager>
22 {
23 public:
25  virtual ~DtPageInTilesCommand();
26 
27  virtual void execute(DtOsgEarthTerrainSourcePager* terrainPager);
28 
30  virtual const int type() const;
31 
32  virtual void setTilesToAdd(const DtTileKeyList tilesToAdd);
33  virtual void setGeometry(const DtTerrainPagingGeometryPtr& geometryToAdd);
34  virtual void setForcePageInAllData(bool forcePageInAllData);
35  virtual bool forcePageInAllData() const;
36 
37  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
38 
39 protected:
43 };
44 
46  : public DtTerrainPagerSpecificCommand<DtOsgEarthTerrainSourcePager>
47 {
48 public:
50  virtual ~DtPageOutTilesCommand();
51 
52  virtual void execute(DtOsgEarthTerrainSourcePager* terrainPager);
53 
55  virtual const int type() const;
56 
57  virtual void setTilesToRemove(const DtTileKeyList tilesToRemove);
58 
59  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
60 
61 protected:
63 };
64 
66  : public DtTerrainPagerSpecificCommand<DtOsgEarthGroundCoverSourcePager>
67 {
68 public:
71 
72  virtual void execute(DtOsgEarthGroundCoverSourcePager* terrainPager);
73 
75  virtual const int type() const;
76 
77  virtual void setTilesToAdd(const DtTileKeyList tilesToAdd);
78  virtual void setGeometry(const DtTerrainPagingGeometryPtr& geometryToAdd);
79 
80  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
81 
82 protected:
85 };
86 
88  : public DtTerrainPagerSpecificCommand<DtOsgEarthGroundCoverSourcePager>
89 {
90 public:
93 
94  virtual void execute(DtOsgEarthGroundCoverSourcePager* terrainPager);
95 
97  virtual const int type() const;
98 
99  virtual void setTilesToRemove(const DtTileKeyList tilesToRemove);
100 
101  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
102 
103 protected:
105 };
106 
108  : public DtTerrainPagerSpecificCommand<DtOsgEarthVegetationLayerSourcePager>
109 {
110 public:
113 
114  virtual void execute(DtOsgEarthVegetationLayerSourcePager* terrainPager);
115 
117  virtual const int type() const;
118 
119  virtual void setTilesToAdd(const DtTileKeyList tilesToAdd);
120  virtual void setGeometry(const DtTerrainPagingGeometryPtr& geometryToAdd);
121 
122  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
123 
124 protected:
127 };
128 
130  : public DtTerrainPagerSpecificCommand<DtOsgEarthVegetationLayerSourcePager>
131 {
132 public:
135 
136  virtual void execute(DtOsgEarthVegetationLayerSourcePager* terrainPager);
137 
139  virtual const int type() const;
140 
141  virtual void setTilesToRemove(const DtTileKeyList tilesToRemove);
142 
143  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
144 
145 protected:
147 };
std::list< osgEarth::TileKey > DtTileKeyList
Definition: tileSpatialIndex.h:32
DtBoost::shared_ptr< DtTerrainPagingGeometry > DtTerrainPagingGeometryPtr
Definition: terrainPagingGeometry.h:46
bool myForcePageInAllData
Definition: osgEarthCommands.h:42
Definition: osgEarthCommands.h:45
DtOsgEarthTerrainSourcePager is a derived terrainSourcePager that handles a streaming terrain source...
Definition: osgEarthTerrainSourcePager.h:36
Template class for creating DtTerrainPagerCommand subclasses that are used for a specific subclass of...
Definition: terrainPagerCommand.h:126
DtTileKeyList myTilesToAdd
Definition: osgEarthCommands.h:125
Definition: osgEarthCommands.h:87
virtual void execute(DtTerrainSourcePager *pager)
Definition: terrainPagerCommand.h:140
DtTerrainPagingGeometryPtr myGeometry
Definition: osgEarthCommands.h:41
DtTerrainPagingGeometryPtr myGeometry
Definition: osgEarthCommands.h:84
DtTileKeyList myTilesToRemove
Definition: osgEarthCommands.h:146
DtTileKeyList myTilesToRemove
Definition: osgEarthCommands.h:104
Base class for commands that can be passed into the DtVantageTerrainEngine. These commands are passed...
Definition: terrainPagerCommand.h:30
Definition: osgEarthCommands.h:107
DtTerrainPagingGeometryPtr myGeometry
Definition: osgEarthCommands.h:126
Definition: osgEarthCommands.h:20
DtOsgEarthVegetationLayerSourcePager is a derived terrainSourcePager that handles a streaming terrain...
Definition: osgEarthVegetationLayerSourcePager.h:27
DtTileKeyList myTilesToRemove
Definition: osgEarthCommands.h:62
#define DT_DLL_vantageTerrainImplementation
This file is used to determine how to build.
Definition: vantageTerrainImplementationDefines.h:28
virtual const int type() const =0
DtBoost::shared_ptr< DtPagingMetaData > DtPagingMetaDataPtr
Definition: terrainPagingGeometry.h:101
DtTileKeyList myTilesToAdd
Definition: osgEarthCommands.h:40
Definition: osgEarthCommands.h:129
DtTileKeyList myTilesToAdd
Definition: osgEarthCommands.h:83
DtOsgEarthGroundCoverSourcePager is a derived terrainSourcePager that handles a streaming terrain sou...
Definition: osgEarthGroundCoverSourcePager.h:25
Definition: osgEarthCommands.h:65

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)