VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
extentTriangleIndirect.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 extentTriangleIndirect_H_
10 #define extentTriangleIndirect_H_
11 
12 #include "gdb/gdbDefines.h"
13 #include "gdb/triangleIndirect.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
Definition: triangleIndirect.h:31
DtGdbNodeType
Definition: gdbNode.h:48
Definition: gdbNode.h:44
virtual DtGdbNode::DtGdbNodeType type() const
Definition: triangleIndirect.h:217
#define DT_DLL_gdb
Definition: gdbDefines.h:25
Definition: extentTriangleIndirect.h:34
Definition: surfaceManager.h:30
Definition: polygonIndirect.h:29
DtGdbNode * myOwner
Definition: extentTriangleIndirect.h:47
Definition: gdbNode.h:67
virtual DtGdbNode::DtGdbNodeType type() const
Definition: extentTriangleIndirect.h:51

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)