VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
gdb
spatialSubdivisionTerrainIntersectorDescriptor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: spatialSubdivisionTerrainIntersectorDescriptor.h,v $ $Revision: 1.3 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef spatialSubdivisionTerrainIntersectorDescriptor_h
13
#define spatialSubdivisionTerrainIntersectorDescriptor_h
14
15
#include "
gdb/gdbDefines.h
"
16
#include "
gdb/terrainIntersectorDescriptor.h
"
17
18
// Descriptor for the DtSpatialSubdivisionTerrainIntersector.
19
// Specifies the number of cells in each of the X Y and Z axis of the
20
// subdivision.
21
class
DT_DLL_gdb
DtSpatialSubdivisionTerrainIntersectorDescriptor
:
public
DtTerrainIntersectorDescriptor
22
{
23
public
:
24
DtSpatialSubdivisionTerrainIntersectorDescriptor
();
25
DtSpatialSubdivisionTerrainIntersectorDescriptor
(
const
DtSpatialSubdivisionTerrainIntersectorDescriptor
& orig);
26
virtual
~
DtSpatialSubdivisionTerrainIntersectorDescriptor
();
27
28
DtSpatialSubdivisionTerrainIntersectorDescriptor
&
operator=
(
const
DtSpatialSubdivisionTerrainIntersectorDescriptor
& orig);
29
30
virtual
int
terrainIntersectorType
()
const
;
31
32
virtual
DtTerrainIntersectorDescriptor
*
clone
()
const
;
33
34
// The number of cells in the X axis of the subdivision.
36
virtual
void
setNumCellsX(
int
v);
37
virtual
int
numCellsX()
const
;
39
40
// The number of cells in the Z axis of the subdivision.
42
virtual
void
setNumCellsY(
int
v);
43
virtual
int
numCellsY()
const
;
45
46
// The number of cells in the Y axis of the subdivision.
48
virtual
void
setNumCellsZ(
int
v);
49
virtual
int
numCellsZ()
const
;
51
52
// Set the number of cells in all three axis.
53
virtual
void
setNumCells(
int
x,
int
y,
int
z);
54
55
static
DtTerrainIntersectorDescriptor
* create();
56
57
virtual
void
descriptorInformation
(
DtString
& name,
DtString
& properties)
const
;
58
59
protected
:
60
int
myNumCellsX
;
61
int
myNumCellsY
;
62
int
myNumCellsZ
;
63
};
64
65
#endif
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
)