VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
terrainInterface
intersectTimerPassThroughLayer.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
terrainInterface/terrainInterfaceDefines.h
"
14
#include "
terrainInterface/terrainPassThroughLayer.h
"
15
#include <vlutil/vlPerformanceStats.h>
16
#include <list>
17
18
class
DtConsoleCommand
;
19
22
class
DT_DLL_terrainInterface
DtIntersectTimerPassThroughLayer
:
public
DtTerrainPassThroughLayer
23
{
24
public
:
25
DtIntersectTimerPassThroughLayer
(
DtTerrainImplementation
* implementation,
26
DtConsoleCommandManager
* cmdMgr);
27
virtual
~
DtIntersectTimerPassThroughLayer
();
28
30
virtual
bool
chordIntersect
(
const
DtChord
& chord,
31
DtChordIntersectionRecord
& record,
32
DtIntersectionRecord::DtIntersectionType
irtFlag =
33
DtIntersectionRecord::INT_ALL_DATA
,
34
bool
* dataAvailable = 0,
bool
overrideBlockingAssert =
false
)
const
;
35
37
virtual
bool
allIntersectsAlongChord
(
const
DtChord
& chord,
38
DtChordIntersectRecordList
& intList,
39
DtIntersectionRecord::DtIntersectionType
irtFlag =
DtIntersectionRecord::INT_ALL_DATA
,
40
bool
* dataAvailable = 0,
bool
overrideBlockingAssert =
false
)
const
;
41
42
virtual
void
resetStatistics();
43
44
virtual
void
printStatistics();
45
46
static
DtTerrainPassThroughLayer
* create(
DtCreatorParam
createParam);
47
protected
:
48
virtual
void
printStatistic(
int
statId);
49
protected
:
50
DtConsoleCommandManager
*
myCommandMgr
;
51
std::list<DtConsoleCommand*>
myCommandList
;
52
53
mutable
DtPerformanceStats
myDataAvailableIntersectionStats
;
54
mutable
DtPerformanceStats
myDataUnavailableIntersectionStats
;
55
mutable
std::map<unsigned int, unsigned int>
myDataAvailableIntersectCount
;
56
mutable
std::map<unsigned int, unsigned int>
myDataUnavailableIntersectCount
;
57
};
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)