VR-Forces 5.0.2 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) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
14 
16 
17 #undef final
18 
20  : public DtTerrainPagerSpecificCommand<DtOsgEarthTerrainSourcePager>
21 {
22 public:
24  virtual ~DtPageInTilesCommand();
25 
26  virtual void execute(DtOsgEarthTerrainSourcePager* terrainPager);
27 
29  virtual const int type() const;
30 
31  virtual void setTilesToAdd(const DtTileKeyList tilesToAdd);
32  virtual void setGeometry(const DtTerrainPagingGeometryPtr& geometryToAdd);
33  virtual void setForcePageInAllData(bool forcePageInAllData);
34  virtual bool forcePageInAllData() const;
35 
36  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
37 
38 protected:
42 };
43 
45  : public DtTerrainPagerSpecificCommand<DtOsgEarthTerrainSourcePager>
46 {
47 public:
49  virtual ~DtPageOutTilesCommand();
50 
51  virtual void execute(DtOsgEarthTerrainSourcePager* terrainPager);
52 
54  virtual const int type() const;
55 
56  virtual void setTilesToRemove(const DtTileKeyList tilesToRemove);
57 
58  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
59 
60 protected:
62 };
63 
65  : public DtTerrainPagerSpecificCommand<DtOsgEarthGroundCoverSourcePager>
66 {
67 public:
70 
71  virtual void execute(DtOsgEarthGroundCoverSourcePager* terrainPager);
72 
74  virtual const int type() const;
75 
76  virtual void setTilesToAdd(const DtTileKeyList tilesToAdd);
77  virtual void setGeometry(const DtTerrainPagingGeometryPtr& geometryToAdd);
78 
79  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
80 
81 protected:
84 };
85 
87  : public DtTerrainPagerSpecificCommand<DtOsgEarthGroundCoverSourcePager>
88 {
89 public:
92 
93  virtual void execute(DtOsgEarthGroundCoverSourcePager* terrainPager);
94 
96  virtual const int type() const;
97 
98  virtual void setTilesToRemove(const DtTileKeyList tilesToRemove);
99 
100  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
101 
102 protected:
104 };
std::list< osgEarth::TileKey > DtTileKeyList
Definition: tileSpatialIndex.h:32
DtBoost::shared_ptr< DtTerrainPagingGeometry > DtTerrainPagingGeometryPtr
Definition: terrainPagingGeometry.h:46
bool myForcePageInAllData
Definition: osgEarthCommands.h:41
Definition: osgEarthCommands.h:44
DtOsgEarthTerrainSourcePager is a derived terrainSourcePager that handles a streaming terrain source...
Definition: osgEarthTerrainSourcePager.h:40
Template class for creating DtTerrainPagerCommand subclasses that are used for a specific subclass of...
Definition: terrainPagerCommand.h:126
Definition: osgEarthCommands.h:86
virtual void execute(DtTerrainSourcePager *pager)
Definition: terrainPagerCommand.h:140
DtTerrainPagingGeometryPtr myGeometry
Definition: osgEarthCommands.h:40
DtTerrainPagingGeometryPtr myGeometry
Definition: osgEarthCommands.h:83
DtTileKeyList myTilesToRemove
Definition: osgEarthCommands.h:103
Base class for commands that can be passed into the DtVantageTerrainEngine. These commands are passed...
Definition: terrainPagerCommand.h:30
Definition: osgEarthCommands.h:19
DtTileKeyList myTilesToRemove
Definition: osgEarthCommands.h:61
#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:39
DtTileKeyList myTilesToAdd
Definition: osgEarthCommands.h:82
DtOsgEarthGroundCoverSourcePager is a derived terrainSourcePager that handles a streaming terrain sou...
Definition: osgEarthGroundCoverSourcePager.h:30
Definition: osgEarthCommands.h:64

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)