VR-Forces 4.6 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
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 <tbb/spin_mutex.h>
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
DtVrfChordIntersectionRecord
& record,
32
DtIntersectionRecord::DtIntersectionType
irtFlag =
33
DtIntersectionRecord::INT_ALL_DATA
,
34
bool
* dataAvailable = 0,
bool
overrideBlockingAssert =
false
,
int
flags = 0)
const
;
35
37
virtual
bool
allIntersectsAlongChord
(
const
DtChord
& chord,
38
DtVrfChordIntersectRecordList
& intList,
39
DtIntersectionRecord::DtIntersectionType
irtFlag =
DtIntersectionRecord::INT_ALL_DATA
,
40
bool
* dataAvailable = 0,
bool
overrideBlockingAssert =
false
,
int
flags = 0)
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
DtConsoleCommandOwner
*
myCommandOwner
;
51
52
mutable
tbb::spin_mutex
myMutex
;
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 Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)