VR-Forces 4.1 Class Documentation
extentTriInd.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2000 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: extentTriInd.h,v $ $Revision: 1.2 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef extentTriInd_H_
10 #define extentTriInd_H_
11 
12 #include "gdb/gdbDefines.h"
13 #include "gdb/triInd.h"
14 #include <vlutil/vlPrint.h>
15 
16 
17 // forward declarations
18 class DtSurfaceManager;
19 class DtPolygonIndirect;
20 
21 
22 // class DtExtentTriangleIndirect:
23 //
24 // DtTriangleIndirect allows for the specification of the
25 // triangles that define the extent of an external DtFileNode. These
26 // triangles are created for the sole purpose of distinguishing then
27 // from real terrain polygons when calculating intersections using
28 // OPCODE. When an intersection with a triangle of this kind occurs
29 // it means that the intersection did not happen in a real polygon
30 // of the terrain, instead, it happened inside the DtFileNode extents
31 // and its underlying terrain database needs to be loaded for further
32 // intersection tests.
33 
35 {
36 public:
37 
38  // returns type of gdb node
39  virtual DtGdbNode::DtGdbNodeType type() const;
40 
41  virtual void setOwner(DtGdbNode* owner);
42 
43  virtual DtGdbNode* owner() const;
44 
45 protected:
46 
47  DtGdbNode* myOwner; // pointer to the node's owner
48 };
49 
50 
52 {
54 }
55 
56 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)