VR-Forces 4.8 Class Documentation
 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 
34  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
35 
36 protected:
39 };
40 
42  : public DtTerrainPagerSpecificCommand<DtOsgEarthTerrainSourcePager>
43 {
44 public:
46  virtual ~DtPageOutTilesCommand();
47 
48  virtual void execute(DtOsgEarthTerrainSourcePager* terrainPager);
49 
51  virtual const int type() const;
52 
53  virtual void setTilesToRemove(const DtTileKeyList tilesToRemove);
54 
55  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
56 
57 protected:
59 };
60 
62  : public DtTerrainPagerSpecificCommand<DtOsgEarthGroundCoverSourcePager>
63 {
64 public:
67 
68  virtual void execute(DtOsgEarthGroundCoverSourcePager* terrainPager);
69 
71  virtual const int type() const;
72 
73  virtual void setTilesToAdd(const DtTileKeyList tilesToAdd);
74  virtual void setGeometry(const DtTerrainPagingGeometryPtr& geometryToAdd);
75 
76  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
77 
78 protected:
81 };
82 
84  : public DtTerrainPagerSpecificCommand<DtOsgEarthGroundCoverSourcePager>
85 {
86 public:
89 
90  virtual void execute(DtOsgEarthGroundCoverSourcePager* terrainPager);
91 
93  virtual const int type() const;
94 
95  virtual void setTilesToRemove(const DtTileKeyList tilesToRemove);
96 
97  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
98 
99 protected:
101 };
std::list< osgEarth::TileKey > DtTileKeyList
Definition: tileSpatialIndex.h:27
DtBoost::shared_ptr< DtTerrainPagingGeometry > DtTerrainPagingGeometryPtr
Definition: terrainPagingGeometry.h:41
Definition: osgEarthCommands.h:41
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:94
Definition: osgEarthCommands.h:83
virtual void execute(DtTerrainSourcePager *pager)
Definition: terrainPagerCommand.h:108
DtTerrainPagingGeometryPtr myGeometry
Definition: osgEarthCommands.h:38
DtTerrainPagingGeometryPtr myGeometry
Definition: osgEarthCommands.h:80
DtTileKeyList myTilesToRemove
Definition: osgEarthCommands.h:100
Base class for commands that can be passed into the DtVantageTerrainEngine.
Definition: terrainPagerCommand.h:30
Definition: osgEarthCommands.h:19
DtTileKeyList myTilesToRemove
Definition: osgEarthCommands.h:58
#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:89
DtTileKeyList myTilesToAdd
Definition: osgEarthCommands.h:37
DtTileKeyList myTilesToAdd
Definition: osgEarthCommands.h:79
DtOsgEarthGroundCoverSourcePager is a derived terrainSourcePager that handles a streaming terrain sou...
Definition: osgEarthGroundCoverSourcePager.h:30
Definition: osgEarthCommands.h:61

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)