VR-Forces 4.2 Class Documentation
terrainPassThroughLayer.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
23 {
24 private:
26 
31 public:
35  DtConsoleCommandManager* cmdMgr);
36  virtual ~DtTerrainPassThroughLayer();
37 
38  virtual bool loadTerrain(const makArchives::DtGenericTerrainRecord& rec,
40  const std::map<std::string, std::string>& settings =
41  (std::map<std::string, std::string>()));
42 
43  virtual const Coordinate_System* coordinateSystem() const ;
44 
45  virtual void preloadTerrainAreas(
46  const DtTerrainPagingGeometryList& preloadGeometry);
47 
50  virtual bool chordIntersect(const DtChord& chord,
51  DtChordIntersectionRecord& record,
52  DtIntersectionRecord::DtIntersectionType irtFlag =
53  DtIntersectionRecord::INT_ALL_DATA,
54  bool* dataAvailable = 0, bool overrideBlockingAssert = false) const;
55 
59  virtual bool allIntersectsAlongChord(const DtChord& chord,
60  DtChordIntersectRecordList& intList,
61  DtIntersectionRecord::DtIntersectionType irtFlag =
62  DtIntersectionRecord::INT_ALL_DATA,
63  bool* dataAvailable = 0, bool overrideBlockingAssert = false) const;
64 
67  virtual bool sphereIntersect(const DtSphere& sphere,
68  DtSphereIntersectionRecord& record,
69  DtIntersectionRecord::DtIntersectionType irtFlag =
70  DtIntersectionRecord::INT_ALL_DATA,
71  bool* dataAvailable = 0, bool overrideBlockingAssert = false) const;
72 
73  virtual const DtTerrainCapabilities* terrainCapabilities() const;
74 
75  virtual void setIntersectDataLoadExpireTime(const double& expireTime);
76 
77  virtual void expireDataLoadRequestsBeforeTime(const double& currentTime);
78 
80  {
83  };
84 
85 protected:
87 };
88 
89 typedef DtStringKeyFactoryWithParam<DtTerrainPassThroughLayer, DtTerrainPassThroughLayer::DtCreatorParam>
91 typedef DtTerrainPassThroughLayerFactory::DtCreatorFcn DtTerrainPassThroughLayerCreatorFcn;

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)