aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/classPxVehicleDrive4W.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/classPxVehicleDrive4W.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/classPxVehicleDrive4W.html')
-rw-r--r--PhysX_3.4/Documentation/PhysXAPI/files/classPxVehicleDrive4W.html524
1 files changed, 524 insertions, 0 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/classPxVehicleDrive4W.html b/PhysX_3.4/Documentation/PhysXAPI/files/classPxVehicleDrive4W.html
new file mode 100644
index 00000000..4b45d39d
--- /dev/null
+++ b/PhysX_3.4/Documentation/PhysXAPI/files/classPxVehicleDrive4W.html
@@ -0,0 +1,524 @@
+<html>
+ <head>
+ <title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxVehicleDrive4W Class Reference</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 -->
+<div class="contents">
+<h1>PxVehicleDrive4W Class Reference<br>
+<small>
+[<a class="el" href="group__vehicle.html">Vehicle</a>]</small>
+</h1><!-- doxytag: class="PxVehicleDrive4W" --><!-- doxytag: inherits="PxVehicleDrive" -->Data structure with instanced dynamics data and configuration data of a vehicle with up to 4 driven wheels and up to 16 non-driven wheels.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="PxVehicleDrive4W_8h-source.html">PxVehicleDrive4W.h</a>&gt;</code>
+<p>
+<div class="dynheader">
+Inheritance diagram for PxVehicleDrive4W:</div>
+<div class="dynsection">
+<p><center><img src="classPxVehicleDrive4W__inherit__graph.png" border="0" usemap="#PxVehicleDrive4W__inherit__map" alt="Inheritance graph"></center>
+<map name="PxVehicleDrive4W__inherit__map">
+<area shape="rect" href="classPxVehicleDrive.html" title="A complete vehicle with instance dynamics data and configuration data for wheels..." alt="PxVehicleDrive" coords="17,155,113,176"><area shape="rect" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with..." alt="PxVehicleWheels" coords="9,86,121,107"><area shape="rect" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection." alt="PxBase" coords="37,16,93,38"></map>
+<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
+<div class="dynheader">
+Collaboration diagram for PxVehicleDrive4W:</div>
+<div class="dynsection">
+<p><center><img src="classPxVehicleDrive4W__coll__graph.png" border="0" usemap="#PxVehicleDrive4W__coll__map" alt="Collaboration graph"></center>
+<map name="PxVehicleDrive4W__coll__map">
+<area shape="rect" href="classPxVehicleDrive.html" title="A complete vehicle with instance dynamics data and configuration data for wheels..." alt="PxVehicleDrive" coords="2183,240,2279,261"><area shape="rect" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with..." alt="PxVehicleWheels" coords="1788,140,1900,161"><area shape="rect" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection." alt="PxBase" coords="389,37,445,59"><area shape="rect" href="classPxActor.html" title="PxActor is the base class for the main simulation objects in the physics SDK." alt="PxActor" coords="497,63,551,84"><area shape="rect" href="classPxFlags.html" title="PxFlags\&lt; PxBaseFlag::Enum, PxU16 \&gt;" alt="PxFlags\&lt; PxBaseFlag::Enum, PxU16 \&gt;" coords="17,37,255,59"><area shape="rect" href="classPxVehicleWheelsSimData.html" title="Data structure describing configuration data of a vehicle with up to 20 wheels." alt="PxVehicleWheelsSimData" coords="1407,140,1569,161"><area shape="rect" href="classPxVehicleTireLoadFilterData.html" title="Tire load variation can be strongly dependent on the time-step so it is a good idea..." alt="PxVehicleTireLoadFilterData" coords="888,133,1061,155"><area shape="rect" href="classPxVehicleAntiRollBarData.html" title="PxVehicleAntiRollBarData" alt="PxVehicleAntiRollBarData" coords="896,203,1053,224"><area shape="rect" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK." alt="PxRigidDynamic" coords="1436,69,1540,91"><area shape="rect" href="classPxRigidBody.html" title="PxRigidBody is a base class shared between dynamic rigid body objects." alt="PxRigidBody" coords="932,65,1017,87"><area shape="rect" href="classPxRigidActor.html" title="PxRigidActor represents a base class shared between dynamic and static rigid bodies..." alt="PxRigidActor" coords="601,64,684,85"><area shape="rect" href="classPxVehicleWheelsDynData.html" title="Data structure with instanced dynamics data for wheels." alt="PxVehicleWheelsDynData" coords="1408,209,1568,231"><area shape="rect" href="classPxVehicleDriveDynData.html" title="Data structure with instanced dynamics data for vehicle with engine, clutch, gears..." alt="PxVehicleDriveDynData" coords="1771,240,1917,261"><area shape="rect" href="classPxVehicleDriveSimData4W.html" title="Data structure describing the drive model components of a vehicle with up to 4 driven..." alt="PxVehicleDriveSimData4W" coords="2148,388,2313,409"><area shape="rect" href="classPxVehicleDriveSimData.html" title="Data structure describing non-wheel configuration data of a vehicle that has engine..." alt="PxVehicleDriveSimData" coords="1771,348,1917,369"><area shape="rect" href="classPxVehicleGearsData.html" title="PxVehicleGearsData" alt="PxVehicleGearsData" coords="1423,279,1553,300"><area shape="rect" href="classPxVehicleClutchData.html" title="PxVehicleClutchData" alt="PxVehicleClutchData" coords="1424,348,1552,369"><area shape="rect" href="classPxVehicleEngineData.html" title="PxVehicleEngineData" alt="PxVehicleEngineData" coords="1420,417,1556,439"><area shape="rect" href="classPxFixedSizeLookupTable.html" title="PxFixedSizeLookupTable\&lt; eMAX_NB_ENGINE_TORQUE_CURVE_ENTRIES \&gt;" alt="PxFixedSizeLookupTable\&lt; eMAX_NB_ENGINE_TORQUE_CURVE_ENTRIES \&gt;" coords="735,417,1215,439"><area shape="rect" href="classPxVehicleAutoBoxData.html" title="PxVehicleAutoBoxData" alt="PxVehicleAutoBoxData" coords="1417,487,1559,508"><area shape="rect" href="classPxVehicleDifferential4WData.html" title="PxVehicleDifferential4WData" alt="PxVehicleDifferential4WData" coords="1757,400,1931,421"><area shape="rect" href="classPxVehicleAckermannGeometryData.html" title="PxVehicleAckermannGeometryData" alt="PxVehicleAckermannGeometryData" coords="1736,469,1952,491"></map>
+<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
+
+<p>
+<a href="classPxVehicleDrive4W-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
+<tr><td></td></tr>
+<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#86d1716ae72d4c0627d531fcb3f93310">free</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deallocate a <a class="el" href="classPxVehicleDrive4W.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleDrive4W</a> instance. <a href="#86d1716ae72d4c0627d531fcb3f93310"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#d6740fedd4d8d026f8750e7bd601b76a">setup</a> (<a class="el" href="classPxPhysics.html">PxPhysics</a> *physics, <a class="el" href="classPxRigidDynamic.html">PxRigidDynamic</a> *vehActor, const <a class="el" href="classPxVehicleWheelsSimData.html">PxVehicleWheelsSimData</a> &amp;wheelsData, const <a class="el" href="classPxVehicleDriveSimData4W.html">PxVehicleDriveSimData4W</a> &amp;driveData, const <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> nbNonDrivenWheels)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set up a vehicle using simulation data for the wheels and drive model. <a href="#d6740fedd4d8d026f8750e7bd601b76a"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#37811fb8cf89260d45276a97b767acce">setToRestState</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set a vehicle to its rest state. Aside from the rigid body transform, this will set the vehicle and rigid body to the state they were in immediately after setup or create. <a href="#37811fb8cf89260d45276a97b767acce"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#6dc419ee085a03afbc970c2452a4b993">PxVehicleDrive4W</a> (<a class="el" href="classPxFlags.html">PxBaseFlags</a> baseFlags)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#f869349c277182e9c43078d19580dc81">getConcreteTypeName</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns string name of dynamic type. <a href="#f869349c277182e9c43078d19580dc81"></a><br></td></tr>
+<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#ff7cf39247ccaaa2c90ded69ae846a00">allocate</a> (const <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> nbWheels)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocate a <a class="el" href="classPxVehicleDrive4W.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleDrive4W</a> instance for a 4WDrive vehicle with nbWheels (= 4 + number of un-driven wheels). <a href="#ff7cf39247ccaaa2c90ded69ae846a00"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#7ca9f53d0050273bd2130e06cdb4ae1d">create</a> (<a class="el" href="classPxPhysics.html">PxPhysics</a> *physics, <a class="el" href="classPxRigidDynamic.html">PxRigidDynamic</a> *vehActor, const <a class="el" href="classPxVehicleWheelsSimData.html">PxVehicleWheelsSimData</a> &amp;wheelsData, const <a class="el" href="classPxVehicleDriveSimData4W.html">PxVehicleDriveSimData4W</a> &amp;driveData, const <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> nbNonDrivenWheels)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocate and set up a vehicle using simulation data for the wheels and drive model. <a href="#7ca9f53d0050273bd2130e06cdb4ae1d"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#bf68025192ea820d1e9b92c42f083173">createObject</a> (PxU8 *&amp;address, <a class="el" href="classPxDeserializationContext.html">PxDeserializationContext</a> &amp;context)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#2e380dc9ed111550b8919f3703137450">getBinaryMetaData</a> (<a class="el" href="classPxOutputStream.html">PxOutputStream</a> &amp;stream)</td></tr>
+
+<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPxVehicleDriveSimData4W.html">PxVehicleDriveSimData4W</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#a0f73e6c124110e08368311d1cfa623c">mDriveSimData</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Simulation data that describes the configuration of the vehicle's drive model. <a href="#a0f73e6c124110e08368311d1cfa623c"></a><br></td></tr>
+<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#c829d935d067980fd6cda927dbdb5a0f">PxVehicleDrive4W</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#a0e081490ed4399c07e7ff9e212ce81d">~PxVehicleDrive4W</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#312ca7d7afa7961e986347f5681e3144">isKindOf</a> (const char *name) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether a given type name matches with the type of this instance. <a href="#312ca7d7afa7961e986347f5681e3144"></a><br></td></tr>
+<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#891dba7a4efe6043cc75622585c207c9">isValid</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if the instanced dynamics and configuration data has legal values. <a href="#891dba7a4efe6043cc75622585c207c9"></a><br></td></tr>
+<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVehicleDrive4W.html#a960a335429c764ff7e258a0ec3ab5f0">PxVehicleUpdate</a></td></tr>
+
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Data structure with instanced dynamics data and configuration data of a vehicle with up to 4 driven wheels and up to 16 non-driven wheels. <hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="c829d935d067980fd6cda927dbdb5a0f"></a><!-- doxytag: member="PxVehicleDrive4W::PxVehicleDrive4W" ref="c829d935d067980fd6cda927dbdb5a0f" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">PxVehicleDrive4W::PxVehicleDrive4W </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [protected]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="a0e081490ed4399c07e7ff9e212ce81d"></a><!-- doxytag: member="PxVehicleDrive4W::~PxVehicleDrive4W" ref="a0e081490ed4399c07e7ff9e212ce81d" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">PxVehicleDrive4W::~PxVehicleDrive4W </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [inline, protected]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="6dc419ee085a03afbc970c2452a4b993"></a><!-- doxytag: member="PxVehicleDrive4W::PxVehicleDrive4W" ref="6dc419ee085a03afbc970c2452a4b993" args="(PxBaseFlags baseFlags)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">PxVehicleDrive4W::PxVehicleDrive4W </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classPxFlags.html">PxBaseFlags</a>&nbsp;</td>
+ <td class="paramname"> <em>baseFlags</em> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [inline]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="ff7cf39247ccaaa2c90ded69ae846a00"></a><!-- doxytag: member="PxVehicleDrive4W::allocate" ref="ff7cf39247ccaaa2c90ded69ae846a00" args="(const PxU32 nbWheels)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a>* PxVehicleDrive4W::allocate </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a>&nbsp;</td>
+ <td class="paramname"> <em>nbWheels</em> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [static]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Allocate a <a class="el" href="classPxVehicleDrive4W.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleDrive4W</a> instance for a 4WDrive vehicle with nbWheels (= 4 + number of un-driven wheels).
+<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>nbWheels</em>&nbsp;</td><td>is the number of vehicle wheels (= 4 + number of un-driven wheels)</td></tr>
+ </table>
+</dl>
+<dl class="return" compact><dt><b>Returns:</b></dt><dd>The instantiated vehicle.</dd></dl>
+<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxVehicleDrive4W.html#86d1716ae72d4c0627d531fcb3f93310" title="Deallocate a PxVehicleDrive4W instance.">free</a>, <a class="el" href="classPxVehicleDrive4W.html#d6740fedd4d8d026f8750e7bd601b76a" title="Set up a vehicle using simulation data for the wheels and drive model.">setup</a> </dd></dl>
+
+</div>
+</div><p>
+<a class="anchor" name="7ca9f53d0050273bd2130e06cdb4ae1d"></a><!-- doxytag: member="PxVehicleDrive4W::create" ref="7ca9f53d0050273bd2130e06cdb4ae1d" args="(PxPhysics *physics, PxRigidDynamic *vehActor, const PxVehicleWheelsSimData &amp;wheelsData, const PxVehicleDriveSimData4W &amp;driveData, const PxU32 nbNonDrivenWheels)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a>* PxVehicleDrive4W::create </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classPxPhysics.html">PxPhysics</a> *&nbsp;</td>
+ <td class="paramname"> <em>physics</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classPxRigidDynamic.html">PxRigidDynamic</a> *&nbsp;</td>
+ <td class="paramname"> <em>vehActor</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="classPxVehicleWheelsSimData.html">PxVehicleWheelsSimData</a> &amp;&nbsp;</td>
+ <td class="paramname"> <em>wheelsData</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="classPxVehicleDriveSimData4W.html">PxVehicleDriveSimData4W</a> &amp;&nbsp;</td>
+ <td class="paramname"> <em>driveData</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a>&nbsp;</td>
+ <td class="paramname"> <em>nbNonDrivenWheels</em></td><td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td><code> [static]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Allocate and set up a vehicle using simulation data for the wheels and drive model.
+<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>physics</em>&nbsp;</td><td>is a <a class="el" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK.">PxPhysics</a> instance that is needed to create special vehicle constraints that are maintained by the vehicle. </td></tr>
+ <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>vehActor</em>&nbsp;</td><td>is a <a class="el" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.">PxRigidDynamic</a> instance that is used to represent the vehicle in the PhysX SDK. </td></tr>
+ <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>wheelsData</em>&nbsp;</td><td>describes the configuration of all suspension/tires/wheels of the vehicle. The vehicle instance takes a copy of this data. </td></tr>
+ <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>driveData</em>&nbsp;</td><td>describes the properties of the vehicle's drive model (gears/engine/clutch/differential/autobox). The vehicle instance takes a copy of this data. </td></tr>
+ <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>nbNonDrivenWheels</em>&nbsp;</td><td>is the number of wheels on the vehicle that cannot be connected to the differential (= numWheels - 4). </td></tr>
+ </table>
+</dl>
+<dl class="note" compact><dt><b>Note:</b></dt><dd>It is assumed that the first shapes of the actor are the wheel shapes, followed by the chassis shapes. To break this assumption use <a class="el" href="classPxVehicleWheelsSimData.html#07988e7e4bfd905ae1dd182ef3a1cab1" title="Set mapping between wheel id and position of corresponding wheel shape in the list...">PxVehicleWheelsSimData::setWheelShapeMapping</a>. <p>
+wheelsData must contain data for at least 4 wheels. Unwanted wheels can be disabled with <a class="el" href="classPxVehicleWheelsSimData.html#98eb5965f7c02a507ae7979cea8b54c0" title="Disable a wheel so that zero suspension forces and zero tire forces are applied to...">PxVehicleWheelsSimData::disableWheel</a> after calling setup. </dd></dl>
+<dl class="return" compact><dt><b>Returns:</b></dt><dd>The instantiated vehicle. </dd></dl>
+<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxVehicleDrive4W.html#ff7cf39247ccaaa2c90ded69ae846a00" title="Allocate a PxVehicleDrive4W instance for a 4WDrive vehicle with nbWheels (= 4 + number...">allocate</a>, <a class="el" href="classPxVehicleDrive4W.html#86d1716ae72d4c0627d531fcb3f93310" title="Deallocate a PxVehicleDrive4W instance.">free</a>, <a class="el" href="classPxVehicleDrive4W.html#37811fb8cf89260d45276a97b767acce" title="Set a vehicle to its rest state. Aside from the rigid body transform, this will set...">setToRestState</a>, <a class="el" href="classPxVehicleWheelsSimData.html#07988e7e4bfd905ae1dd182ef3a1cab1" title="Set mapping between wheel id and position of corresponding wheel shape in the list...">PxVehicleWheelsSimData::setWheelShapeMapping</a> </dd></dl>
+
+</div>
+</div><p>
+<a class="anchor" name="bf68025192ea820d1e9b92c42f083173"></a><!-- doxytag: member="PxVehicleDrive4W::createObject" ref="bf68025192ea820d1e9b92c42f083173" args="(PxU8 *&amp;address, PxDeserializationContext &amp;context)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="classPxVehicleDrive4W.html">PxVehicleDrive4W</a>* PxVehicleDrive4W::createObject </td>
+ <td>(</td>
+ <td class="paramtype">PxU8 *&amp;&nbsp;</td>
+ <td class="paramname"> <em>address</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classPxDeserializationContext.html">PxDeserializationContext</a> &amp;&nbsp;</td>
+ <td class="paramname"> <em>context</em></td><td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td><code> [static]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+</div>
+</div><p>
+<a class="anchor" name="86d1716ae72d4c0627d531fcb3f93310"></a><!-- doxytag: member="PxVehicleDrive4W::free" ref="86d1716ae72d4c0627d531fcb3f93310" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void PxVehicleDrive4W::free </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Deallocate a <a class="el" href="classPxVehicleDrive4W.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleDrive4W</a> instance.
+<p>
+<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxVehicleDrive4W.html#ff7cf39247ccaaa2c90ded69ae846a00" title="Allocate a PxVehicleDrive4W instance for a 4WDrive vehicle with nbWheels (= 4 + number...">allocate</a> </dd></dl>
+
+<p>Reimplemented from <a class="el" href="classPxVehicleDrive.html#2af80cf3e4d767f1710a8f2e244cb9d5">PxVehicleDrive</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="2e380dc9ed111550b8919f3703137450"></a><!-- doxytag: member="PxVehicleDrive4W::getBinaryMetaData" ref="2e380dc9ed111550b8919f3703137450" args="(PxOutputStream &amp;stream)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">static void PxVehicleDrive4W::getBinaryMetaData </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classPxOutputStream.html">PxOutputStream</a> &amp;&nbsp;</td>
+ <td class="paramname"> <em>stream</em> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td><code> [static]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+<p>Reimplemented from <a class="el" href="classPxVehicleDrive.html#470aa1489a7b10ac9a1c13ee0d374633">PxVehicleDrive</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="f869349c277182e9c43078d19580dc81"></a><!-- doxytag: member="PxVehicleDrive4W::getConcreteTypeName" ref="f869349c277182e9c43078d19580dc81" args="() const " -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">virtual const char* PxVehicleDrive4W::getConcreteTypeName </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td> const<code> [inline, virtual]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Returns string name of dynamic type.
+<p>
+<dl class="return" compact><dt><b>Returns:</b></dt><dd>Class name of most derived type of this object. </dd></dl>
+
+<p>Reimplemented from <a class="el" href="classPxVehicleDrive.html#17195d04ae142a150f66d4b8fdee87ed">PxVehicleDrive</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="312ca7d7afa7961e986347f5681e3144"></a><!-- doxytag: member="PxVehicleDrive4W::isKindOf" ref="312ca7d7afa7961e986347f5681e3144" args="(const char *name) const " -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">virtual bool PxVehicleDrive4W::isKindOf </td>
+ <td>(</td>
+ <td class="paramtype">const char *&nbsp;</td>
+ <td class="paramname"> <em>superClass</em> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td> const<code> [inline, protected, virtual]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Returns whether a given type name matches with the type of this instance.
+<p>
+
+<p>Reimplemented from <a class="el" href="classPxVehicleDrive.html#19c6167aadc9202fcb1bc59c376409c1">PxVehicleDrive</a>.</p>
+
+<p>References <a class="el" href="PxBase_8h-source.html#l00178">PxBase::isKindOf()</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="891dba7a4efe6043cc75622585c207c9"></a><!-- doxytag: member="PxVehicleDrive4W::isValid" ref="891dba7a4efe6043cc75622585c207c9" args="() const " -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool PxVehicleDrive4W::isValid </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td> const<code> [private]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Test if the instanced dynamics and configuration data has legal values.
+<p>
+
+<p>Reimplemented from <a class="el" href="classPxVehicleDrive.html#95ec8411c57f19eeac7bf0677f00c396">PxVehicleDrive</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="37811fb8cf89260d45276a97b767acce"></a><!-- doxytag: member="PxVehicleDrive4W::setToRestState" ref="37811fb8cf89260d45276a97b767acce" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void PxVehicleDrive4W::setToRestState </td>
+ <td>(</td>
+ <td class="paramname"> </td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Set a vehicle to its rest state. Aside from the rigid body transform, this will set the vehicle and rigid body to the state they were in immediately after setup or create.
+<p>
+<dl class="note" compact><dt><b>Note:</b></dt><dd>Calling setToRestState invalidates the cached raycast hit planes under each wheel meaning that suspension line raycasts need to be performed at least once with PxVehicleSuspensionRaycasts before calling PxVehicleUpdates. </dd></dl>
+<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxVehicleDrive4W.html#d6740fedd4d8d026f8750e7bd601b76a" title="Set up a vehicle using simulation data for the wheels and drive model.">setup</a>, <a class="el" href="classPxVehicleDrive4W.html#7ca9f53d0050273bd2130e06cdb4ae1d" title="Allocate and set up a vehicle using simulation data for the wheels and drive model...">create</a>, <a class="el" href="group__vehicle.html#g2020b9fcb5092e2a2d81e82ba7461dfd" title="Perform raycasts for all suspension lines for all vehicles.">PxVehicleSuspensionRaycasts</a>, <a class="el" href="group__vehicle.html#g47aff43683966ca9d1118a1bf4a1f5c2" title="Update an array of vehicles by either applying an acceleration to the rigid body...">PxVehicleUpdates</a> </dd></dl>
+
+<p>Reimplemented from <a class="el" href="classPxVehicleDrive.html#a5fdf730d2b90e2fdbd2dd34d2a01765">PxVehicleDrive</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="d6740fedd4d8d026f8750e7bd601b76a"></a><!-- doxytag: member="PxVehicleDrive4W::setup" ref="d6740fedd4d8d026f8750e7bd601b76a" args="(PxPhysics *physics, PxRigidDynamic *vehActor, const PxVehicleWheelsSimData &amp;wheelsData, const PxVehicleDriveSimData4W &amp;driveData, const PxU32 nbNonDrivenWheels)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void PxVehicleDrive4W::setup </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classPxPhysics.html">PxPhysics</a> *&nbsp;</td>
+ <td class="paramname"> <em>physics</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classPxRigidDynamic.html">PxRigidDynamic</a> *&nbsp;</td>
+ <td class="paramname"> <em>vehActor</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="classPxVehicleWheelsSimData.html">PxVehicleWheelsSimData</a> &amp;&nbsp;</td>
+ <td class="paramname"> <em>wheelsData</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="classPxVehicleDriveSimData4W.html">PxVehicleDriveSimData4W</a> &amp;&nbsp;</td>
+ <td class="paramname"> <em>driveData</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a>&nbsp;</td>
+ <td class="paramname"> <em>nbNonDrivenWheels</em></td><td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Set up a vehicle using simulation data for the wheels and drive model.
+<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>physics</em>&nbsp;</td><td>is a <a class="el" href="classPxPhysics.html" title="Abstract singleton factory class used for instancing objects in the Physics SDK.">PxPhysics</a> instance that is needed to create special vehicle constraints that are maintained by the vehicle. </td></tr>
+ <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>vehActor</em>&nbsp;</td><td>is a <a class="el" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.">PxRigidDynamic</a> instance that is used to represent the vehicle in the PhysX SDK. </td></tr>
+ <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>wheelsData</em>&nbsp;</td><td>describes the configuration of all suspension/tires/wheels of the vehicle. The vehicle instance takes a copy of this data. </td></tr>
+ <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>driveData</em>&nbsp;</td><td>describes the properties of the vehicle's drive model (gears/engine/clutch/differential/autobox). The vehicle instance takes a copy of this data. </td></tr>
+ <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>nbNonDrivenWheels</em>&nbsp;</td><td>is the number of wheels on the vehicle that cannot be connected to the differential (= numWheels - 4). </td></tr>
+ </table>
+</dl>
+<dl class="note" compact><dt><b>Note:</b></dt><dd>It is assumed that the first shapes of the actor are the wheel shapes, followed by the chassis shapes. To break this assumption use <a class="el" href="classPxVehicleWheelsSimData.html#07988e7e4bfd905ae1dd182ef3a1cab1" title="Set mapping between wheel id and position of corresponding wheel shape in the list...">PxVehicleWheelsSimData::setWheelShapeMapping</a>. <p>
+wheelsData must contain data for at least 4 wheels. Unwanted wheels can be disabled with <a class="el" href="classPxVehicleWheelsSimData.html#98eb5965f7c02a507ae7979cea8b54c0" title="Disable a wheel so that zero suspension forces and zero tire forces are applied to...">PxVehicleWheelsSimData::disableWheel</a> after calling setup. </dd></dl>
+<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxVehicleDrive4W.html#ff7cf39247ccaaa2c90ded69ae846a00" title="Allocate a PxVehicleDrive4W instance for a 4WDrive vehicle with nbWheels (= 4 + number...">allocate</a>, <a class="el" href="classPxVehicleDrive4W.html#86d1716ae72d4c0627d531fcb3f93310" title="Deallocate a PxVehicleDrive4W instance.">free</a>, <a class="el" href="classPxVehicleDrive4W.html#37811fb8cf89260d45276a97b767acce" title="Set a vehicle to its rest state. Aside from the rigid body transform, this will set...">setToRestState</a>, <a class="el" href="classPxVehicleWheelsSimData.html#07988e7e4bfd905ae1dd182ef3a1cab1" title="Set mapping between wheel id and position of corresponding wheel shape in the list...">PxVehicleWheelsSimData::setWheelShapeMapping</a> </dd></dl>
+
+</div>
+</div><p>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a class="anchor" name="a960a335429c764ff7e258a0ec3ab5f0"></a><!-- doxytag: member="PxVehicleDrive4W::PxVehicleUpdate" ref="a960a335429c764ff7e258a0ec3ab5f0" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">friend class PxVehicleUpdate<code> [friend]</code> </td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+<p>Reimplemented from <a class="el" href="classPxVehicleDrive.html#a960a335429c764ff7e258a0ec3ab5f0">PxVehicleDrive</a>.</p>
+
+</div>
+</div><p>
+<hr><h2>Member Data Documentation</h2>
+<a class="anchor" name="a0f73e6c124110e08368311d1cfa623c"></a><!-- doxytag: member="PxVehicleDrive4W::mDriveSimData" ref="a0f73e6c124110e08368311d1cfa623c" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classPxVehicleDriveSimData4W.html">PxVehicleDriveSimData4W</a> <a class="el" href="classPxVehicleDrive4W.html#a0f73e6c124110e08368311d1cfa623c">PxVehicleDrive4W::mDriveSimData</a> </td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+
+<p>
+Simulation data that describes the configuration of the vehicle's drive model.
+<p>
+<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxVehicleDrive4W.html#d6740fedd4d8d026f8750e7bd601b76a" title="Set up a vehicle using simulation data for the wheels and drive model.">setup</a>, <a class="el" href="classPxVehicleDrive4W.html#7ca9f53d0050273bd2130e06cdb4ae1d" title="Allocate and set up a vehicle using simulation data for the wheels and drive model...">create</a> </dd></dl>
+
+</div>
+</div><p>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="PxVehicleDrive4W_8h-source.html">PxVehicleDrive4W.h</a></ul>
+</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>