VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
gdb
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
34
class
DT_DLL_gdb
DtExtentTriangleIndirect
:
public
DtTriangleIndirect
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
51
inline
DtGdbNode::DtGdbNodeType
DtExtentTriangleIndirect::type
()
const
52
{
53
return
DtGdbNode::EXTENT_TRIANGLE_INDIRECT
;
54
}
55
56
#endif
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)