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
|
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxVehicleDrive4W.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>
<a class="qindex" href="hierarchy.html">Class Hierarchy</a>
<a class="qindex" href="annotated.html">Compound List</a>
<a class="qindex" href="functions.html">Compound Members</a>
</center>
<hr class="second">
</div>
<!-- Generated by Doxygen 1.5.8 -->
<h1>PxVehicleDrive4W.h</h1><a href="PxVehicleDrive4W_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-2017 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 <span class="preprocessor">#ifndef PX_VEHICLE_4WDRIVE_H</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define PX_VEHICLE_4WDRIVE_H</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="PxVehicleDrive_8h.html">vehicle/PxVehicleDrive.h</a>"</span>
<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="PxVehicleWheels_8h.html">vehicle/PxVehicleWheels.h</a>"</span>
<a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="PxVehicleComponents_8h.html">vehicle/PxVehicleComponents.h</a>"</span>
<a name="l00039"></a>00039
<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="l00046"></a>00046 <span class="keyword">struct </span><a class="code" href="structPxFilterData.html" title="PxFilterData is user-definable data which gets passed into the collision filtering...">PxFilterData</a>;
<a name="l00047"></a>00047 <span class="keyword">class </span><a class="code" href="classPxGeometry.html" title="A geometry object.">PxGeometry</a>;
<a name="l00048"></a>00048 <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="l00049"></a>00049 <span class="keyword">class </span><a class="code" href="classPxBatchQuery.html" title="Batched queries object. This is used to perform several queries at the same time...">PxBatchQuery</a>;
<a name="l00050"></a>00050 <span class="keyword">class </span><a class="code" href="classPxVehicleDrivableSurfaceToTireFrictionPairs.html" title="Friction for each combination of driving surface type and tire type.">PxVehicleDrivableSurfaceToTireFrictionPairs</a>;
<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="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>;
<a name="l00053"></a>00053 <span class="keyword">class </span><a class="code" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.">PxRigidDynamic</a>;
<a name="l00054"></a>00054
<a name="l00060"></a><a class="code" href="classPxVehicleDriveSimData4W.html">00060</a> <span class="keyword">class </span><a class="code" href="classPxVehicleDriveSimData4W.html" title="Data structure describing the drive model components of a vehicle with up to 4 driven...">PxVehicleDriveSimData4W</a> : <span class="keyword">public</span> <a class="code" href="classPxVehicleDriveSimData.html" title="Data structure describing non-wheel configuration data of a vehicle that has engine...">PxVehicleDriveSimData</a>
<a name="l00061"></a>00061 {
<a name="l00062"></a>00062 <span class="comment">//= ATTENTION! =====================================================================================</span>
<a name="l00063"></a>00063 <span class="comment">// Changing the data layout of this class breaks the binary serialization format. See comments for </span>
<a name="l00064"></a>00064 <span class="comment">// PX_BINARY_SERIAL_VERSION. If a modification is required, please adjust the getBinaryMetaData </span>
<a name="l00065"></a>00065 <span class="comment">// function. If the modification is made on a custom branch, please change PX_BINARY_SERIAL_VERSION</span>
<a name="l00066"></a>00066 <span class="comment">// accordingly.</span>
<a name="l00067"></a>00067 <span class="comment">//==================================================================================================</span>
<a name="l00068"></a>00068 <span class="keyword">public</span>:
<a name="l00069"></a>00069
<a name="l00070"></a><a class="code" href="classPxVehicleDriveSimData4W.html#24d8342a0d0166c21ae69a1497d54cee">00070</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="l00071"></a>00071
<a name="l00072"></a><a class="code" href="classPxVehicleDriveSimData4W.html#b79ed54dbd9ead2aeef21ee3c4e270a9">00072</a> <a class="code" href="classPxVehicleDriveSimData4W.html" title="Data structure describing the drive model components of a vehicle with up to 4 driven...">PxVehicleDriveSimData4W</a>()
<a name="l00073"></a>00073 : <a class="code" href="classPxVehicleDriveSimData.html" title="Data structure describing non-wheel configuration data of a vehicle that has engine...">PxVehicleDriveSimData</a>()
<a name="l00074"></a>00074 {
<a name="l00075"></a>00075 }
<a name="l00076"></a>00076
<a name="l00081"></a><a class="code" href="classPxVehicleDriveSimData4W.html#5fed6583be837a24605373d155b8170a">00081</a> <a class="code" href="group__foundation.html#g6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keyword">const</span> <a class="code" href="classPxVehicleDifferential4WData.html">PxVehicleDifferential4WData</a>& getDiffData()<span class="keyword"> const </span>
<a name="l00082"></a>00082 <span class="keyword"> </span>{
<a name="l00083"></a>00083 <span class="keywordflow">return</span> mDiff;
<a name="l00084"></a>00084 }
<a name="l00085"></a>00085
<a name="l00090"></a><a class="code" href="classPxVehicleDriveSimData4W.html#848a87fab754dd9acaafd857b7dbf1e6">00090</a> <a class="code" href="group__foundation.html#g6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <span class="keyword">const</span> <a class="code" href="classPxVehicleAckermannGeometryData.html">PxVehicleAckermannGeometryData</a>& getAckermannGeometryData()<span class="keyword"> const </span>
<a name="l00091"></a>00091 <span class="keyword"> </span>{
<a name="l00092"></a>00092 <span class="keywordflow">return</span> mAckermannGeometry;
<a name="l00093"></a>00093 }
<a name="l00094"></a>00094
<a name="l00099"></a>00099 <span class="keywordtype">void</span> setDiffData(<span class="keyword">const</span> <a class="code" href="classPxVehicleDifferential4WData.html">PxVehicleDifferential4WData</a>& diff);
<a name="l00100"></a>00100
<a name="l00105"></a>00105 <span class="keywordtype">void</span> setAckermannGeometryData(<span class="keyword">const</span> <a class="code" href="classPxVehicleAckermannGeometryData.html">PxVehicleAckermannGeometryData</a>& ackermannData);
<a name="l00106"></a>00106
<a name="l00107"></a>00107 <span class="keyword">private</span>:
<a name="l00108"></a>00108
<a name="l00113"></a><a class="code" href="classPxVehicleDriveSimData4W.html#2833f597f39e2ec08492130a795e353e">00113</a> <a class="code" href="classPxVehicleDifferential4WData.html">PxVehicleDifferential4WData</a> mDiff;
<a name="l00114"></a>00114
<a name="l00119"></a><a class="code" href="classPxVehicleDriveSimData4W.html#8665e6e42fb679b35be211b1306a0ff3">00119</a> <a class="code" href="classPxVehicleAckermannGeometryData.html">PxVehicleAckermannGeometryData</a> mAckermannGeometry;
<a name="l00120"></a>00120
<a name="l00126"></a>00126 <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDrive4W.html#891dba7a4efe6043cc75622585c207c9" title="Test if the instanced dynamics and configuration data has legal values.">isValid</a>() <span class="keyword">const</span>;
<a name="l00127"></a>00127
<a name="l00128"></a>00128 <span class="comment">//serialization</span>
<a name="l00129"></a>00129 <span class="keyword">public</span>:
<a name="l00130"></a><a class="code" href="classPxVehicleDriveSimData4W.html#db99a930a7426f4835c48574ee77e947">00130</a> <a class="code" href="classPxVehicleDriveSimData4W.html#db99a930a7426f4835c48574ee77e947">PxVehicleDriveSimData4W</a>(<span class="keyword">const</span> <a class="code" href="group__foundation.html#g0326e4ec6e9082ac70f32df5edc6eb5f">PxEMPTY</a>) : <a class="code" href="classPxVehicleDriveSimData.html" title="Data structure describing non-wheel configuration data of a vehicle that has engine...">PxVehicleDriveSimData</a>(<a class="code" href="group__foundation.html#gg0326e4ec6e9082ac70f32df5edc6eb5fc1f59d4e552bf7b85ed37efecfd8b8e6">PxEmpty</a>), mDiff(<a class="code" href="group__foundation.html#gg0326e4ec6e9082ac70f32df5edc6eb5fc1f59d4e552bf7b85ed37efecfd8b8e6">PxEmpty</a>), mAckermannGeometry(<a class="code" href="group__foundation.html#gg0326e4ec6e9082ac70f32df5edc6eb5fc1f59d4e552bf7b85ed37efecfd8b8e6">PxEmpty</a>) {}
<a name="l00131"></a>00131 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classPxVehicleDrive4W.html#2e380dc9ed111550b8919f3703137450">getBinaryMetaData</a>(<a class="code" href="classPxOutputStream.html" title="Output stream class for I/O.">PxOutputStream</a>& stream);
<a name="l00132"></a>00132 <span class="comment">//~serialization</span>
<a name="l00133"></a>00133 };
<a name="l00134"></a>00134 <a class="code" href="group__foundation.html#gb12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a>(0==(<span class="keyword">sizeof</span>(<a class="code" href="classPxVehicleDriveSimData4W.html" title="Data structure describing the drive model components of a vehicle with up to 4 driven...">PxVehicleDriveSimData4W</a>) & 15));
<a name="l00135"></a>00135
<a name="l00136"></a>00136
<a name="l00137"></a>00137
<a name="l00144"></a><a class="code" href="structPxVehicleDrive4WWheelOrder.html">00144</a> <span class="keyword">struct </span><a class="code" href="structPxVehicleDrive4WWheelOrder.html" title="The ordering of the driven and steered wheels of a PxVehicleDrive4W.">PxVehicleDrive4WWheelOrder</a>
<a name="l00145"></a>00145 {
<a name="l00146"></a><a class="code" href="structPxVehicleDrive4WWheelOrder.html#68b3b8d5f53acb4985dd0815960545e2">00146</a> <span class="keyword">enum</span> <a class="code" href="structPxVehicleDrive4WWheelOrder.html#68b3b8d5f53acb4985dd0815960545e2">Enum</a>
<a name="l00147"></a>00147 {
<a name="l00148"></a><a class="code" href="structPxVehicleDrive4WWheelOrder.html#68b3b8d5f53acb4985dd0815960545e269256ea3ce71587fdb3d4aa9aa17e823">00148</a> eFRONT_LEFT=0,
<a name="l00149"></a><a class="code" href="structPxVehicleDrive4WWheelOrder.html#68b3b8d5f53acb4985dd0815960545e2901238f6f92de2be97c49445f0ec2468">00149</a> eFRONT_RIGHT,
<a name="l00150"></a><a class="code" href="structPxVehicleDrive4WWheelOrder.html#68b3b8d5f53acb4985dd0815960545e21c879ce1d7482c68b1cc7dcc14d8856b">00150</a> eREAR_LEFT,
<a name="l00151"></a><a class="code" href="structPxVehicleDrive4WWheelOrder.html#68b3b8d5f53acb4985dd0815960545e2cc26e81e1a11878fbaddd0505178394b">00151</a> eREAR_RIGHT
<a name="l00152"></a>00152 };
<a name="l00153"></a>00153 };
<a name="l00154"></a>00154
<a name="l00161"></a><a class="code" href="structPxVehicleDrive4WControl.html">00161</a> <span class="keyword">struct </span><a class="code" href="structPxVehicleDrive4WControl.html" title="The control inputs for a PxVehicleDrive4W.">PxVehicleDrive4WControl</a>
<a name="l00162"></a>00162 {
<a name="l00163"></a><a class="code" href="structPxVehicleDrive4WControl.html#72fd4871288500845821292d33bb6c83">00163</a> <span class="keyword">enum</span> <a class="code" href="structPxVehicleDrive4WControl.html#72fd4871288500845821292d33bb6c83">Enum</a>
<a name="l00164"></a>00164 {
<a name="l00165"></a><a class="code" href="structPxVehicleDrive4WControl.html#72fd4871288500845821292d33bb6c837864222af5bf4a1a776dc4115d1bda7a">00165</a> eANALOG_INPUT_ACCEL=0,
<a name="l00166"></a><a class="code" href="structPxVehicleDrive4WControl.html#72fd4871288500845821292d33bb6c83904c2f2dd96271d5cd0562631b2ecfd2">00166</a> eANALOG_INPUT_BRAKE,
<a name="l00167"></a><a class="code" href="structPxVehicleDrive4WControl.html#72fd4871288500845821292d33bb6c837785ddf2b2ed793b8cb7eac20a2f0b8d">00167</a> eANALOG_INPUT_HANDBRAKE,
<a name="l00168"></a><a class="code" href="structPxVehicleDrive4WControl.html#72fd4871288500845821292d33bb6c83f01b9d695fb73bb3e0316fb01db2037f">00168</a> eANALOG_INPUT_STEER_LEFT,
<a name="l00169"></a><a class="code" href="structPxVehicleDrive4WControl.html#72fd4871288500845821292d33bb6c83abafb1fb6ab8cec26ef7f1c4e3c5fb0d">00169</a> eANALOG_INPUT_STEER_RIGHT,
<a name="l00170"></a><a class="code" href="structPxVehicleDrive4WControl.html#72fd4871288500845821292d33bb6c83782d6557bda10f7a3a01a74836f5bb24">00170</a> eMAX_NB_DRIVE4W_ANALOG_INPUTS
<a name="l00171"></a>00171 };
<a name="l00172"></a>00172 };
<a name="l00173"></a>00173
<a name="l00177"></a><a class="code" href="classPxVehicleDrive4W.html">00177</a> <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> : <span class="keyword">public</span> <a class="code" href="classPxVehicleDrive.html" title="A complete vehicle with instance dynamics data and configuration data for wheels...">PxVehicleDrive</a>
<a name="l00178"></a>00178 {
<a name="l00179"></a>00179 <span class="comment">//= ATTENTION! =====================================================================================</span>
<a name="l00180"></a>00180 <span class="comment">// Changing the data layout of this class breaks the binary serialization format. See comments for </span>
<a name="l00181"></a>00181 <span class="comment">// PX_BINARY_SERIAL_VERSION. If a modification is required, please adjust the getBinaryMetaData </span>
<a name="l00182"></a>00182 <span class="comment">// function. If the modification is made on a custom branch, please change PX_BINARY_SERIAL_VERSION</span>
<a name="l00183"></a>00183 <span class="comment">// accordingly.</span>
<a name="l00184"></a>00184 <span class="comment">//==================================================================================================</span>
<a name="l00185"></a>00185 <span class="keyword">public</span>:
<a name="l00186"></a><a class="code" href="classPxVehicleDrive4W.html#a960a335429c764ff7e258a0ec3ab5f0">00186</a> <span class="keyword">friend</span> <span class="keyword">class </span>PxVehicleUpdate;
<a name="l00187"></a>00187
<a name="l00197"></a>00197 <span class="keyword">static</span> <a class="code" href="classPxVehicleDrive4W.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleDrive4W</a>* allocate(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbWheels);
<a name="l00198"></a>00198
<a name="l00203"></a>00203 <span class="keywordtype">void</span> free();
<a name="l00204"></a>00204
<a name="l00216"></a>00216 <span class="keywordtype">void</span> setup
<a name="l00217"></a>00217 (<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="l00218"></a>00218 <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>& wheelsData, <span class="keyword">const</span> <a class="code" href="classPxVehicleDriveSimData4W.html" title="Data structure describing the drive model components of a vehicle with up to 4 driven...">PxVehicleDriveSimData4W</a>& driveData,
<a name="l00219"></a>00219 <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbNonDrivenWheels);
<a name="l00220"></a>00220
<a name="l00233"></a>00233 <span class="keyword">static</span> <a class="code" href="classPxVehicleDrive4W.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleDrive4W</a>* create
<a name="l00234"></a>00234 (<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="l00235"></a>00235 <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>& wheelsData, <span class="keyword">const</span> <a class="code" href="classPxVehicleDriveSimData4W.html" title="Data structure describing the drive model components of a vehicle with up to 4 driven...">PxVehicleDriveSimData4W</a>& driveData,
<a name="l00236"></a>00236 <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbNonDrivenWheels);
<a name="l00237"></a>00237
<a name="l00245"></a>00245 <span class="keywordtype">void</span> setToRestState();
<a name="l00246"></a>00246
<a name="l00251"></a><a class="code" href="classPxVehicleDrive4W.html#a0f73e6c124110e08368311d1cfa623c">00251</a> <a class="code" href="classPxVehicleDriveSimData4W.html" title="Data structure describing the drive model components of a vehicle with up to 4 driven...">PxVehicleDriveSimData4W</a> mDriveSimData;
<a name="l00252"></a>00252
<a name="l00253"></a>00253 <span class="keyword">private</span>:
<a name="l00254"></a>00254
<a name="l00258"></a>00258 <span class="keywordtype">bool</span> isValid() <span class="keyword">const</span>;
<a name="l00259"></a>00259
<a name="l00260"></a>00260 <span class="comment">//serialization</span>
<a name="l00261"></a>00261 <span class="keyword">protected</span>:
<a name="l00262"></a>00262 <a class="code" href="classPxVehicleDrive4W.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleDrive4W</a>();
<a name="l00263"></a><a class="code" href="classPxVehicleDrive4W.html#a0e081490ed4399c07e7ff9e212ce81d">00263</a> <a class="code" href="classPxVehicleDrive4W.html#a0e081490ed4399c07e7ff9e212ce81d">~PxVehicleDrive4W</a>(){}
<a name="l00264"></a><a class="code" href="classPxVehicleDrive4W.html#312ca7d7afa7961e986347f5681e3144">00264</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleDrive4W.html#312ca7d7afa7961e986347f5681e3144" 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">"PxVehicleDrive4W"</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="l00265"></a>00265 <span class="keyword">public</span>:
<a name="l00266"></a>00266 <span class="keyword">static</span> <a class="code" href="classPxVehicleDrive4W.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleDrive4W</a>* createObject(<a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a>*& address, <a class="code" href="classPxDeserializationContext.html" title="Binary deserialization context class.">PxDeserializationContext</a>& context);
<a name="l00267"></a>00267 <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>& stream);
<a name="l00268"></a><a class="code" href="classPxVehicleDrive4W.html#6dc419ee085a03afbc970c2452a4b993">00268</a> <a class="code" href="classPxVehicleDrive4W.html#6dc419ee085a03afbc970c2452a4b993">PxVehicleDrive4W</a>(<a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxVehicleDrive.html" title="A complete vehicle with instance dynamics data and configuration data for wheels...">PxVehicleDrive</a>(baseFlags), mDriveSimData(<a class="code" href="group__foundation.html#gg0326e4ec6e9082ac70f32df5edc6eb5fc1f59d4e552bf7b85ed37efecfd8b8e6">PxEmpty</a>) {}
<a name="l00269"></a><a class="code" href="classPxVehicleDrive4W.html#f869349c277182e9c43078d19580dc81">00269</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classPxVehicleDrive4W.html#f869349c277182e9c43078d19580dc81" title="Returns string name of dynamic type.">getConcreteTypeName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">"PxVehicleDrive4W"</span>; }
<a name="l00270"></a>00270 <span class="comment">//~serialization </span>
<a name="l00271"></a>00271 };
<a name="l00272"></a>00272 <a class="code" href="group__foundation.html#gb12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a>(0==(<span class="keyword">sizeof</span>(<a class="code" href="classPxVehicleDrive4W.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleDrive4W</a>) & 15));
<a name="l00273"></a>00273
<a name="l00274"></a>00274 <span class="preprocessor">#if !PX_DOXYGEN</span>
<a name="l00275"></a>00275 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span>
<a name="l00276"></a>00276 <span class="preprocessor">#endif</span>
<a name="l00277"></a>00277 <span class="preprocessor"></span>
<a name="l00279"></a>00279 <span class="preprocessor">#endif //PX_VEHICLE_4WDRIVE_H</span>
</pre></div></div>
<hr style="width: 100%; height: 2px;"><br>
Copyright © 2008-2017 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>
|