VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ellipsoidTerrainImplementation.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 
16 
17 class DtCoordinateSystem;
18 namespace makArchives
19 {
20  class DtGenericTerrainRecord;
21 }
22 
28 {
29 public:
32 
33  static DtTerrainImplementation* create(DtConsoleCommandManager* cmdMgr);
34 
35  virtual bool loadTerrain(
37 
38  virtual const Coordinate_System* coordinateSystem() const;
39 
42  virtual bool chordIntersect(const DtChord& chord,
46  bool* dataAvailable = 0, bool overrideBlockingAssert = false, int flags = 0) const;
47 
50  virtual bool allIntersectsAlongChord(const DtChord& chord,
54  bool* dataAvailable = 0, bool overrideBlockingAssert = false, int flags = 0) const;
55 
56  virtual const DtTerrainCapabilities* terrainCapabilities() const;
57 
59 
60 protected:
61  void fillHitRecord(DtChordIntersectionRecord& rec, const DtChord& chord, const DtPoint& chordNormal,
62  double intersectTime, DtIntersectionRecord::DtIntersectionType irtFlag) const;
63 
64  bool chordEllipsoidIntersect(const DtChord& chord, DtChordIntersectionRecord& hit1,
66 
67 protected:
70 };

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)