VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
terrainCapabilities.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <vlutil/vlString.h>
15 #include <map>
16 
29 {
30 private:
32 
34  DtTerrainCapabilities& operator=(const DtTerrainCapabilities& orig);
36 
37 public:
39  virtual ~DtTerrainCapabilities();
40 
42  virtual void setIsHighFidelityTerrain(bool b);
43  virtual bool isHighFidelityTerrain() const;
44 
48 
49  virtual bool supportsTerrainPreload() const;
50  virtual void setSupportsTerrainPreload(bool value);
52 
56 
57  virtual bool hasNonPolygonalWaterRegions() const;
58  virtual void setHasNonPolygonalWaterRegions(bool value);
59  //@)
60 
62  virtual DtString capabilityValue(const DtString& key) const;
65  virtual void setCapabilityValue(const DtString& key, const DtString& value);
67  virtual void clearCapability(const DtString& key);
69  virtual const std::map<DtString, DtString>& capabilityMap() const;
70 protected:
74  std::map<DtString, DtString> myCapabilitiesMap;
75 };
bool mySupportsTerrainPreload
Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and p...
Definition: terrainCapabilities.h:71
#define DT_DLL_terrainInterface
This file is used to determine how to build.
Definition: terrainInterfaceDefines.h:25
This class holds parameters which define the capabilities of the current terrain. The terrain impleme...
Definition: terrainCapabilities.h:28
std::map< DtString, DtString > myCapabilitiesMap
Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and p...
Definition: terrainCapabilities.h:74
bool myHasNonPolygonalWaterRegions
Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and p...
Definition: terrainCapabilities.h:72
bool myIsHighFidelityTerrain
Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and p...
Definition: terrainCapabilities.h:73

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)