VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GroundFeatureProcess.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
11 
12 #include <osgEarth/TileKey>
13 
14 using namespace osgEarth;
15 
18 {
19  GroundFeatureProcess(const TileKey& tileKey, const std::string& groundLayerName) :
20  myTileKey(tileKey),
21  myGroundLayerName(groundLayerName)
22  {
23  }
24 
25  bool operator == (const GroundFeatureProcess& rhs) const
26  {
27  return (myTileKey == rhs.myTileKey &&
28  myGroundLayerName == rhs.myGroundLayerName);
29  }
30 
31  bool operator < (const GroundFeatureProcess& rhs) const
32  {
33  if (myTileKey < rhs.myTileKey) return true;
34  if (rhs.myTileKey < myTileKey) return false;
35  if (myGroundLayerName < rhs.myGroundLayerName) return true;
36  return false;
37  }
38 
39  TileKey myTileKey;
40  std::string myGroundLayerName;
41 };
42 
43 typedef std::set<GroundFeatureProcess> groundFeatureList;
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
std::set< GroundFeatureProcess > groundFeatureList
Definition: GroundFeatureProcess.h:43
Map that keep track of the ground feature tiles generated.
Definition: GroundFeatureProcess.h:17
TileKey myTileKey
Definition: GroundFeatureProcess.h:39
std::string myGroundLayerName
Definition: GroundFeatureProcess.h:40
#define DT_DLL_vantageTerrainImplementation
This file is used to determine how to build.
Definition: vantageTerrainImplementationDefines.h:28
GroundFeatureProcess(const TileKey &tileKey, const std::string &groundLayerName)
Definition: GroundFeatureProcess.h:19

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)