VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gdbTerrainImplementation.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 #ifndef gdbTerrainImplementation_h
12 #define gdbTerrainImplementation_h
13 
16 #include <geometry/intersectionRecord.h>
18 #include "geometry/surface.h"
19 #include "gdb/gdbNode.h"
20 #include "gdb/group.h"
21 #include "gdb/triangleIndirect.h"
22 
23 class DtTdbManager;
24 class DtTerrainImplementationDescriptor;
25 namespace makArchives
26 {
27  class DtGenericTerrainRecord;
28 }
29 
35 {
36 public:
38 
39  virtual ~DtGdbTerrainImplementation();
40 
41  static DtTerrainImplementation* create(DtConsoleCommandManager* cmdMgr);
42 
43  virtual bool loadTerrain(
45 
46  virtual const Coordinate_System* coordinateSystem() const;
47 
50  virtual bool chordIntersect(const DtChord& chord,
51  DtChordIntersectionRecord& record,
52  DtIntersectionRecord::DtIntersectionType irtFlag = DtIntersectionRecord::INT_ALL_DATA,
53  bool* dataAvailable = 0, bool overrideBlockingAssert = false) const;
54 
57  virtual bool allIntersectsAlongChord(const DtChord& chord,
58  DtChordIntersectRecordList& intList,
59  DtIntersectionRecord::DtIntersectionType irtFlag = DtIntersectionRecord::INT_ALL_DATA,
60  bool* dataAvailable = 0, bool overrideBlockingAssert = false) const;
61 
62  virtual const DtTerrainCapabilities* terrainCapabilities() const;
63 
65  virtual void consumeNode(DtGdbNode* gdbNode, DtTerrainProcessPolygonsBox& box, DtTriangleCallbackFcn func, void* usr) const;
66 protected:
67  DtTdbManager* myTdbManager;
69 };
70 
71 #endif

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)