aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/PxSimulationStatistics_8h-source.html
blob: 71643ae344a7e88a33964e0e86dbb3d450b9e8fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<html>
	<head>
		<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxSimulationStatistics.h Source File</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
	</head>

	<body bgcolor="#FFFFFF">
		<div id="header">
			<hr class="first">
			<img alt="" src="images/PhysXlogo.png" align="middle"> <br>
			<center>
				<a class="qindex" href="main.html">Main Page</a> &nbsp; 
				<a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; 
				<a class="qindex" href="annotated.html">Compound List</a> &nbsp; 
				<a class="qindex" href="functions.html">Compound Members</a> &nbsp;  
			</center>
			<hr class="second">
		</div>
<!-- Generated by Doxygen 1.5.8 -->
<h1>PxSimulationStatistics.h</h1><a href="PxSimulationStatistics_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// This code contains NVIDIA Confidential Information and is disclosed to you</span>
<a name="l00002"></a>00002 <span class="comment">// under a form of NVIDIA software license agreement provided separately to you.</span>
<a name="l00003"></a>00003 <span class="comment">//</span>
<a name="l00004"></a>00004 <span class="comment">// Notice</span>
<a name="l00005"></a>00005 <span class="comment">// NVIDIA Corporation and its licensors retain all intellectual property and</span>
<a name="l00006"></a>00006 <span class="comment">// proprietary rights in and to this software and related documentation and</span>
<a name="l00007"></a>00007 <span class="comment">// any modifications thereto. Any use, reproduction, disclosure, or</span>
<a name="l00008"></a>00008 <span class="comment">// distribution of this software and related documentation without an express</span>
<a name="l00009"></a>00009 <span class="comment">// license agreement from NVIDIA Corporation is strictly prohibited.</span>
<a name="l00010"></a>00010 <span class="comment">//</span>
<a name="l00011"></a>00011 <span class="comment">// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES</span>
<a name="l00012"></a>00012 <span class="comment">// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO</span>
<a name="l00013"></a>00013 <span class="comment">// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,</span>
<a name="l00014"></a>00014 <span class="comment">// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.</span>
<a name="l00015"></a>00015 <span class="comment">//</span>
<a name="l00016"></a>00016 <span class="comment">// Information and code furnished is believed to be accurate and reliable.</span>
<a name="l00017"></a>00017 <span class="comment">// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such</span>
<a name="l00018"></a>00018 <span class="comment">// information or for any infringement of patents or other rights of third parties that may</span>
<a name="l00019"></a>00019 <span class="comment">// result from its use. No license is granted by implication or otherwise under any patent</span>
<a name="l00020"></a>00020 <span class="comment">// or patent rights of NVIDIA Corporation. Details are subject to change without notice.</span>
<a name="l00021"></a>00021 <span class="comment">// This code supersedes and replaces all information previously supplied.</span>
<a name="l00022"></a>00022 <span class="comment">// NVIDIA Corporation products are not authorized for use as critical</span>
<a name="l00023"></a>00023 <span class="comment">// components in life support devices or systems without express written approval of</span>
<a name="l00024"></a>00024 <span class="comment">// NVIDIA Corporation.</span>
<a name="l00025"></a>00025 <span class="comment">//</span>
<a name="l00026"></a>00026 <span class="comment">// Copyright (c) 2008-2016 NVIDIA Corporation. All rights reserved.</span>
<a name="l00027"></a>00027 <span class="comment">// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.</span>
<a name="l00028"></a>00028 <span class="comment">// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.  </span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="preprocessor">#ifndef PX_SIMULATION_STATISTICS</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define PX_SIMULATION_STATISTICS</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>
<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="PxPhysXConfig_8h.html">PxPhysXConfig.h</a>"</span>
<a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="PxAssert_8h.html">foundation/PxAssert.h</a>"</span>
<a name="l00039"></a>00039 <span class="preprocessor">#include "<a class="code" href="PxGeometry_8h.html">geometry/PxGeometry.h</a>"</span>
<a name="l00040"></a>00040 
<a name="l00041"></a>00041 <span class="preprocessor">#if !PX_DOXYGEN</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="keyword">namespace </span>physx
<a name="l00043"></a>00043 {
<a name="l00044"></a>00044 <span class="preprocessor">#endif</span>
<a name="l00045"></a>00045 <span class="preprocessor"></span>
<a name="l00051"></a><a class="code" href="classPxSimulationStatistics.html">00051</a> <span class="keyword">class </span><a class="code" href="classPxSimulationStatistics.html" title="Class used to retrieve statistics for a simulation step.">PxSimulationStatistics</a>
<a name="l00052"></a>00052 {
<a name="l00053"></a>00053 <span class="keyword">public</span>:
<a name="l00058"></a><a class="code" href="classPxSimulationStatistics.html#996a480bf74af73637d277c454dce87c">00058</a>     <span class="keyword">enum</span> <a class="code" href="classPxSimulationStatistics.html#996a480bf74af73637d277c454dce87c" title="Identifies each type of broadphase volume.">VolumeType</a>
<a name="l00059"></a>00059     {
<a name="l00064"></a><a class="code" href="classPxSimulationStatistics.html#996a480bf74af73637d277c454dce87c72731d6b28d539f63127cbce5115c415">00064</a>         eRIGID_BODY,
<a name="l00065"></a>00065 
<a name="l00071"></a><a class="code" href="classPxSimulationStatistics.html#996a480bf74af73637d277c454dce87c941542fa629d7c3c16534c1b4226c73b">00071</a>         ePARTICLE_SYSTEM <a class="code" href="group__foundation.html#gfd8f8779793627061774cfcfa1b9fbd7">PX_DEPRECATED</a>,
<a name="l00072"></a>00072 
<a name="l00077"></a><a class="code" href="classPxSimulationStatistics.html#996a480bf74af73637d277c454dce87c443f84df0f0bff95fdb0cadd4a17f31a">00077</a>         eCLOTH,
<a name="l00078"></a>00078 
<a name="l00079"></a><a class="code" href="classPxSimulationStatistics.html#996a480bf74af73637d277c454dce87c51b709ed2ba14b443d7e0eb83aa846c6">00079</a>         eVOLUME_COUNT
<a name="l00080"></a>00080     };
<a name="l00081"></a>00081 
<a name="l00086"></a><a class="code" href="classPxSimulationStatistics.html#56865c878c5d74dd30a7ab81e2728c36">00086</a>     <span class="keyword">enum</span> <a class="code" href="classPxSimulationStatistics.html#56865c878c5d74dd30a7ab81e2728c36" title="Different types of rigid body collision pair statistics.">RbPairStatsType</a>
<a name="l00087"></a>00087     {
<a name="l00091"></a><a class="code" href="classPxSimulationStatistics.html#56865c878c5d74dd30a7ab81e2728c36366eae507d69961741d28c3b6c04d576">00091</a>         eDISCRETE_CONTACT_PAIRS,
<a name="l00092"></a>00092 
<a name="l00101"></a><a class="code" href="classPxSimulationStatistics.html#56865c878c5d74dd30a7ab81e2728c3613b4e0a4ca71ad756078820ab928c1b3">00101</a>         eCCD_PAIRS,
<a name="l00102"></a>00102 
<a name="l00108"></a><a class="code" href="classPxSimulationStatistics.html#56865c878c5d74dd30a7ab81e2728c36e1d23646a3bd6d7cfef7986a92afe270">00108</a>         eMODIFIED_CONTACT_PAIRS,
<a name="l00109"></a>00109 
<a name="l00115"></a><a class="code" href="classPxSimulationStatistics.html#56865c878c5d74dd30a7ab81e2728c369b0bca86a9a15f66d11b191efbcfb65b">00115</a>         eTRIGGER_PAIRS
<a name="l00116"></a>00116     };
<a name="l00117"></a>00117 
<a name="l00118"></a>00118 
<a name="l00119"></a>00119 <span class="comment">//objects:</span>
<a name="l00123"></a><a class="code" href="classPxSimulationStatistics.html#3ba1901c4ac662c535daa1ac58987aba">00123</a> <span class="comment"></span>    <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbActiveConstraints;
<a name="l00124"></a>00124 
<a name="l00130"></a><a class="code" href="classPxSimulationStatistics.html#db8e7d0a9d70b16a4b7309c4d47685e2">00130</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbActiveDynamicBodies;
<a name="l00131"></a>00131 
<a name="l00138"></a><a class="code" href="classPxSimulationStatistics.html#f783cd541d93f5f72b64f07cebbbe71a">00138</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbActiveKinematicBodies;
<a name="l00139"></a>00139 
<a name="l00143"></a><a class="code" href="classPxSimulationStatistics.html#8aebb151f3f50cd831f2a42165ef9409">00143</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbStaticBodies;
<a name="l00144"></a>00144 
<a name="l00150"></a><a class="code" href="classPxSimulationStatistics.html#1d5feb904597a5a98d02f39707e6c349">00150</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbDynamicBodies;
<a name="l00151"></a>00151 
<a name="l00156"></a><a class="code" href="classPxSimulationStatistics.html#2385b3afe6fc6237f7fcbb4712e4ad57">00156</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbShapes[<a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5fa28e3dbd2e28f7c0948c35723f42105" title="internal use only!">PxGeometryType::eGEOMETRY_COUNT</a>];
<a name="l00157"></a>00157 
<a name="l00161"></a><a class="code" href="classPxSimulationStatistics.html#4903606cb701b7237a92a6a43f8d60ea">00161</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbAggregates;
<a name="l00162"></a>00162     
<a name="l00166"></a><a class="code" href="classPxSimulationStatistics.html#bfd24df0bcef58fccc82cd06423aeff2">00166</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbArticulations;
<a name="l00167"></a>00167 
<a name="l00168"></a>00168 <span class="comment">//solver:</span>
<a name="l00172"></a><a class="code" href="classPxSimulationStatistics.html#9b03e0dc11df05eea8ded2e95d01fdcf">00172</a> <span class="comment"></span>    <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbAxisSolverConstraints;
<a name="l00173"></a>00173 
<a name="l00177"></a><a class="code" href="classPxSimulationStatistics.html#bfacb597d8b72b1d86961dfdb8e768e3">00177</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   compressedContactSize;
<a name="l00178"></a>00178 
<a name="l00182"></a><a class="code" href="classPxSimulationStatistics.html#a1e487295538b16ec29c359082d12976">00182</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   requiredContactConstraintMemory;
<a name="l00183"></a>00183 
<a name="l00187"></a><a class="code" href="classPxSimulationStatistics.html#b56ac5aa68f31b68a0852c87817ff026">00187</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   peakConstraintMemory;
<a name="l00188"></a>00188 
<a name="l00189"></a>00189 <span class="comment">//broadphase:</span>
<a name="l00198"></a><a class="code" href="classPxSimulationStatistics.html#4e7028fdf11d3b1fd849cf5bf8e10081">00198</a> <span class="comment"></span>    <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbBroadPhaseAdds(<a class="code" href="classPxSimulationStatistics.html#996a480bf74af73637d277c454dce87c" title="Identifies each type of broadphase volume.">VolumeType</a> type)<span class="keyword"> const</span>
<a name="l00199"></a>00199 <span class="keyword">    </span>{
<a name="l00200"></a>00200         <span class="keywordflow">if</span> (type != eVOLUME_COUNT)
<a name="l00201"></a>00201             <span class="keywordflow">return</span> nbBroadPhaseAdds[type];
<a name="l00202"></a>00202         <span class="keywordflow">else</span>
<a name="l00203"></a>00203         {
<a name="l00204"></a>00204             <a class="code" href="group__foundation.html#g4a83a657390b324a460f14684e5accee">PX_ASSERT</a>(<span class="keyword">false</span>);
<a name="l00205"></a>00205             <span class="keywordflow">return</span> 0;
<a name="l00206"></a>00206         }
<a name="l00207"></a>00207     }
<a name="l00208"></a>00208 
<a name="l00217"></a><a class="code" href="classPxSimulationStatistics.html#7db95116b2241e89d3bc17934d801979">00217</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbBroadPhaseRemoves(<a class="code" href="classPxSimulationStatistics.html#996a480bf74af73637d277c454dce87c" title="Identifies each type of broadphase volume.">VolumeType</a> type)<span class="keyword"> const</span>
<a name="l00218"></a>00218 <span class="keyword">    </span>{
<a name="l00219"></a>00219         <span class="keywordflow">if</span> (type != eVOLUME_COUNT)
<a name="l00220"></a>00220             <span class="keywordflow">return</span> nbBroadPhaseRemoves[type];
<a name="l00221"></a>00221         <span class="keywordflow">else</span>
<a name="l00222"></a>00222         {
<a name="l00223"></a>00223             <a class="code" href="group__foundation.html#g4a83a657390b324a460f14684e5accee">PX_ASSERT</a>(<span class="keyword">false</span>);
<a name="l00224"></a>00224             <span class="keywordflow">return</span> 0;
<a name="l00225"></a>00225         }
<a name="l00226"></a>00226     }
<a name="l00227"></a>00227 
<a name="l00228"></a>00228 <span class="comment">//collisions:</span>
<a name="l00242"></a><a class="code" href="classPxSimulationStatistics.html#86afb18c5a1cb6b290b350361c425545">00242</a> <span class="comment"></span>    <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getRbPairStats(<a class="code" href="classPxSimulationStatistics.html#56865c878c5d74dd30a7ab81e2728c36" title="Different types of rigid body collision pair statistics.">RbPairStatsType</a> pairType, <a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5">PxGeometryType::Enum</a> g0, <a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5">PxGeometryType::Enum</a> g1)<span class="keyword"> const</span>
<a name="l00243"></a>00243 <span class="keyword">    </span>{
<a name="l00244"></a>00244         <a class="code" href="group__foundation.html#g09414aeb1a283b875edb1fa83e551aca">PX_ASSERT_WITH_MESSAGE</a>( (pairType &gt;= eDISCRETE_CONTACT_PAIRS) &amp;&amp;
<a name="l00245"></a>00245                                 (pairType &lt;= eTRIGGER_PAIRS),
<a name="l00246"></a>00246                                 <span class="stringliteral">"Invalid pairType in PxSimulationStatistics::getRbPairStats"</span>);
<a name="l00247"></a>00247 
<a name="l00248"></a>00248         <span class="keywordflow">if</span> (g0 &gt;= <a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5fa28e3dbd2e28f7c0948c35723f42105" title="internal use only!">PxGeometryType::eGEOMETRY_COUNT</a> || g1 &gt;= <a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5fa28e3dbd2e28f7c0948c35723f42105" title="internal use only!">PxGeometryType::eGEOMETRY_COUNT</a>)
<a name="l00249"></a>00249         {
<a name="l00250"></a>00250             <a class="code" href="group__foundation.html#g4a83a657390b324a460f14684e5accee">PX_ASSERT</a>(<span class="keyword">false</span>);
<a name="l00251"></a>00251             <span class="keywordflow">return</span> 0;
<a name="l00252"></a>00252         }
<a name="l00253"></a>00253 
<a name="l00254"></a>00254         <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbPairs = 0;
<a name="l00255"></a>00255         <span class="keywordflow">switch</span>(pairType)
<a name="l00256"></a>00256         {
<a name="l00257"></a>00257             <span class="keywordflow">case</span> eDISCRETE_CONTACT_PAIRS:
<a name="l00258"></a>00258                 nbPairs = nbDiscreteContactPairs[g0][g1];
<a name="l00259"></a>00259                 <span class="keywordflow">break</span>;
<a name="l00260"></a>00260             <span class="keywordflow">case</span> eCCD_PAIRS:
<a name="l00261"></a>00261                 nbPairs = nbCCDPairs[g0][g1];
<a name="l00262"></a>00262                 <span class="keywordflow">break</span>;
<a name="l00263"></a>00263             <span class="keywordflow">case</span> eMODIFIED_CONTACT_PAIRS:
<a name="l00264"></a>00264                 nbPairs = nbModifiedContactPairs[g0][g1];
<a name="l00265"></a>00265                 <span class="keywordflow">break</span>;
<a name="l00266"></a>00266             <span class="keywordflow">case</span> eTRIGGER_PAIRS:
<a name="l00267"></a>00267                 nbPairs = nbTriggerPairs[g0][g1];
<a name="l00268"></a>00268                 <span class="keywordflow">break</span>;
<a name="l00269"></a>00269         }
<a name="l00270"></a>00270         <span class="keywordflow">return</span> nbPairs;
<a name="l00271"></a>00271     }
<a name="l00272"></a>00272 
<a name="l00276"></a><a class="code" href="classPxSimulationStatistics.html#6310732fffde7fa5013aada6ca2434c1">00276</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbDiscreteContactPairsTotal;
<a name="l00277"></a>00277 
<a name="l00282"></a><a class="code" href="classPxSimulationStatistics.html#fc4203ee9a309b63e0a9638595d28867">00282</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbDiscreteContactPairsWithCacheHits;
<a name="l00283"></a>00283 
<a name="l00287"></a><a class="code" href="classPxSimulationStatistics.html#897bc3a4b6dc809b1f04059fe4b4a2af">00287</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbDiscreteContactPairsWithContacts;
<a name="l00288"></a>00288 
<a name="l00292"></a><a class="code" href="classPxSimulationStatistics.html#717bce9ff3da25dd9250c1746008e52b">00292</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbNewPairs;
<a name="l00293"></a>00293 
<a name="l00297"></a><a class="code" href="classPxSimulationStatistics.html#84b14e904af17d9c86d158ecea5fb9d1">00297</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbLostPairs;
<a name="l00298"></a>00298 
<a name="l00302"></a><a class="code" href="classPxSimulationStatistics.html#612d72aad0d4e7adab3bbb5f14135bf1">00302</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbNewTouches;
<a name="l00303"></a>00303 
<a name="l00307"></a><a class="code" href="classPxSimulationStatistics.html#e20e0fabfd1e8dfdec622a496bfbaf83">00307</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbLostTouches;
<a name="l00308"></a>00308 
<a name="l00312"></a><a class="code" href="classPxSimulationStatistics.html#ab9b2646eb89d7fb3bb707256be46cf0">00312</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbPartitions;
<a name="l00313"></a>00313 
<a name="l00314"></a><a class="code" href="classPxSimulationStatistics.html#910e1921a55acda66f5c22ee173eda32">00314</a>     <a class="code" href="classPxSimulationStatistics.html" title="Class used to retrieve statistics for a simulation step.">PxSimulationStatistics</a>() :
<a name="l00315"></a>00315         nbActiveConstraints                 (0),
<a name="l00316"></a>00316         nbActiveDynamicBodies               (0),
<a name="l00317"></a>00317         nbActiveKinematicBodies             (0),
<a name="l00318"></a>00318         nbStaticBodies                      (0),
<a name="l00319"></a>00319         nbDynamicBodies                     (0),
<a name="l00320"></a>00320         nbAggregates                        (0),
<a name="l00321"></a>00321         nbArticulations                     (0),
<a name="l00322"></a>00322         nbAxisSolverConstraints             (0),
<a name="l00323"></a>00323         compressedContactSize               (0),
<a name="l00324"></a>00324         requiredContactConstraintMemory     (0),
<a name="l00325"></a>00325         peakConstraintMemory                (0),
<a name="l00326"></a>00326         nbDiscreteContactPairsTotal         (0),
<a name="l00327"></a>00327         nbDiscreteContactPairsWithCacheHits (0),
<a name="l00328"></a>00328         nbDiscreteContactPairsWithContacts  (0),
<a name="l00329"></a>00329         nbNewPairs                          (0),
<a name="l00330"></a>00330         nbLostPairs                         (0),
<a name="l00331"></a>00331         nbNewTouches                        (0),
<a name="l00332"></a>00332         nbLostTouches                       (0),
<a name="l00333"></a>00333         nbPartitions                        (0),
<a name="l00334"></a>00334         particlesGpuMeshCacheSize           (0),
<a name="l00335"></a>00335         particlesGpuMeshCacheUsed           (0),
<a name="l00336"></a>00336         particlesGpuMeshCacheHitrate        (0.0f)
<a name="l00337"></a>00337     {
<a name="l00338"></a>00338         <span class="keywordflow">for</span>(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> i=0; i &lt; eVOLUME_COUNT; i++)
<a name="l00339"></a>00339         {
<a name="l00340"></a>00340             nbBroadPhaseAdds[i] = 0;
<a name="l00341"></a>00341             nbBroadPhaseRemoves[i] = 0;
<a name="l00342"></a>00342         }
<a name="l00343"></a>00343 
<a name="l00344"></a>00344         <span class="keywordflow">for</span>(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> i=0; i &lt; <a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5fa28e3dbd2e28f7c0948c35723f42105" title="internal use only!">PxGeometryType::eGEOMETRY_COUNT</a>; i++)
<a name="l00345"></a>00345         {
<a name="l00346"></a>00346             <span class="keywordflow">for</span>(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> j=0; j &lt; PxGeometryType::eGEOMETRY_COUNT; j++)
<a name="l00347"></a>00347             {
<a name="l00348"></a>00348                 nbDiscreteContactPairs[i][j] = 0;
<a name="l00349"></a>00349                 nbModifiedContactPairs[i][j] = 0;
<a name="l00350"></a>00350                 nbCCDPairs[i][j] = 0;
<a name="l00351"></a>00351                 nbTriggerPairs[i][j] = 0;
<a name="l00352"></a>00352             }
<a name="l00353"></a>00353         }
<a name="l00354"></a>00354 
<a name="l00355"></a>00355         <span class="keywordflow">for</span>(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> i=0; i &lt; PxGeometryType::eGEOMETRY_COUNT; i++)
<a name="l00356"></a>00356         {
<a name="l00357"></a>00357             nbShapes[i] = 0;
<a name="l00358"></a>00358         }
<a name="l00359"></a>00359     }
<a name="l00360"></a>00360 
<a name="l00361"></a>00361 
<a name="l00362"></a>00362     <span class="comment">//</span>
<a name="l00363"></a>00363     <span class="comment">// We advise to not access these members directly. Use the provided accessor methods instead.</span>
<a name="l00364"></a>00364     <span class="comment">//</span>
<a name="l00365"></a>00365 <span class="comment">//broadphase:</span>
<a name="l00366"></a><a class="code" href="classPxSimulationStatistics.html#987187f968b0cf29c46c76b2f9ee9db0">00366</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbBroadPhaseAdds[eVOLUME_COUNT];
<a name="l00367"></a><a class="code" href="classPxSimulationStatistics.html#01cbba2e2282e21701466e32640133ec">00367</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbBroadPhaseRemoves[eVOLUME_COUNT];
<a name="l00368"></a>00368 
<a name="l00369"></a>00369 <span class="comment">//collisions:</span>
<a name="l00370"></a><a class="code" href="classPxSimulationStatistics.html#97dfe63f126e504699c8eeda86ebcb28">00370</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbDiscreteContactPairs[<a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5fa28e3dbd2e28f7c0948c35723f42105" title="internal use only!">PxGeometryType::eGEOMETRY_COUNT</a>][<a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5fa28e3dbd2e28f7c0948c35723f42105" title="internal use only!">PxGeometryType::eGEOMETRY_COUNT</a>];
<a name="l00371"></a><a class="code" href="classPxSimulationStatistics.html#3a3e17aed5223a69ba3b832f909a6a59">00371</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbCCDPairs[<a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5fa28e3dbd2e28f7c0948c35723f42105" title="internal use only!">PxGeometryType::eGEOMETRY_COUNT</a>][<a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5fa28e3dbd2e28f7c0948c35723f42105" title="internal use only!">PxGeometryType::eGEOMETRY_COUNT</a>];
<a name="l00372"></a><a class="code" href="classPxSimulationStatistics.html#ade3e5f9699bfd0858786f9ed6b7d1c9">00372</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbModifiedContactPairs[<a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5fa28e3dbd2e28f7c0948c35723f42105" title="internal use only!">PxGeometryType::eGEOMETRY_COUNT</a>][<a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5fa28e3dbd2e28f7c0948c35723f42105" title="internal use only!">PxGeometryType::eGEOMETRY_COUNT</a>];
<a name="l00373"></a><a class="code" href="classPxSimulationStatistics.html#bcb6c70a6d7e5146767b0be74db34cde">00373</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   nbTriggerPairs[<a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5fa28e3dbd2e28f7c0948c35723f42105" title="internal use only!">PxGeometryType::eGEOMETRY_COUNT</a>][<a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed5fa28e3dbd2e28f7c0948c35723f42105" title="internal use only!">PxGeometryType::eGEOMETRY_COUNT</a>];
<a name="l00374"></a>00374 
<a name="l00375"></a>00375 <span class="comment">//triangle mesh cache statistics</span>
<a name="l00376"></a><a class="code" href="classPxSimulationStatistics.html#2e79aa5021d7d7bb2f817b144ccecd99">00376</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   particlesGpuMeshCacheSize;
<a name="l00377"></a><a class="code" href="classPxSimulationStatistics.html#6795433e44469a4068262a7f62f345d2">00377</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>   particlesGpuMeshCacheUsed;
<a name="l00378"></a><a class="code" href="classPxSimulationStatistics.html#a720bf6ec2e4395b983f8bebbde44400">00378</a>     <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>  particlesGpuMeshCacheHitrate;
<a name="l00379"></a>00379 };
<a name="l00380"></a>00380 
<a name="l00381"></a>00381 <span class="preprocessor">#if !PX_DOXYGEN</span>
<a name="l00382"></a>00382 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span>
<a name="l00383"></a>00383 <span class="preprocessor">#endif</span>
<a name="l00384"></a>00384 <span class="preprocessor"></span>
<a name="l00386"></a>00386 <span class="preprocessor">#endif</span>
</pre></div></div>

<hr style="width: 100%; height: 2px;"><br>
Copyright &copy; 2008-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
</body>
</html>