aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleWheels_8h-source.html
blob: 5547ac414debb570820b3dfbcebc5266c5fb2fd9 (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
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
<html>
	<head>
		<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxVehicleWheels.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>PxVehicleWheels.h</h1><a href="PxVehicleWheels_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//</span>
<a name="l00002"></a>00002 <span class="comment">// Redistribution and use in source and binary forms, with or without</span>
<a name="l00003"></a>00003 <span class="comment">// modification, are permitted provided that the following conditions</span>
<a name="l00004"></a>00004 <span class="comment">// are met:</span>
<a name="l00005"></a>00005 <span class="comment">//  * Redistributions of source code must retain the above copyright</span>
<a name="l00006"></a>00006 <span class="comment">//    notice, this list of conditions and the following disclaimer.</span>
<a name="l00007"></a>00007 <span class="comment">//  * Redistributions in binary form must reproduce the above copyright</span>
<a name="l00008"></a>00008 <span class="comment">//    notice, this list of conditions and the following disclaimer in the</span>
<a name="l00009"></a>00009 <span class="comment">//    documentation and/or other materials provided with the distribution.</span>
<a name="l00010"></a>00010 <span class="comment">//  * Neither the name of NVIDIA CORPORATION nor the names of its</span>
<a name="l00011"></a>00011 <span class="comment">//    contributors may be used to endorse or promote products derived</span>
<a name="l00012"></a>00012 <span class="comment">//    from this software without specific prior written permission.</span>
<a name="l00013"></a>00013 <span class="comment">//</span>
<a name="l00014"></a>00014 <span class="comment">// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY</span>
<a name="l00015"></a>00015 <span class="comment">// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span>
<a name="l00016"></a>00016 <span class="comment">// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR</span>
<a name="l00017"></a>00017 <span class="comment">// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR</span>
<a name="l00018"></a>00018 <span class="comment">// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span>
<a name="l00019"></a>00019 <span class="comment">// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span>
<a name="l00020"></a>00020 <span class="comment">// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span>
<a name="l00021"></a>00021 <span class="comment">// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY</span>
<a name="l00022"></a>00022 <span class="comment">// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span>
<a name="l00023"></a>00023 <span class="comment">// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span>
<a name="l00024"></a>00024 <span class="comment">// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span>
<a name="l00025"></a>00025 <span class="comment">//</span>
<a name="l00026"></a>00026 <span class="comment">// Copyright (c) 2008-2018 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_VEHICLE_WHEELS_H</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define PX_VEHICLE_WHEELS_H</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>
<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="PxSimpleTypes_8h.html">foundation/PxSimpleTypes.h</a>"</span>
<a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="PxVehicleShaders_8h.html">vehicle/PxVehicleShaders.h</a>"</span>
<a name="l00039"></a>00039 <span class="preprocessor">#include "<a class="code" href="PxVehicleComponents_8h.html">vehicle/PxVehicleComponents.h</a>"</span>
<a name="l00040"></a>00040 <span class="preprocessor">#include "<a class="code" href="PxBase_8h.html">common/PxBase.h</a>"</span>
<a name="l00041"></a>00041 <span class="preprocessor">#include "<a class="code" href="PxRigidDynamic_8h.html">PxRigidDynamic.h</a>"</span>
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 <span class="preprocessor">#if !PX_DOXYGEN</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="keyword">namespace </span>physx
<a name="l00045"></a>00045 {
<a name="l00046"></a>00046 <span class="preprocessor">#endif</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span>
<a name="l00048"></a>00048 <span class="keyword">class </span>PxVehicleWheels4SimData;
<a name="l00049"></a>00049 <span class="keyword">class </span>PxVehicleWheels4DynData;
<a name="l00050"></a>00050 <span class="keyword">class </span>PxVehicleTireForceCalculator;
<a name="l00051"></a>00051 <span class="keyword">class </span><a class="code" href="classPxShape.html" title="Abstract class for collision shapes.">PxShape</a>;
<a name="l00052"></a>00052 <span class="keyword">class </span><a class="code" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK.">PxPhysics</a>;
<a name="l00053"></a>00053 <span class="keyword">class </span><a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>;
<a name="l00054"></a>00054 
<a name="l00059"></a><a class="code" href="classPxVehicleWheelsSimData.html">00059</a> <span class="keyword">class </span><a class="code" href="classPxVehicleWheelsSimData.html" title="Data structure describing configuration data of a vehicle with up to 20 wheels.">PxVehicleWheelsSimData</a>
<a name="l00060"></a>00060 {
<a name="l00061"></a>00061 <span class="comment">//= ATTENTION! =====================================================================================</span>
<a name="l00062"></a>00062 <span class="comment">// Changing the data layout of this class breaks the binary serialization format.  See comments for </span>
<a name="l00063"></a>00063 <span class="comment">// PX_BINARY_SERIAL_VERSION.  If a modification is required, please adjust the getBinaryMetaData </span>
<a name="l00064"></a>00064 <span class="comment">// function.  If the modification is made on a custom branch, please change PX_BINARY_SERIAL_VERSION</span>
<a name="l00065"></a>00065 <span class="comment">// accordingly.</span>
<a name="l00066"></a>00066 <span class="comment">//==================================================================================================</span>
<a name="l00067"></a>00067 <span class="keyword">public</span>:
<a name="l00068"></a>00068 
<a name="l00069"></a><a class="code" href="classPxVehicleWheelsSimData.html#b770b7d25d1a8fee9b2a5ea18d57f345">00069</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a>;
<a name="l00070"></a><a class="code" href="classPxVehicleWheelsSimData.html#26a1ecd79f2ef72b00adf9e91329bc33">00070</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classPxVehicleNoDrive.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleNoDrive</a>;
<a name="l00071"></a><a class="code" href="classPxVehicleWheelsSimData.html#24d8342a0d0166c21ae69a1497d54cee">00071</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classPxVehicleDrive4W.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleDrive4W</a>;
<a name="l00072"></a><a class="code" href="classPxVehicleWheelsSimData.html#384e496b32aa3c624ceed503417f3595">00072</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classPxVehicleDriveTank.html" title="Data structure with instanced dynamics data and configuration data of a tank.">PxVehicleDriveTank</a>;
<a name="l00073"></a><a class="code" href="classPxVehicleWheelsSimData.html#a960a335429c764ff7e258a0ec3ab5f0">00073</a>     <span class="keyword">friend</span> <span class="keyword">class </span>PxVehicleUpdate;
<a name="l00074"></a>00074 
<a name="l00079"></a>00079     <span class="keyword">static</span> <a class="code" href="classPxVehicleWheelsSimData.html" title="Data structure describing configuration data of a vehicle with up to 20 wheels.">PxVehicleWheelsSimData</a>* allocate(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbWheels);
<a name="l00080"></a>00080 
<a name="l00094"></a>00094     <span class="keywordtype">void</span> setChassisMass(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> chassisMass);
<a name="l00095"></a>00095 
<a name="l00100"></a>00100     <span class="keywordtype">void</span> free();
<a name="l00101"></a>00101 
<a name="l00106"></a>00106     <a class="code" href="classPxVehicleWheelsSimData.html" title="Data structure describing configuration data of a vehicle with up to 20 wheels.">PxVehicleWheelsSimData</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classPxVehicleWheelsSimData.html" title="Data structure describing configuration data of a vehicle with up to 20 wheels.">PxVehicleWheelsSimData</a>&amp; src);
<a name="l00107"></a>00107 
<a name="l00114"></a>00114     <span class="keywordtype">void</span> copy(<span class="keyword">const</span> <a class="code" href="classPxVehicleWheelsSimData.html" title="Data structure describing configuration data of a vehicle with up to 20 wheels.">PxVehicleWheelsSimData</a>&amp; src, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> srcWheel, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> trgWheel);
<a name="l00115"></a>00115 
<a name="l00120"></a><a class="code" href="classPxVehicleWheelsSimData.html#331e4878fc2f9b1b2a47af3c4ad39eb6">00120</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#331e4878fc2f9b1b2a47af3c4ad39eb6" title="Return the number of wheels.">getNbWheels</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mNbActiveWheels;}
<a name="l00121"></a>00121 
<a name="l00125"></a>00125     <span class="keyword">const</span> <a class="code" href="classPxVehicleSuspensionData.html">PxVehicleSuspensionData</a>&amp; getSuspensionData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>) <span class="keyword">const</span>;
<a name="l00126"></a>00126         
<a name="l00130"></a>00130     <span class="keyword">const</span> <a class="code" href="classPxVehicleWheelData.html">PxVehicleWheelData</a>&amp; getWheelData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>) <span class="keyword">const</span>;
<a name="l00131"></a>00131 
<a name="l00135"></a>00135     <span class="keyword">const</span> <a class="code" href="classPxVehicleTireData.html">PxVehicleTireData</a>&amp; getTireData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>) <span class="keyword">const</span>;
<a name="l00136"></a>00136     
<a name="l00140"></a>00140     <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>&amp; getSuspTravelDirection(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>) <span class="keyword">const</span>;
<a name="l00141"></a>00141 
<a name="l00146"></a>00146     <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>&amp; getSuspForceAppPointOffset(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>) <span class="keyword">const</span>;
<a name="l00147"></a>00147 
<a name="l00152"></a>00152     <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>&amp; getTireForceAppPointOffset(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>) <span class="keyword">const</span>;
<a name="l00153"></a>00153         
<a name="l00157"></a>00157     <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>&amp; getWheelCentreOffset(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>) <span class="keyword">const</span>;   
<a name="l00158"></a>00158 
<a name="l00168"></a>00168     <a class="code" href="namespacephysx.html#2d0d277fc9b3eb2bff0fcfa416ae6ae4">PxI32</a> getWheelShapeMapping(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> wheelId) <span class="keyword">const</span>;
<a name="l00169"></a>00169 
<a name="l00173"></a>00173     <span class="keyword">const</span> <a class="code" href="structPxFilterData.html" title="PxFilterData is user-definable data which gets passed into the collision filtering...">PxFilterData</a>&amp; getSceneQueryFilterData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> suspId) <span class="keyword">const</span>;
<a name="l00174"></a>00174 
<a name="l00179"></a><a class="code" href="classPxVehicleWheelsSimData.html#b528cfbacc2d4b71a5f3ba613fb384e2">00179</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbAntiRollBars()<span class="keyword"> const </span>
<a name="l00180"></a>00180 <span class="keyword">    </span>{
<a name="l00181"></a>00181         <span class="keywordflow">return</span> mNbActiveAntiRollBars;
<a name="l00182"></a>00182     }
<a name="l00183"></a>00183 
<a name="l00192"></a>00192     <span class="keyword">const</span> <a class="code" href="classPxVehicleAntiRollBarData.html">PxVehicleAntiRollBarData</a>&amp; getAntiRollBarData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> antiRollId) <span class="keyword">const</span>;
<a name="l00193"></a>00193     
<a name="l00197"></a><a class="code" href="classPxVehicleWheelsSimData.html#26b4e8206833ccde8c30985df8226343">00197</a>     <a class="code" href="group__foundation.html#g6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keyword">const</span> <a class="code" href="classPxVehicleTireLoadFilterData.html" title="Tire load variation can be strongly dependent on the time-step so it is a good idea...">PxVehicleTireLoadFilterData</a>&amp; getTireLoadFilterData()<span class="keyword"> const </span>
<a name="l00198"></a>00198 <span class="keyword">    </span>{
<a name="l00199"></a>00199         <span class="keywordflow">return</span> mNormalisedLoadFilter;
<a name="l00200"></a>00200     }
<a name="l00201"></a>00201 
<a name="l00207"></a>00207     <span class="keywordtype">void</span> setSuspensionData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>, <span class="keyword">const</span> <a class="code" href="classPxVehicleSuspensionData.html">PxVehicleSuspensionData</a>&amp; susp);
<a name="l00208"></a>00208 
<a name="l00214"></a>00214     <span class="keywordtype">void</span> setWheelData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>, <span class="keyword">const</span> <a class="code" href="classPxVehicleWheelData.html">PxVehicleWheelData</a>&amp; wheel);
<a name="l00215"></a>00215 
<a name="l00221"></a>00221     <span class="keywordtype">void</span> setTireData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>, <span class="keyword">const</span> <a class="code" href="classPxVehicleTireData.html">PxVehicleTireData</a>&amp; tire);
<a name="l00222"></a>00222 
<a name="l00228"></a>00228     <span class="keywordtype">void</span> setSuspTravelDirection(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>&amp; dir);
<a name="l00229"></a>00229     
<a name="l00236"></a>00236     <span class="keywordtype">void</span> setSuspForceAppPointOffset(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>&amp; offset);                                  
<a name="l00237"></a>00237     
<a name="l00244"></a>00244     <span class="keywordtype">void</span> setTireForceAppPointOffset(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>&amp; offset);
<a name="l00245"></a>00245 
<a name="l00252"></a>00252     <span class="keywordtype">void</span> setWheelCentreOffset(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>&amp; offset);    
<a name="l00253"></a>00253 
<a name="l00274"></a>00274     <span class="keywordtype">void</span> setWheelShapeMapping(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> wheelId, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#2d0d277fc9b3eb2bff0fcfa416ae6ae4">PxI32</a> shapeId);
<a name="l00275"></a>00275 
<a name="l00283"></a>00283     <span class="keywordtype">void</span> setSceneQueryFilterData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> suspId, <span class="keyword">const</span> <a class="code" href="structPxFilterData.html" title="PxFilterData is user-definable data which gets passed into the collision filtering...">PxFilterData</a>&amp; sqFilterData);
<a name="l00284"></a>00284 
<a name="l00289"></a>00289     <span class="keywordtype">void</span> setTireLoadFilterData(<span class="keyword">const</span> <a class="code" href="classPxVehicleTireLoadFilterData.html" title="Tire load variation can be strongly dependent on the time-step so it is a good idea...">PxVehicleTireLoadFilterData</a>&amp; tireLoadFilter);
<a name="l00290"></a>00290 
<a name="l00315"></a>00315     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> addAntiRollBarData(<span class="keyword">const</span> <a class="code" href="classPxVehicleAntiRollBarData.html">PxVehicleAntiRollBarData</a>&amp; antiRoll);
<a name="l00316"></a>00316 
<a name="l00345"></a>00345     <span class="keywordtype">void</span> disableWheel(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> wheel);
<a name="l00346"></a>00346 
<a name="l00353"></a>00353     <span class="keywordtype">void</span> enableWheel(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> wheel);
<a name="l00354"></a>00354 
<a name="l00359"></a>00359     <span class="keywordtype">bool</span> getIsWheelDisabled(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> wheel) <span class="keyword">const</span>;
<a name="l00360"></a>00360 
<a name="l00391"></a>00391     <span class="keywordtype">void</span> setSubStepCount(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> thresholdLongitudinalSpeed, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> lowForwardSpeedSubStepCount, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> highForwardSpeedSubStepCount);
<a name="l00392"></a>00392 
<a name="l00409"></a>00409     <span class="keywordtype">void</span> setMinLongSlipDenominator(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> minLongSlipDenominator);
<a name="l00410"></a>00410 
<a name="l00411"></a>00411 <span class="keyword">private</span>:
<a name="l00412"></a>00412 
<a name="l00417"></a><a class="code" href="classPxVehicleWheelsSimData.html#ff3bd1bcc605c0027c60d8c67d3192b6">00417</a>     <a class="code" href="classPxVehicleTireLoadFilterData.html" title="Tire load variation can be strongly dependent on the time-step so it is a good idea...">PxVehicleTireLoadFilterData</a> mNormalisedLoadFilter;
<a name="l00418"></a>00418 
<a name="l00422"></a><a class="code" href="classPxVehicleWheelsSimData.html#22c00f3cbb49c94119b0f667d266904f">00422</a>     PxVehicleWheels4SimData* mWheels4SimData;
<a name="l00423"></a>00423 
<a name="l00427"></a><a class="code" href="classPxVehicleWheelsSimData.html#4eb4e2dd1f12fb78783861fc2be928f3">00427</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mNbWheels4;
<a name="l00428"></a>00428 
<a name="l00432"></a><a class="code" href="classPxVehicleWheelsSimData.html#9ec78f4c70019779141565d9f6198c9a">00432</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mNbActiveWheels;
<a name="l00433"></a>00433 
<a name="l00437"></a><a class="code" href="classPxVehicleWheelsSimData.html#4aee60fadd73239cce5a3f65985fc1e1">00437</a>     <a class="code" href="classPxVehicleAntiRollBarData.html">PxVehicleAntiRollBarData</a>* mAntiRollBars;
<a name="l00438"></a>00438 
<a name="l00442"></a><a class="code" href="classPxVehicleWheelsSimData.html#f7cd42c61e92b3f0ca987d98821ff8e0">00442</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mNbAntiRollBars4;
<a name="l00443"></a>00443 
<a name="l00447"></a><a class="code" href="classPxVehicleWheelsSimData.html#91d9abc327014b3ed5dc34dc43804eb3">00447</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mNbActiveAntiRollBars;
<a name="l00448"></a>00448 
<a name="l00453"></a><a class="code" href="classPxVehicleWheelsSimData.html#87eef697de2b990caffa7fc4e278ca5b">00453</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mActiveWheelsBitmapBuffer[((<a class="code" href="group__vehicle.html#ga52f6479b78eccd706af05e1e0a0c43f" title="This number is the maximum number of wheels allowed for a vehicle.">PX_MAX_NB_WHEELS</a> + 31) &amp; ~31) &gt;&gt; 5];
<a name="l00454"></a>00454 
<a name="l00460"></a><a class="code" href="classPxVehicleWheelsSimData.html#5073af89ff08314d2868b1f3a0cb2869">00460</a>     <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> mThresholdLongitudinalSpeed;
<a name="l00461"></a>00461 
<a name="l00466"></a><a class="code" href="classPxVehicleWheelsSimData.html#a3fc3742262302f5a92a0275731261ad">00466</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mLowForwardSpeedSubStepCount;
<a name="l00467"></a>00467 
<a name="l00472"></a><a class="code" href="classPxVehicleWheelsSimData.html#c1943de7f8ac21f0193b2151a81087fe">00472</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mHighForwardSpeedSubStepCount;
<a name="l00473"></a>00473 
<a name="l00477"></a><a class="code" href="classPxVehicleWheelsSimData.html#958f0894fd6d5e55bf26655f3bc25c04">00477</a>     <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> mMinLongSlipDenominator;
<a name="l00478"></a>00478 
<a name="l00479"></a>00479 <span class="preprocessor">#if PX_P64_FAMILY</span>
<a name="l00480"></a>00480 <span class="preprocessor"></span>    <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mPad[2];
<a name="l00481"></a>00481 <span class="preprocessor">#else </span>
<a name="l00482"></a><a class="code" href="classPxVehicleWheelsSimData.html#7baa295b6de37e9b30c12d24a898d67c">00482</a> <span class="preprocessor"></span>    <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mPad[1];
<a name="l00483"></a>00483 <span class="preprocessor">#endif</span>
<a name="l00484"></a>00484 <span class="preprocessor"></span>
<a name="l00488"></a>00488     <span class="keywordtype">bool</span> isValid() <span class="keyword">const</span>;
<a name="l00489"></a>00489 
<a name="l00493"></a>00493     <span class="keyword">static</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> computeByteSize(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> numWheels);
<a name="l00494"></a>00494     <span class="keyword">static</span> <a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a>* patchUpPointers(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> numWheels, <a class="code" href="classPxVehicleWheelsSimData.html" title="Data structure describing configuration data of a vehicle with up to 20 wheels.">PxVehicleWheelsSimData</a>* simData, <a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a>* ptrIn);
<a name="l00495"></a>00495     <a class="code" href="classPxVehicleWheelsSimData.html" title="Data structure describing configuration data of a vehicle with up to 20 wheels.">PxVehicleWheelsSimData</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> numWheels);
<a name="l00496"></a>00496 
<a name="l00497"></a>00497 <span class="comment">//serialization</span>
<a name="l00498"></a>00498 <span class="keyword">public</span>:
<a name="l00499"></a><a class="code" href="classPxVehicleWheelsSimData.html#9fbfa747a9ef9fe0cc1deef89a5b1238">00499</a>     <a class="code" href="classPxVehicleWheelsSimData.html#9fbfa747a9ef9fe0cc1deef89a5b1238">PxVehicleWheelsSimData</a>(<span class="keyword">const</span> <a class="code" href="group__foundation.html#g0326e4ec6e9082ac70f32df5edc6eb5f">PxEMPTY</a>) : mNormalisedLoadFilter(<a class="code" href="group__foundation.html#gg0326e4ec6e9082ac70f32df5edc6eb5fc1f59d4e552bf7b85ed37efecfd8b8e6">PxEmpty</a>) {}
<a name="l00500"></a>00500     <span class="keyword">static</span> <span class="keywordtype">void</span> getBinaryMetaData(<a class="code" href="classPxOutputStream.html" title="Output stream class for I/O.">PxOutputStream</a>&amp; stream);
<a name="l00501"></a><a class="code" href="classPxVehicleWheelsSimData.html#04517491f6697f5564bae28b8d9b48b3">00501</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#04517491f6697f5564bae28b8d9b48b3">getNbWheels4</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mNbWheels4; }   
<a name="l00502"></a><a class="code" href="classPxVehicleWheelsSimData.html#2e6f2f5ddc28114568af090672b29cff">00502</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#2e6f2f5ddc28114568af090672b29cff">getNbSuspensionData</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mNbActiveWheels; }
<a name="l00503"></a><a class="code" href="classPxVehicleWheelsSimData.html#dd32357cf58ae0fa3ee54bdc6bdcbc9b">00503</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#dd32357cf58ae0fa3ee54bdc6bdcbc9b">getNbWheelData</a>()<span class="keyword"> const </span>{  <span class="keywordflow">return</span> mNbActiveWheels; }   
<a name="l00504"></a><a class="code" href="classPxVehicleWheelsSimData.html#86737c0e9937fd5e052fd80ca20f6cf7">00504</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#86737c0e9937fd5e052fd80ca20f6cf7">getNbSuspTravelDirection</a>()<span class="keyword"> const  </span>{ <span class="keywordflow">return</span> mNbActiveWheels; }
<a name="l00505"></a><a class="code" href="classPxVehicleWheelsSimData.html#b086acd104244715cf7e640fd9a5283c">00505</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#b086acd104244715cf7e640fd9a5283c">getNbTireData</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mNbActiveWheels;   }   
<a name="l00506"></a><a class="code" href="classPxVehicleWheelsSimData.html#c2e3769e44033d2a6e89545e6a4f7212">00506</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#c2e3769e44033d2a6e89545e6a4f7212">getNbSuspForceAppPointOffset</a>()<span class="keyword"> const  </span>{ <span class="keywordflow">return</span> mNbActiveWheels;   }
<a name="l00507"></a><a class="code" href="classPxVehicleWheelsSimData.html#997cf82d703174acab6b05e88e72ca55">00507</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#997cf82d703174acab6b05e88e72ca55">getNbTireForceAppPointOffset</a>()<span class="keyword"> const  </span>{ <span class="keywordflow">return</span> mNbActiveWheels;   }
<a name="l00508"></a><a class="code" href="classPxVehicleWheelsSimData.html#f667dc3863d255881c9eed397a810f4b">00508</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#f667dc3863d255881c9eed397a810f4b">getNbWheelCentreOffset</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mNbActiveWheels;  }
<a name="l00509"></a><a class="code" href="classPxVehicleWheelsSimData.html#149c7bd5f789a91da2d7651af1846a17">00509</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#149c7bd5f789a91da2d7651af1846a17">getNbWheelShapeMapping</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mNbActiveWheels; }
<a name="l00510"></a><a class="code" href="classPxVehicleWheelsSimData.html#846d22feb13f6970b8767097cab3ec18">00510</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#846d22feb13f6970b8767097cab3ec18">getNbSceneQueryFilterData</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mNbActiveWheels; }
<a name="l00511"></a><a class="code" href="classPxVehicleWheelsSimData.html#dd8c487ae1be052234e02bba97db320e">00511</a>     <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> <a class="code" href="classPxVehicleWheelsSimData.html#dd8c487ae1be052234e02bba97db320e">getMinLongSlipDenominator</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mMinLongSlipDenominator;}
<a name="l00512"></a><a class="code" href="classPxVehicleWheelsSimData.html#6b0a3e4cfee1def7c49905e193250e50">00512</a>     <span class="keywordtype">void</span> <a class="code" href="classPxVehicleWheelsSimData.html#6b0a3e4cfee1def7c49905e193250e50">setThresholdLongSpeed</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> f) {mThresholdLongitudinalSpeed = f;}
<a name="l00513"></a><a class="code" href="classPxVehicleWheelsSimData.html#bc1f999f2f55f9fa996f6a42ae3fe0c7">00513</a>     <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> <a class="code" href="classPxVehicleWheelsSimData.html#bc1f999f2f55f9fa996f6a42ae3fe0c7">getThresholdLongSpeed</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mThresholdLongitudinalSpeed;}
<a name="l00514"></a><a class="code" href="classPxVehicleWheelsSimData.html#0fd598dcbca75814aab13fb002cac976">00514</a>     <span class="keywordtype">void</span> <a class="code" href="classPxVehicleWheelsSimData.html#0fd598dcbca75814aab13fb002cac976">setLowForwardSpeedSubStepCount</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> f) {mLowForwardSpeedSubStepCount = f;}
<a name="l00515"></a><a class="code" href="classPxVehicleWheelsSimData.html#d52232fd8db28d26c833c216d387e900">00515</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#d52232fd8db28d26c833c216d387e900">getLowForwardSpeedSubStepCount</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mLowForwardSpeedSubStepCount;}
<a name="l00516"></a><a class="code" href="classPxVehicleWheelsSimData.html#d959b05b234cf8b132d3e0a62072641a">00516</a>     <span class="keywordtype">void</span> <a class="code" href="classPxVehicleWheelsSimData.html#d959b05b234cf8b132d3e0a62072641a">setHighForwardSpeedSubStepCount</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> f) {mHighForwardSpeedSubStepCount = f;}
<a name="l00517"></a><a class="code" href="classPxVehicleWheelsSimData.html#f576589185601e940e503c6353c98d55">00517</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#f576589185601e940e503c6353c98d55">getHighForwardSpeedSubStepCount</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mHighForwardSpeedSubStepCount;}
<a name="l00518"></a><a class="code" href="classPxVehicleWheelsSimData.html#de28e7cf0fbb267d3ca0b6abd151e601">00518</a>     <span class="keywordtype">void</span> <a class="code" href="classPxVehicleWheelsSimData.html#de28e7cf0fbb267d3ca0b6abd151e601">setWheelEnabledState</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> wheel, <span class="keyword">const</span> <span class="keywordtype">bool</span> state) {<span class="keywordflow">if</span>(state) {enableWheel(wheel);} <span class="keywordflow">else</span> {disableWheel(wheel);}}
<a name="l00519"></a><a class="code" href="classPxVehicleWheelsSimData.html#f5a3db21baf26aacbf85d4fcf7849cf6">00519</a>     <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleWheelsSimData.html#f5a3db21baf26aacbf85d4fcf7849cf6">getWheelEnabledState</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> wheel)<span class="keyword"> const </span>{<span class="keywordflow">return</span> !getIsWheelDisabled(wheel);}
<a name="l00520"></a><a class="code" href="classPxVehicleWheelsSimData.html#45e5fa22ffade62a086cd4102ce2e3be">00520</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#45e5fa22ffade62a086cd4102ce2e3be">getNbWheelEnabledState</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mNbActiveWheels;}
<a name="l00521"></a><a class="code" href="classPxVehicleWheelsSimData.html#1694623b71b88f49b312fa98646853c8">00521</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#1694623b71b88f49b312fa98646853c8">getNbAntiRollBars4</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mNbAntiRollBars4; }   
<a name="l00522"></a><a class="code" href="classPxVehicleWheelsSimData.html#340d7089f2afd28fd3dbfec01810c1ab">00522</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsSimData.html#340d7089f2afd28fd3dbfec01810c1ab">getNbAntiRollBarData</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mNbActiveAntiRollBars;}
<a name="l00523"></a>00523     <span class="keywordtype">void</span> setAntiRollBarData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <span class="keywordtype">id</span>, <span class="keyword">const</span> <a class="code" href="classPxVehicleAntiRollBarData.html">PxVehicleAntiRollBarData</a>&amp; antiRoll);
<a name="l00524"></a><a class="code" href="classPxVehicleWheelsSimData.html#6739c902ff9828abceace89afd02fb81">00524</a>     <a class="code" href="classPxVehicleWheelsSimData.html#6739c902ff9828abceace89afd02fb81">PxVehicleWheelsSimData</a>(){}
<a name="l00525"></a><a class="code" href="classPxVehicleWheelsSimData.html#7ed632e9bfbc93a23c66bf80ee040319">00525</a>     <a class="code" href="classPxVehicleWheelsSimData.html#7ed632e9bfbc93a23c66bf80ee040319">~PxVehicleWheelsSimData</a>(){}
<a name="l00526"></a>00526 <span class="comment">//~serialization</span>
<a name="l00527"></a>00527 };
<a name="l00528"></a>00528 <a class="code" href="group__foundation.html#gb12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a>(0==(<span class="keyword">sizeof</span>(<a class="code" href="classPxVehicleWheelsSimData.html" title="Data structure describing configuration data of a vehicle with up to 20 wheels.">PxVehicleWheelsSimData</a>) &amp; 15));
<a name="l00529"></a>00529 
<a name="l00533"></a><a class="code" href="classPxVehicleWheelsDynData.html">00533</a> <span class="keyword">class </span><a class="code" href="classPxVehicleWheelsDynData.html" title="Data structure with instanced dynamics data for wheels.">PxVehicleWheelsDynData</a>
<a name="l00534"></a>00534 {
<a name="l00535"></a>00535 <span class="comment">//= ATTENTION! =====================================================================================</span>
<a name="l00536"></a>00536 <span class="comment">// Changing the data layout of this class breaks the binary serialization format.  See comments for </span>
<a name="l00537"></a>00537 <span class="comment">// PX_BINARY_SERIAL_VERSION.  If a modification is required, please adjust the getBinaryMetaData </span>
<a name="l00538"></a>00538 <span class="comment">// function.  If the modification is made on a custom branch, please change PX_BINARY_SERIAL_VERSION</span>
<a name="l00539"></a>00539 <span class="comment">// accordingly.</span>
<a name="l00540"></a>00540 <span class="comment">//==================================================================================================</span>
<a name="l00541"></a>00541 <span class="keyword">public</span>:
<a name="l00542"></a>00542 
<a name="l00543"></a><a class="code" href="classPxVehicleWheelsDynData.html#b770b7d25d1a8fee9b2a5ea18d57f345">00543</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a>;
<a name="l00544"></a><a class="code" href="classPxVehicleWheelsDynData.html#24d8342a0d0166c21ae69a1497d54cee">00544</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classPxVehicleDrive4W.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleDrive4W</a>;
<a name="l00545"></a><a class="code" href="classPxVehicleWheelsDynData.html#384e496b32aa3c624ceed503417f3595">00545</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classPxVehicleDriveTank.html" title="Data structure with instanced dynamics data and configuration data of a tank.">PxVehicleDriveTank</a>;
<a name="l00546"></a><a class="code" href="classPxVehicleWheelsDynData.html#a960a335429c764ff7e258a0ec3ab5f0">00546</a>     <span class="keyword">friend</span> <span class="keyword">class </span>PxVehicleUpdate;
<a name="l00547"></a>00547 
<a name="l00548"></a><a class="code" href="classPxVehicleWheelsDynData.html#471098b8f71edd2aa6826422c245d091">00548</a>     <a class="code" href="classPxVehicleWheelsDynData.html#471098b8f71edd2aa6826422c245d091">PxVehicleWheelsDynData</a>(){}
<a name="l00549"></a><a class="code" href="classPxVehicleWheelsDynData.html#fa1135338395deba678892c77ff84645">00549</a>     <a class="code" href="classPxVehicleWheelsDynData.html#fa1135338395deba678892c77ff84645">~PxVehicleWheelsDynData</a>(){}
<a name="l00550"></a>00550 
<a name="l00555"></a>00555     <span class="keywordtype">void</span> setToRestState();
<a name="l00556"></a>00556 
<a name="l00561"></a>00561     <span class="keywordtype">void</span> setTireForceShaderFunction(<a class="code" href="group__vehicle.html#g50d8d77d464150cfe6d3f16a12cdbf30" title="Prototype of shader function that is used to compute wheel torque and tire forces...">PxVehicleComputeTireForce</a> tireForceShaderFn);
<a name="l00562"></a>00562 
<a name="l00568"></a>00568     <span class="keywordtype">void</span> setTireForceShaderData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> tireId, <span class="keyword">const</span> <span class="keywordtype">void</span>* tireForceShaderData);
<a name="l00569"></a>00569 
<a name="l00573"></a>00573     <span class="keyword">const</span> <span class="keywordtype">void</span>* getTireForceShaderData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> tireId) <span class="keyword">const</span>;
<a name="l00574"></a>00574 
<a name="l00580"></a>00580     <span class="keywordtype">void</span> setWheelRotationSpeed(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> wheelIdx, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> speed);
<a name="l00581"></a>00581 
<a name="l00585"></a>00585     <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getWheelRotationSpeed(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> wheelIdx) <span class="keyword">const</span>;
<a name="l00586"></a>00586     
<a name="l00592"></a>00592     <span class="keywordtype">void</span> setWheelRotationAngle(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> wheelIdx, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> angle);
<a name="l00593"></a>00593 
<a name="l00597"></a>00597     <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getWheelRotationAngle(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> wheelIdx) <span class="keyword">const</span>;
<a name="l00598"></a>00598 
<a name="l00605"></a>00605     <span class="keywordtype">void</span> setUserData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> tireIdx, <span class="keywordtype">void</span>* userData);
<a name="l00606"></a>00606 
<a name="l00610"></a>00610     <span class="keywordtype">void</span>* getUserData(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> tireIdx) <span class="keyword">const</span>;
<a name="l00611"></a>00611 
<a name="l00618"></a>00618     <span class="keywordtype">void</span> copy(<span class="keyword">const</span> <a class="code" href="classPxVehicleWheelsDynData.html" title="Data structure with instanced dynamics data for wheels.">PxVehicleWheelsDynData</a>&amp; src, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> srcWheel, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> trgWheel);
<a name="l00619"></a>00619 
<a name="l00620"></a>00620 <span class="keyword">private</span>:
<a name="l00621"></a>00621 
<a name="l00625"></a><a class="code" href="classPxVehicleWheelsDynData.html#e57961d62d117de317fa4119bd61b791">00625</a>     PxVehicleWheels4DynData* mWheels4DynData;
<a name="l00626"></a>00626 
<a name="l00630"></a>00630     <span class="keywordtype">bool</span> isValid() <span class="keyword">const</span>;
<a name="l00631"></a>00631 
<a name="l00635"></a><a class="code" href="classPxVehicleWheelsDynData.html#44fa9fdfdc5063c2f6240f73b0c615a4">00635</a>     PxVehicleTireForceCalculator* mTireForceCalculators;
<a name="l00636"></a>00636     
<a name="l00641"></a><a class="code" href="classPxVehicleWheelsDynData.html#e55bac4655f522f6298af9e60d79fce9">00641</a>     <span class="keywordtype">void</span>** mUserDatas;
<a name="l00642"></a>00642 
<a name="l00646"></a><a class="code" href="classPxVehicleWheelsDynData.html#a3d22099e2026ec2de36c6ddbcb32968">00646</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mNbWheels4;
<a name="l00647"></a>00647 
<a name="l00651"></a><a class="code" href="classPxVehicleWheelsDynData.html#350936bdeeba3a463b9fa8336731dfb7">00651</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mNbActiveWheels;
<a name="l00652"></a>00652 
<a name="l00653"></a><a class="code" href="classPxVehicleWheelsDynData.html#4a8a66f7bf5d2aa51df5da6bcdbad91a">00653</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mPad[3];
<a name="l00654"></a>00654 
<a name="l00658"></a>00658     <span class="keyword">static</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> computeByteSize(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> numWheels);
<a name="l00659"></a>00659     <span class="keyword">static</span> <a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a>* patchUpPointers(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> numWheels, <a class="code" href="classPxVehicleWheelsDynData.html" title="Data structure with instanced dynamics data for wheels.">PxVehicleWheelsDynData</a>* dynData, <a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a>* ptr);
<a name="l00660"></a>00660     <a class="code" href="classPxVehicleWheelsDynData.html" title="Data structure with instanced dynamics data for wheels.">PxVehicleWheelsDynData</a>(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> numWheels);
<a name="l00661"></a>00661 
<a name="l00662"></a>00662 <span class="comment">//serialization</span>
<a name="l00663"></a>00663 <span class="keyword">public</span>:
<a name="l00664"></a>00664     <span class="keyword">static</span> <span class="keywordtype">void</span> getBinaryMetaData(<a class="code" href="classPxOutputStream.html" title="Output stream class for I/O.">PxOutputStream</a>&amp; stream);  
<a name="l00665"></a><a class="code" href="classPxVehicleWheelsDynData.html#114c21ca98117f1f2239c2dac0a65fdd">00665</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsDynData.html#114c21ca98117f1f2239c2dac0a65fdd">getNbWheelRotationSpeed</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mNbActiveWheels; }
<a name="l00666"></a><a class="code" href="classPxVehicleWheelsDynData.html#43dc86907ac9cf5e5b900a46ce8e2d50">00666</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheelsDynData.html#43dc86907ac9cf5e5b900a46ce8e2d50">getNbWheelRotationAngle</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mNbActiveWheels; }   
<a name="l00667"></a><a class="code" href="classPxVehicleWheelsDynData.html#3ba4423da9f8c80fe6b28cdbe83907de">00667</a>     PxVehicleWheels4DynData* <a class="code" href="classPxVehicleWheelsDynData.html#3ba4423da9f8c80fe6b28cdbe83907de">getWheel4DynData</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mWheels4DynData; }
<a name="l00668"></a>00668 <span class="comment">//~serialization</span>
<a name="l00669"></a>00669 };
<a name="l00670"></a>00670 <a class="code" href="group__foundation.html#gb12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a>(0==(<span class="keyword">sizeof</span>(<a class="code" href="classPxVehicleWheelsDynData.html" title="Data structure with instanced dynamics data for wheels.">PxVehicleWheelsDynData</a>) &amp; 15));
<a name="l00671"></a>00671 
<a name="l00676"></a><a class="code" href="classPxVehicleWheels.html">00676</a> <span class="keyword">class </span><a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a> : <span class="keyword">public</span> <a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>
<a name="l00677"></a>00677 {
<a name="l00678"></a>00678 <span class="comment">//= ATTENTION! =====================================================================================</span>
<a name="l00679"></a>00679 <span class="comment">// Changing the data layout of this class breaks the binary serialization format.  See comments for </span>
<a name="l00680"></a>00680 <span class="comment">// PX_BINARY_SERIAL_VERSION.  If a modification is required, please adjust the getBinaryMetaData </span>
<a name="l00681"></a>00681 <span class="comment">// function.  If the modification is made on a custom branch, please change PX_BINARY_SERIAL_VERSION</span>
<a name="l00682"></a>00682 <span class="comment">// accordingly.</span>
<a name="l00683"></a>00683 <span class="comment">//==================================================================================================</span>
<a name="l00684"></a>00684 <span class="keyword">public</span>:
<a name="l00685"></a>00685 
<a name="l00686"></a><a class="code" href="classPxVehicleWheels.html#a960a335429c764ff7e258a0ec3ab5f0">00686</a>     <span class="keyword">friend</span> <span class="keyword">class </span>PxVehicleUpdate;
<a name="l00687"></a><a class="code" href="classPxVehicleWheels.html#4244d3285814fff95e2917684eb08be7">00687</a>     <span class="keyword">friend</span> <span class="keyword">class </span>PxVehicleConstraintShader;
<a name="l00688"></a>00688 
<a name="l00693"></a><a class="code" href="classPxVehicleWheels.html#5f052bbb1eb12827dc03c4f0789ee703">00693</a>     <a class="code" href="group__foundation.html#g6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheels.html#5f052bbb1eb12827dc03c4f0789ee703" title="Return the type of vehicle.">getVehicleType</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mType;}
<a name="l00694"></a>00694 
<a name="l00698"></a><a class="code" href="classPxVehicleWheels.html#dd82906e8c19fcc1b24fda52140a58d9">00698</a>     <a class="code" href="group__foundation.html#g6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="code" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.">PxRigidDynamic</a>* <a class="code" href="classPxVehicleWheels.html#dd82906e8c19fcc1b24fda52140a58d9" title="Get non-const ptr to PxRigidDynamic instance that is the vehicle&amp;#39;s physx representation...">getRigidDynamicActor</a>() {<span class="keywordflow">return</span> mActor;}
<a name="l00699"></a>00699 
<a name="l00703"></a><a class="code" href="classPxVehicleWheels.html#d732537554fbedb05fb38327a060743a">00703</a>     <a class="code" href="group__foundation.html#g6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keyword">const</span> <a class="code" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.">PxRigidDynamic</a>* <a class="code" href="classPxVehicleWheels.html#d732537554fbedb05fb38327a060743a" title="Get const ptr to PxRigidDynamic instance that is the vehicle&amp;#39;s physx representation...">getRigidDynamicActor</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mActor;}
<a name="l00704"></a>00704     
<a name="l00709"></a>00709     <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> computeForwardSpeed() <span class="keyword">const</span>;
<a name="l00710"></a>00710 
<a name="l00715"></a>00715     <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> computeSidewaysSpeed() <span class="keyword">const</span>;
<a name="l00716"></a>00716 
<a name="l00720"></a><a class="code" href="classPxVehicleWheels.html#bd3c415e538022f66f00dd926208f2f1">00720</a>     <a class="code" href="classPxVehicleWheelsSimData.html" title="Data structure describing configuration data of a vehicle with up to 20 wheels.">PxVehicleWheelsSimData</a> mWheelsSimData;
<a name="l00721"></a>00721 
<a name="l00725"></a><a class="code" href="classPxVehicleWheels.html#dc99081a2fda9195f484e57f715c41d2">00725</a>     <a class="code" href="classPxVehicleWheelsDynData.html" title="Data structure with instanced dynamics data for wheels.">PxVehicleWheelsDynData</a> mWheelsDynData;  
<a name="l00726"></a>00726 
<a name="l00727"></a>00727 <span class="keyword">protected</span>:
<a name="l00728"></a>00728 
<a name="l00732"></a>00732     <span class="keywordtype">void</span> setToRestState();
<a name="l00733"></a>00733 
<a name="l00737"></a>00737     <span class="keywordtype">bool</span> isValid() <span class="keyword">const</span>;
<a name="l00738"></a>00738 
<a name="l00742"></a>00742     <span class="keyword">static</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> computeByteSize(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbWheels);
<a name="l00743"></a>00743     <span class="keyword">static</span> <a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a>* patchupPointers(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbWheels, <a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a>* vehWheels, <a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a>* ptr);
<a name="l00744"></a>00744     <span class="keyword">virtual</span> <span class="keywordtype">void</span> init(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> numWheels);
<a name="l00745"></a>00745 
<a name="l00750"></a>00750     <span class="keywordtype">void</span> free();
<a name="l00751"></a>00751 
<a name="l00755"></a>00755     <span class="keywordtype">void</span> setup
<a name="l00756"></a>00756         (<a class="code" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK.">PxPhysics</a>* physics, <a class="code" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.">PxRigidDynamic</a>* vehActor, 
<a name="l00757"></a>00757          <span class="keyword">const</span> <a class="code" href="classPxVehicleWheelsSimData.html" title="Data structure describing configuration data of a vehicle with up to 20 wheels.">PxVehicleWheelsSimData</a>&amp; wheelsData,
<a name="l00758"></a>00758          <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbDrivenWheels, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbNonDrivenWheels);
<a name="l00759"></a>00759     
<a name="l00763"></a><a class="code" href="classPxVehicleWheels.html#de10ab7878d43baf638af72cc05f252e">00763</a>     <a class="code" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.">PxRigidDynamic</a>* mActor;
<a name="l00764"></a>00764 
<a name="l00765"></a>00765 <span class="keyword">private</span>:
<a name="l00766"></a>00766 
<a name="l00771"></a><a class="code" href="classPxVehicleWheels.html#cd4867df3d9093a8cdc6ced460e8b8b5">00771</a>     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mNbNonDrivenWheels;
<a name="l00772"></a>00772     
<a name="l00773"></a><a class="code" href="classPxVehicleWheels.html#207673f21e572fc17e5117eb305e2544">00773</a>     <a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a> mOnConstraintReleaseCounter;
<a name="l00774"></a>00774 
<a name="l00775"></a>00775 <span class="keyword">protected</span>:
<a name="l00776"></a>00776 
<a name="l00780"></a><a class="code" href="classPxVehicleWheels.html#a701e6924049bdd9339780c54eafcfe2">00780</a>     <a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a> mType;
<a name="l00781"></a>00781         
<a name="l00782"></a>00782 <span class="preprocessor">#if PX_P64_FAMILY</span>
<a name="l00783"></a>00783 <span class="preprocessor"></span>    <a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a> mPad0[14];
<a name="l00784"></a>00784 <span class="preprocessor">#else</span>
<a name="l00785"></a><a class="code" href="classPxVehicleWheels.html#6c7b7db6738f532cdbc4a44189170a81">00785</a> <span class="preprocessor"></span>    <a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a> mPad0[14];
<a name="l00786"></a>00786 <span class="preprocessor">#endif</span>
<a name="l00787"></a>00787 <span class="preprocessor"></span>
<a name="l00788"></a>00788 <span class="comment">//serialization</span>
<a name="l00789"></a>00789 <span class="keyword">public</span>:
<a name="l00790"></a>00790     <span class="keyword">virtual</span>     <span class="keywordtype">void</span>            requiresObjects(<a class="code" href="classPxProcessPxBaseCallback.html" title="Callback class used to process PxBase objects.">PxProcessPxBaseCallback</a>&amp; c);
<a name="l00791"></a><a class="code" href="classPxVehicleWheels.html#ba71aed284017a9b51165ea2c385f917">00791</a>     <span class="keyword">virtual</span>     <span class="keyword">const</span> <span class="keywordtype">char</span>*     <a class="code" href="classPxVehicleWheels.html#ba71aed284017a9b51165ea2c385f917" title="Returns string name of dynamic type.">getConcreteTypeName</a>()<span class="keyword"> const             </span>{   <span class="keywordflow">return</span> <span class="stringliteral">"PxVehicleWheels"</span>; }
<a name="l00792"></a><a class="code" href="classPxVehicleWheels.html#dc581b466ddace41b7592df8cf54b69a">00792</a>     <span class="keyword">virtual</span>     <span class="keywordtype">bool</span>            <a class="code" href="classPxVehicleWheels.html#dc581b466ddace41b7592df8cf54b69a" title="Returns whether a given type name matches with the type of this instance.">isKindOf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name)<span class="keyword">  const       </span>{   <span class="keywordflow">return</span> !::strcmp(<span class="stringliteral">"PxVehicleWheels"</span>, name) || <a class="code" href="classPxBase.html#ae9d444c7cfd1715a101350a1b1226ef" title="Returns whether a given type name matches with the type of this instance.">PxBase::isKindOf</a>(name); }
<a name="l00793"></a>00793     <span class="keyword">virtual</span>     <span class="keywordtype">void</span>            exportExtraData(<a class="code" href="classPxSerializationContext.html" title="Binary serialization context class.">PxSerializationContext</a>&amp;);   
<a name="l00794"></a>00794                 <span class="keywordtype">void</span>            importExtraData(<a class="code" href="classPxDeserializationContext.html" title="Binary deserialization context class.">PxDeserializationContext</a>&amp;);
<a name="l00795"></a>00795                 <span class="keywordtype">void</span>            resolveReferences(<a class="code" href="classPxDeserializationContext.html" title="Binary deserialization context class.">PxDeserializationContext</a>&amp;);
<a name="l00796"></a>00796     <span class="keyword">static</span>      <span class="keywordtype">void</span>            getBinaryMetaData(<a class="code" href="classPxOutputStream.html" title="Output stream class for I/O.">PxOutputStream</a>&amp; stream);
<a name="l00797"></a><a class="code" href="classPxVehicleWheels.html#eab64d5853861e2513eb22b7608fc3fb">00797</a>     <a class="code" href="group__foundation.html#g6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleWheels.html#eab64d5853861e2513eb22b7608fc3fb">getNbNonDrivenWheels</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mNbNonDrivenWheels; }
<a name="l00798"></a><a class="code" href="classPxVehicleWheels.html#fb89c7e2d53b98c310d59443213fff80">00798</a>     <a class="code" href="classPxVehicleWheels.html#fb89c7e2d53b98c310d59443213fff80">PxVehicleWheels</a>(<a class="code" href="group__common.html#gc1fb4b256a5d900d394e89db170a2b79">PxType</a> concreteType, <a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>(concreteType, baseFlags) {}
<a name="l00799"></a><a class="code" href="classPxVehicleWheels.html#0a75ee48309f1052d10acdc9b727ab06">00799</a>     <a class="code" href="classPxVehicleWheels.html#0a75ee48309f1052d10acdc9b727ab06">PxVehicleWheels</a>(<a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>(baseFlags), mWheelsSimData(<a class="code" href="group__foundation.html#gg0326e4ec6e9082ac70f32df5edc6eb5fc1f59d4e552bf7b85ed37efecfd8b8e6">PxEmpty</a>) {}
<a name="l00800"></a><a class="code" href="classPxVehicleWheels.html#23d22869010243ec8bf51405f25c5db4">00800</a>     <span class="keyword">virtual</span> <a class="code" href="classPxVehicleWheels.html#23d22869010243ec8bf51405f25c5db4">~PxVehicleWheels</a>() {}
<a name="l00801"></a><a class="code" href="classPxVehicleWheels.html#47f6215d5555890bef75e38668596522">00801</a>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classPxVehicleWheels.html#47f6215d5555890bef75e38668596522" title="Releases the PxBase instance, please check documentation of release in derived class...">release</a>() { free(); }
<a name="l00802"></a>00802 <span class="comment">//~serialization</span>
<a name="l00803"></a>00803 };
<a name="l00804"></a>00804 <a class="code" href="group__foundation.html#gb12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a>(0==(<span class="keyword">sizeof</span>(<a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a>) &amp; 15));
<a name="l00805"></a>00805 
<a name="l00806"></a>00806 <span class="preprocessor">#if !PX_DOXYGEN</span>
<a name="l00807"></a>00807 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span>
<a name="l00808"></a>00808 <span class="preprocessor">#endif</span>
<a name="l00809"></a>00809 <span class="preprocessor"></span>
<a name="l00811"></a>00811 <span class="preprocessor">#endif //PX_VEHICLE_WHEELS_H</span>
</pre></div></div>

<hr style="width: 100%; height: 2px;"><br>
Copyright &copy; 2008-2018 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>