aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleNoDrive_8h-source.html
diff options
context:
space:
mode:
authorgit perforce import user <a@b>2016-10-25 12:29:14 -0600
committerSheikh Dawood Abdul Ajees <Sheikh Dawood Abdul Ajees>2016-10-25 18:56:37 -0500
commit3dfe2108cfab31ba3ee5527e217d0d8e99a51162 (patch)
treefa6485c169e50d7415a651bf838f5bcd0fd3bfbd /PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleNoDrive_8h-source.html
downloadphysx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.tar.xz
physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.zip
Initial commit:
PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167]
Diffstat (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleNoDrive_8h-source.html')
-rw-r--r--PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleNoDrive_8h-source.html151
1 files changed, 151 insertions, 0 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleNoDrive_8h-source.html b/PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleNoDrive_8h-source.html
new file mode 100644
index 00000000..4aa28d35
--- /dev/null
+++ b/PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleNoDrive_8h-source.html
@@ -0,0 +1,151 @@
+<html>
+ <head>
+ <title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxVehicleNoDrive.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>PxVehicleNoDrive.h</h1><a href="PxVehicleNoDrive_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// This code contains NVIDIA Confidential Information and is disclosed to you</span>
+<a name="l00002"></a>00002 <span class="comment">// under a form of NVIDIA software license agreement provided separately to you.</span>
+<a name="l00003"></a>00003 <span class="comment">//</span>
+<a name="l00004"></a>00004 <span class="comment">// Notice</span>
+<a name="l00005"></a>00005 <span class="comment">// NVIDIA Corporation and its licensors retain all intellectual property and</span>
+<a name="l00006"></a>00006 <span class="comment">// proprietary rights in and to this software and related documentation and</span>
+<a name="l00007"></a>00007 <span class="comment">// any modifications thereto. Any use, reproduction, disclosure, or</span>
+<a name="l00008"></a>00008 <span class="comment">// distribution of this software and related documentation without an express</span>
+<a name="l00009"></a>00009 <span class="comment">// license agreement from NVIDIA Corporation is strictly prohibited.</span>
+<a name="l00010"></a>00010 <span class="comment">//</span>
+<a name="l00011"></a>00011 <span class="comment">// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES</span>
+<a name="l00012"></a>00012 <span class="comment">// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO</span>
+<a name="l00013"></a>00013 <span class="comment">// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,</span>
+<a name="l00014"></a>00014 <span class="comment">// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.</span>
+<a name="l00015"></a>00015 <span class="comment">//</span>
+<a name="l00016"></a>00016 <span class="comment">// Information and code furnished is believed to be accurate and reliable.</span>
+<a name="l00017"></a>00017 <span class="comment">// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such</span>
+<a name="l00018"></a>00018 <span class="comment">// information or for any infringement of patents or other rights of third parties that may</span>
+<a name="l00019"></a>00019 <span class="comment">// result from its use. No license is granted by implication or otherwise under any patent</span>
+<a name="l00020"></a>00020 <span class="comment">// or patent rights of NVIDIA Corporation. Details are subject to change without notice.</span>
+<a name="l00021"></a>00021 <span class="comment">// This code supersedes and replaces all information previously supplied.</span>
+<a name="l00022"></a>00022 <span class="comment">// NVIDIA Corporation products are not authorized for use as critical</span>
+<a name="l00023"></a>00023 <span class="comment">// components in life support devices or systems without express written approval of</span>
+<a name="l00024"></a>00024 <span class="comment">// NVIDIA Corporation.</span>
+<a name="l00025"></a>00025 <span class="comment">//</span>
+<a name="l00026"></a>00026 <span class="comment">// Copyright (c) 2008-2016 NVIDIA Corporation. All rights reserved.</span>
+<a name="l00027"></a>00027 <span class="comment">// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.</span>
+<a name="l00028"></a>00028 <span class="comment">// Copyright (c) 2001-2004 NovodeX AG. All rights reserved. </span>
+<a name="l00029"></a>00029
+<a name="l00030"></a>00030 <span class="preprocessor">#ifndef PX_VEHICLE_NO_DRIVE_H</span>
+<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define PX_VEHICLE_NO_DRIVE_H</span>
+<a name="l00032"></a>00032 <span class="preprocessor"></span>
+<a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="PxVehicleWheels_8h.html">vehicle/PxVehicleWheels.h</a>"</span>
+<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="PxVehicleComponents_8h.html">vehicle/PxVehicleComponents.h</a>"</span>
+<a name="l00038"></a>00038
+<a name="l00039"></a>00039
+<a name="l00040"></a>00040 <span class="preprocessor">#if !PX_DOXYGEN</span>
+<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="keyword">namespace </span>physx
+<a name="l00042"></a>00042 {
+<a name="l00043"></a>00043 <span class="preprocessor">#endif</span>
+<a name="l00044"></a>00044 <span class="preprocessor"></span>
+<a name="l00045"></a>00045 <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="l00046"></a>00046 <span class="keyword">class </span><a class="code" href="classPxGeometry.html" title="A geometry object.">PxGeometry</a>;
+<a name="l00047"></a>00047 <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="l00048"></a>00048 <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="l00049"></a>00049 <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="l00050"></a>00050 <span class="keyword">class </span><a class="code" href="classPxShape.html" title="Abstract class for collision shapes.">PxShape</a>;
+<a name="l00051"></a>00051 <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="l00052"></a>00052 <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="l00053"></a>00053
+<a name="l00057"></a><a class="code" href="classPxVehicleNoDrive.html">00057</a> <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> : <span class="keyword">public</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="l00058"></a>00058 {
+<a name="l00059"></a>00059 <span class="comment">//= ATTENTION! =====================================================================================</span>
+<a name="l00060"></a>00060 <span class="comment">// Changing the data layout of this class breaks the binary serialization format. See comments for </span>
+<a name="l00061"></a>00061 <span class="comment">// PX_BINARY_SERIAL_VERSION. If a modification is required, please adjust the getBinaryMetaData </span>
+<a name="l00062"></a>00062 <span class="comment">// function. If the modification is made on a custom branch, please change PX_BINARY_SERIAL_VERSION</span>
+<a name="l00063"></a>00063 <span class="comment">// accordingly.</span>
+<a name="l00064"></a>00064 <span class="comment">//==================================================================================================</span>
+<a name="l00065"></a>00065 <span class="keyword">public</span>:
+<a name="l00066"></a>00066
+<a name="l00067"></a><a class="code" href="classPxVehicleNoDrive.html#a960a335429c764ff7e258a0ec3ab5f0">00067</a> <span class="keyword">friend</span> <span class="keyword">class </span>PxVehicleUpdate;
+<a name="l00068"></a>00068
+<a name="l00078"></a>00078 <span class="keyword">static</span> <a class="code" href="classPxVehicleNoDrive.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleNoDrive</a>* allocate(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbWheels);
+<a name="l00079"></a>00079
+<a name="l00084"></a>00084 <span class="keywordtype">void</span> free();
+<a name="l00085"></a>00085
+<a name="l00094"></a>00094 <span class="keywordtype">void</span> setup
+<a name="l00095"></a>00095 (<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, <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="l00096"></a>00096
+<a name="l00106"></a>00106 <span class="keyword">static</span> <a class="code" href="classPxVehicleNoDrive.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleNoDrive</a>* create
+<a name="l00107"></a>00107 (<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, <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="l00108"></a>00108
+<a name="l00116"></a>00116 <span class="keywordtype">void</span> setToRestState();
+<a name="l00117"></a>00117
+<a name="l00128"></a>00128 <span class="keywordtype">void</span> setBrakeTorque(<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="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> brakeTorque);
+<a name="l00129"></a>00129
+<a name="l00140"></a>00140 <span class="keywordtype">void</span> setDriveTorque(<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="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> driveTorque);
+<a name="l00141"></a>00141
+<a name="l00152"></a>00152 <span class="keywordtype">void</span> setSteerAngle(<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="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> steerAngle);
+<a name="l00153"></a>00153
+<a name="l00159"></a>00159 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getBrakeTorque(<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="l00160"></a>00160
+<a name="l00166"></a>00166 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getDriveTorque(<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="l00167"></a>00167
+<a name="l00173"></a>00173 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getSteerAngle(<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="l00174"></a>00174
+<a name="l00175"></a>00175 <span class="keyword">private</span>:
+<a name="l00176"></a>00176
+<a name="l00177"></a><a class="code" href="classPxVehicleNoDrive.html#7facb97674b5575b66ffa9d780c2a1c3">00177</a> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>* mSteerAngles;
+<a name="l00178"></a><a class="code" href="classPxVehicleNoDrive.html#c5f06c9756c093f56f46e47d1d05c40c">00178</a> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>* mDriveTorques;
+<a name="l00179"></a><a class="code" href="classPxVehicleNoDrive.html#5b2c76abb2dc55b4047675cd7392475d">00179</a> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>* mBrakeTorques;
+<a name="l00180"></a>00180
+<a name="l00181"></a>00181 <span class="preprocessor">#if PX_P64_FAMILY</span>
+<a name="l00182"></a>00182 <span class="preprocessor"></span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mPad[2];
+<a name="l00183"></a>00183 <span class="preprocessor">#else </span>
+<a name="l00184"></a><a class="code" href="classPxVehicleNoDrive.html#0eef7389deac2fd9aeb1824c62ec5a00">00184</a> <span class="preprocessor"></span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mPad[1];
+<a name="l00185"></a>00185 <span class="preprocessor">#endif</span>
+<a name="l00186"></a>00186 <span class="preprocessor"></span>
+<a name="l00190"></a>00190 <span class="keywordtype">bool</span> isValid() <span class="keyword">const</span>;
+<a name="l00191"></a>00191
+<a name="l00192"></a>00192
+<a name="l00193"></a>00193 <span class="comment">//serialization</span>
+<a name="l00194"></a>00194 <span class="keyword">public</span>:
+<a name="l00195"></a><a class="code" href="classPxVehicleNoDrive.html#6ba06186cf9355dd9198beef75352afc">00195</a> <a class="code" href="classPxVehicleNoDrive.html#6ba06186cf9355dd9198beef75352afc">PxVehicleNoDrive</a>(<a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a>(baseFlags) {}
+<a name="l00196"></a>00196 <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="l00197"></a>00197 <span class="keywordtype">void</span> importExtraData(<a class="code" href="classPxDeserializationContext.html" title="Binary deserialization context class.">PxDeserializationContext</a>&amp;);
+<a name="l00198"></a>00198 <span class="keyword">static</span> <a class="code" href="classPxVehicleNoDrive.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleNoDrive</a>* createObject(<a class="code" href="namespacephysx.html#3849f86abc21d3a58949481603fe8309">PxU8</a>*&amp; address, <a class="code" href="classPxDeserializationContext.html" title="Binary deserialization context class.">PxDeserializationContext</a>&amp; context);
+<a name="l00199"></a>00199 <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="l00200"></a><a class="code" href="classPxVehicleNoDrive.html#6e5503e7a2d85964bdebce938c3c082b">00200</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classPxVehicleNoDrive.html#6e5503e7a2d85964bdebce938c3c082b" title="Returns string name of dynamic type.">getConcreteTypeName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">"PxVehicleNoDrive"</span>; }
+<a name="l00201"></a><a class="code" href="classPxVehicleNoDrive.html#e6115dc7e2bf9a1a8f73d39c88ac8a65">00201</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classPxVehicleNoDrive.html#e6115dc7e2bf9a1a8f73d39c88ac8a65" 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">"PxVehicleNoDrive"</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="l00202"></a><a class="code" href="classPxVehicleNoDrive.html#1cc626970c2f4b5a2cf16aa99abedcbf">00202</a> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleNoDrive.html#1cc626970c2f4b5a2cf16aa99abedcbf">getNbSteerAngle</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mWheelsSimData.getNbWheels(); }
+<a name="l00203"></a><a class="code" href="classPxVehicleNoDrive.html#77ffe8a3c8951abc5a07d9310502651e">00203</a> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleNoDrive.html#77ffe8a3c8951abc5a07d9310502651e">getNbDriveTorque</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mWheelsSimData.getNbWheels(); }
+<a name="l00204"></a><a class="code" href="classPxVehicleNoDrive.html#ad5be54068f68819102dca831790db0c">00204</a> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="classPxVehicleNoDrive.html#ad5be54068f68819102dca831790db0c">getNbBrakeTorque</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mWheelsSimData.getNbWheels(); }
+<a name="l00205"></a>00205 <span class="keyword">protected</span>:
+<a name="l00206"></a>00206 <a class="code" href="classPxVehicleNoDrive.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleNoDrive</a>();
+<a name="l00207"></a><a class="code" href="classPxVehicleNoDrive.html#316d68c5a32095cac2e364f7b29934a1">00207</a> <a class="code" href="classPxVehicleNoDrive.html#316d68c5a32095cac2e364f7b29934a1">~PxVehicleNoDrive</a>() {}
+<a name="l00208"></a>00208 <span class="comment">//~serialization</span>
+<a name="l00209"></a>00209 };
+<a name="l00210"></a>00210 <a class="code" href="group__foundation.html#gb12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a>(0==(<span class="keyword">sizeof</span>(<a class="code" href="classPxVehicleNoDrive.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleNoDrive</a>) &amp; 15));
+<a name="l00211"></a>00211
+<a name="l00212"></a>00212 <span class="preprocessor">#if !PX_DOXYGEN</span>
+<a name="l00213"></a>00213 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span>
+<a name="l00214"></a>00214 <span class="preprocessor">#endif</span>
+<a name="l00215"></a>00215 <span class="preprocessor"></span>
+<a name="l00217"></a>00217 <span class="preprocessor">#endif //PX_VEHICLE_NO_DRIVE_H</span>
+</pre></div></div>
+
+<hr style="width: 100%; height: 2px;"><br>
+Copyright &copy; 2008-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
+</body>
+</html>