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() override;
26 
27  virtual void execute(DtOsgEarthTerrainSourcePager* terrainPager) override;
28 
30  virtual const int type() const override;
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() override;
51 
52  virtual void execute(DtOsgEarthTerrainSourcePager* terrainPager) override;
53 
55  virtual const int type() const override;
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:
70  virtual ~DtGroundCoverPageInTilesCommand() override;
71 
72  virtual void execute(DtOsgEarthGroundCoverSourcePager* terrainPager) override;
73 
75  virtual const int type() const override;
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:
92  virtual ~DtGroundCoverPageOutTilesCommand() override;
93 
94  virtual void execute(DtOsgEarthGroundCoverSourcePager* terrainPager) override;
95 
97  virtual const int type() const override;
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:
112  virtual ~DtVegetationLayerPageInTilesCommand() override;
113 
114  virtual void execute(DtOsgEarthVegetationLayerSourcePager* terrainPager) override;
115 
117  virtual const int type() const override;
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:
134  virtual ~DtVegetationLayerPageOutTilesCommand() override;
135 
136  virtual void execute(DtOsgEarthVegetationLayerSourcePager* terrainPager) override;
137 
139  virtual const int type() const override;
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
bool myForcePageInAllData
Definition: osgEarthCommands.h:42
Definition: osgEarthCommands.h:45
DtOsgEarthTerrainSourcePager is a derived terrainSourcePager that handles a streaming terrain source...
Definition: osgEarthTerrainSourcePager.h:45
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
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
std::shared_ptr< DtTerrainPagingGeometry > DtTerrainPagingGeometryPtr
Definition: terrainPagingGeometry.h:46
Definition: osgEarthCommands.h:107
DtTerrainPagingGeometryPtr myGeometry
Definition: osgEarthCommands.h:126
std::shared_ptr< DtPagingMetaData > DtPagingMetaDataPtr
Definition: terrainPagingGeometry.h:108
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
DtTileKeyList myTilesToAdd
Definition: osgEarthCommands.h:40
Definition: osgEarthCommands.h:129
DtTileKeyList myTilesToAdd
Definition: osgEarthCommands.h:83
virtual void execute(DtTerrainSourcePager *pager) override
Definition: terrainPagerCommand.h:139
DtOsgEarthGroundCoverSourcePager is a derived terrainSourcePager that handles a streaming terrain sou...
Definition: osgEarthGroundCoverSourcePager.h:25
Definition: osgEarthCommands.h:65

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)