diff options
| author | git perforce import user <a@b> | 2016-10-25 12:29:14 -0600 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <Sheikh Dawood Abdul Ajees> | 2016-10-25 18:56:37 -0500 |
| commit | 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 (patch) | |
| tree | fa6485c169e50d7415a651bf838f5bcd0fd3bfbd /PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleUtilTelemetry_8h-source.html | |
| download | physx-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/PxVehicleUtilTelemetry_8h-source.html')
| -rw-r--r-- | PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleUtilTelemetry_8h-source.html | 313 |
1 files changed, 313 insertions, 0 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleUtilTelemetry_8h-source.html b/PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleUtilTelemetry_8h-source.html new file mode 100644 index 00000000..77405932 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleUtilTelemetry_8h-source.html @@ -0,0 +1,313 @@ +<html> + <head> + <title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxVehicleUtilTelemetry.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>PxVehicleUtilTelemetry.h</h1><a href="PxVehicleUtilTelemetry_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_UTILSTELEMETRY_H</span> +<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define PX_VEHICLE_UTILSTELEMETRY_H</span> +<a name="l00032"></a>00032 <span class="preprocessor"></span> +<a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="PxVehicleSDK_8h.html">vehicle/PxVehicleSDK.h</a>"</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="PxVec3_8h.html">foundation/PxVec3.h</a>"</span> +<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="preprocessor">#if PX_DEBUG_VEHICLE_ON</span> +<a name="l00046"></a>00046 <span class="preprocessor"></span> +<a name="l00047"></a>00047 <span class="keyword">class </span>PxVehicleGraphDesc +<a name="l00048"></a>00048 { +<a name="l00049"></a>00049 +<a name="l00050"></a>00050 <span class="keyword">friend</span> <span class="keyword">class </span>PxVehicleGraph; +<a name="l00051"></a>00051 +<a name="l00052"></a>00052 PxVehicleGraphDesc(); +<a name="l00053"></a>00053 +<a name="l00058"></a>00058 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mPosX; +<a name="l00059"></a>00059 +<a name="l00064"></a>00064 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mPosY; +<a name="l00065"></a>00065 +<a name="l00070"></a>00070 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mSizeX; +<a name="l00071"></a>00071 +<a name="l00076"></a>00076 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mSizeY; +<a name="l00077"></a>00077 +<a name="l00081"></a>00081 <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> mBackgroundColor; +<a name="l00082"></a>00082 +<a name="l00086"></a>00086 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mAlpha; +<a name="l00087"></a>00087 +<a name="l00088"></a>00088 <span class="keyword">private</span>: +<a name="l00089"></a>00089 +<a name="l00090"></a>00090 <span class="keywordtype">bool</span> isValid() <span class="keyword">const</span>; +<a name="l00091"></a>00091 }; +<a name="l00092"></a>00092 +<a name="l00093"></a>00093 <span class="keyword">struct </span>PxVehicleGraphChannelDesc +<a name="l00094"></a>00094 { +<a name="l00095"></a>00095 <span class="keyword">public</span>: +<a name="l00096"></a>00096 +<a name="l00097"></a>00097 <span class="keyword">friend</span> <span class="keyword">class </span>PxVehicleGraph; +<a name="l00098"></a>00098 +<a name="l00099"></a>00099 PxVehicleGraphChannelDesc(); +<a name="l00100"></a>00100 +<a name="l00104"></a>00104 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mMinY; +<a name="l00105"></a>00105 +<a name="l00109"></a>00109 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mMaxY; +<a name="l00110"></a>00110 +<a name="l00115"></a>00115 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mMidY; +<a name="l00116"></a>00116 +<a name="l00120"></a>00120 <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> mColorLow; +<a name="l00121"></a>00121 +<a name="l00125"></a>00125 <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> mColorHigh; +<a name="l00126"></a>00126 +<a name="l00130"></a>00130 <span class="keywordtype">char</span>* mTitle; +<a name="l00131"></a>00131 +<a name="l00132"></a>00132 <span class="keyword">private</span>: +<a name="l00133"></a>00133 +<a name="l00134"></a>00134 <span class="keywordtype">bool</span> isValid() <span class="keyword">const</span>; +<a name="l00135"></a>00135 }; +<a name="l00136"></a>00136 +<a name="l00137"></a>00137 <span class="keyword">struct </span>PxVehicleWheelGraphChannel +<a name="l00138"></a>00138 { +<a name="l00139"></a>00139 <span class="keyword">enum</span> Enum +<a name="l00140"></a>00140 { +<a name="l00141"></a>00141 eJOUNCE=0, +<a name="l00142"></a>00142 eSUSPFORCE, +<a name="l00143"></a>00143 eTIRELOAD, +<a name="l00144"></a>00144 eNORMALIZED_TIRELOAD, +<a name="l00145"></a>00145 eWHEEL_OMEGA, +<a name="l00146"></a>00146 eTIRE_FRICTION, +<a name="l00147"></a>00147 eTIRE_LONG_SLIP, +<a name="l00148"></a>00148 eNORM_TIRE_LONG_FORCE, +<a name="l00149"></a>00149 eTIRE_LAT_SLIP, +<a name="l00150"></a>00150 eNORM_TIRE_LAT_FORCE, +<a name="l00151"></a>00151 eNORM_TIRE_ALIGNING_MOMENT, +<a name="l00152"></a>00152 eMAX_NB_WHEEL_CHANNELS +<a name="l00153"></a>00153 }; +<a name="l00154"></a>00154 }; +<a name="l00155"></a>00155 +<a name="l00156"></a>00156 <span class="keyword">struct </span>PxVehicleDriveGraphChannel +<a name="l00157"></a>00157 { +<a name="l00158"></a>00158 <span class="keyword">enum</span> Enum +<a name="l00159"></a>00159 { +<a name="l00160"></a>00160 eENGINE_REVS=0, +<a name="l00161"></a>00161 eENGINE_DRIVE_TORQUE, +<a name="l00162"></a>00162 eCLUTCH_SLIP, +<a name="l00163"></a>00163 eACCEL_CONTROL, <span class="comment">//TANK_ACCEL</span> +<a name="l00164"></a>00164 eBRAKE_CONTROL, <span class="comment">//TANK_BRAKE_LEFT</span> +<a name="l00165"></a>00165 eHANDBRAKE_CONTROL, <span class="comment">//TANK_BRAKE_RIGHT</span> +<a name="l00166"></a>00166 eSTEER_LEFT_CONTROL, <span class="comment">//TANK_THRUST_LEFT</span> +<a name="l00167"></a>00167 eSTEER_RIGHT_CONTROL, <span class="comment">//TANK_THRUST_RIGHT</span> +<a name="l00168"></a>00168 eGEAR_RATIO, +<a name="l00169"></a>00169 eMAX_NB_DRIVE_CHANNELS +<a name="l00170"></a>00170 }; +<a name="l00171"></a>00171 }; +<a name="l00172"></a>00172 +<a name="l00173"></a>00173 <span class="keyword">struct </span>PxVehicleGraphType +<a name="l00174"></a>00174 { +<a name="l00175"></a>00175 <span class="keyword">enum</span> Enum +<a name="l00176"></a>00176 { +<a name="l00177"></a>00177 eWHEEL=0, +<a name="l00178"></a>00178 eDRIVE +<a name="l00179"></a>00179 }; +<a name="l00180"></a>00180 }; +<a name="l00181"></a>00181 +<a name="l00182"></a>00182 +<a name="l00183"></a>00183 <span class="keyword">class </span>PxVehicleGraph +<a name="l00184"></a>00184 { +<a name="l00185"></a>00185 <span class="keyword">public</span>: +<a name="l00186"></a>00186 +<a name="l00187"></a>00187 <span class="keyword">friend</span> <span class="keyword">class </span>PxVehicleTelemetryData; +<a name="l00188"></a>00188 <span class="keyword">friend</span> <span class="keyword">class </span>PxVehicleUpdate; +<a name="l00189"></a>00189 +<a name="l00190"></a>00190 <span class="keyword">enum</span> +<a name="l00191"></a>00191 { +<a name="l00192"></a>00192 eMAX_NB_SAMPLES=256 +<a name="l00193"></a>00193 }; +<a name="l00194"></a>00194 +<a name="l00195"></a>00195 <span class="keyword">enum</span> +<a name="l00196"></a>00196 { +<a name="l00197"></a>00197 eMAX_NB_TITLE_CHARS=256 +<a name="l00198"></a>00198 }; +<a name="l00199"></a>00199 +<a name="l00200"></a>00200 <span class="keyword">enum</span> +<a name="l00201"></a>00201 { +<a name="l00202"></a>00202 eMAX_NB_CHANNELS=12 +<a name="l00203"></a>00203 }; +<a name="l00204"></a>00204 +<a name="l00208"></a>00208 <span class="keywordtype">void</span> setup(<span class="keyword">const</span> PxVehicleGraphDesc& desc, <span class="keyword">const</span> PxVehicleGraphType::Enum graphType); +<a name="l00209"></a>00209 +<a name="l00213"></a>00213 <span class="keywordtype">void</span> clearRecordedChannelData(); +<a name="l00214"></a>00214 +<a name="l00218"></a>00218 <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& getBackgroundColor()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mBackgroundColor;} +<a name="l00219"></a>00219 +<a name="l00223"></a>00223 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getBackgroundAlpha()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mBackgroundAlpha;} +<a name="l00224"></a>00224 +<a name="l00233"></a>00233 <span class="keywordtype">void</span> getBackgroundCoords(<a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>& xMin, <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>& yMin, <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>& xMax, <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>& yMax)<span class="keyword"> const </span>{xMin = mBackgroundMinX;xMax = mBackgroundMaxX;yMin = mBackgroundMinY;yMax = mBackgroundMaxY;} +<a name="l00234"></a>00234 +<a name="l00242"></a>00242 <span class="keywordtype">void</span> computeGraphChannel(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> channel, <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>* xy, <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>* colors, <span class="keywordtype">char</span>* title) <span class="keyword">const</span>; +<a name="l00243"></a>00243 +<a name="l00247"></a>00247 <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> getLatestValue(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> channel) <span class="keyword">const</span> ; +<a name="l00248"></a>00248 +<a name="l00249"></a>00249 <span class="keyword">private</span>: +<a name="l00250"></a>00250 +<a name="l00251"></a>00251 <span class="comment">//Min and max of each sample.</span> +<a name="l00252"></a>00252 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mChannelMinY[eMAX_NB_CHANNELS]; +<a name="l00253"></a>00253 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mChannelMaxY[eMAX_NB_CHANNELS]; +<a name="l00254"></a>00254 <span class="comment">//Discriminate between high and low values with different colors.</span> +<a name="l00255"></a>00255 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mChannelMidY[eMAX_NB_CHANNELS]; +<a name="l00256"></a>00256 <span class="comment">//Different colors for values than midY and less than midY.</span> +<a name="l00257"></a>00257 <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> mChannelColorLow[eMAX_NB_CHANNELS]; +<a name="l00258"></a>00258 <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> mChannelColorHigh[eMAX_NB_CHANNELS]; +<a name="l00259"></a>00259 <span class="comment">//Title of graph</span> +<a name="l00260"></a>00260 <span class="keywordtype">char</span> mChannelTitle[eMAX_NB_CHANNELS][eMAX_NB_TITLE_CHARS]; +<a name="l00261"></a>00261 <span class="comment">//Graph data.</span> +<a name="l00262"></a>00262 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mChannelSamples[eMAX_NB_CHANNELS][eMAX_NB_SAMPLES]; +<a name="l00263"></a>00263 +<a name="l00264"></a>00264 <span class="comment">//Background color,alpha,coords</span> +<a name="l00265"></a>00265 <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> mBackgroundColor; +<a name="l00266"></a>00266 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mBackgroundAlpha; +<a name="l00267"></a>00267 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mBackgroundMinX; +<a name="l00268"></a>00268 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mBackgroundMaxX; +<a name="l00269"></a>00269 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mBackgroundMinY; +<a name="l00270"></a>00270 <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> mBackgroundMaxY; +<a name="l00271"></a>00271 +<a name="l00272"></a>00272 <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mSampleTide; +<a name="l00273"></a>00273 +<a name="l00274"></a>00274 <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mNbChannels; +<a name="l00275"></a>00275 +<a name="l00276"></a>00276 <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mPad[2]; +<a name="l00277"></a>00277 +<a name="l00278"></a>00278 +<a name="l00279"></a>00279 <span class="keywordtype">void</span> setup +<a name="l00280"></a>00280 (<span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> graphSizeX, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> graphSizeY, +<a name="l00281"></a>00281 <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> engineGraphPosX, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> engineGraphPosY, +<a name="l00282"></a>00282 <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a>* <span class="keyword">const</span> wheelGraphPosX, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a>* <span class="keyword">const</span> wheelGraphPosY, +<a name="l00283"></a>00283 <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& backgroundColor, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& lineColorHigh, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& lineColorLow); +<a name="l00284"></a>00284 +<a name="l00285"></a>00285 <span class="keywordtype">void</span> updateTimeSlice(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>* <span class="keyword">const</span> samples); +<a name="l00286"></a>00286 +<a name="l00287"></a>00287 <span class="keywordtype">void</span> setChannel(PxVehicleGraphChannelDesc& desc, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> channel); +<a name="l00288"></a>00288 +<a name="l00289"></a>00289 <span class="keywordtype">void</span> setupEngineGraph +<a name="l00290"></a>00290 (<span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> sizeX, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> sizeY, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> posX, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> posY, +<a name="l00291"></a>00291 <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& backgoundColor, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& lineColorHigh, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& lineColorLow); +<a name="l00292"></a>00292 +<a name="l00293"></a>00293 <span class="keywordtype">void</span> setupWheelGraph +<a name="l00294"></a>00294 (<span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> sizeX, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> sizeY, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> posX, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> posY, +<a name="l00295"></a>00295 <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& backgoundColor, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& lineColorHigh, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& lineColorLow); +<a name="l00296"></a>00296 +<a name="l00297"></a>00297 PxVehicleGraph(); +<a name="l00298"></a>00298 ~PxVehicleGraph(); +<a name="l00299"></a>00299 }; +<a name="l00300"></a>00300 <a class="code" href="group__foundation.html#gb12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a>(<a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>(PxVehicleGraph::eMAX_NB_CHANNELS) >= <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>(PxVehicleWheelGraphChannel::eMAX_NB_WHEEL_CHANNELS) && <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>(PxVehicleGraph::eMAX_NB_CHANNELS) >= <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>(PxVehicleDriveGraphChannel::eMAX_NB_DRIVE_CHANNELS)); +<a name="l00301"></a>00301 <a class="code" href="group__foundation.html#gb12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a>(0==(<span class="keyword">sizeof</span>(PxVehicleGraph) & 15)); +<a name="l00302"></a>00302 +<a name="l00303"></a>00303 <span class="keyword">class </span>PxVehicleTelemetryData +<a name="l00304"></a>00304 { +<a name="l00305"></a>00305 <span class="keyword">public</span>: +<a name="l00306"></a>00306 +<a name="l00307"></a>00307 <span class="keyword">friend</span> <span class="keyword">class </span>PxVehicleUpdate; +<a name="l00308"></a>00308 +<a name="l00313"></a>00313 <span class="keyword">static</span> PxVehicleTelemetryData* allocate(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbWheels); +<a name="l00314"></a>00314 +<a name="l00319"></a>00319 <span class="keywordtype">void</span> free(); +<a name="l00320"></a>00320 +<a name="l00324"></a>00324 <span class="keywordtype">void</span> setup +<a name="l00325"></a>00325 (<span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> graphSizeX, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> graphSizeY, +<a name="l00326"></a>00326 <span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> engineGraphPosX, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> engineGraphPosY, +<a name="l00327"></a>00327 <span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>* <span class="keyword">const</span> wheelGraphPosX, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a>* <span class="keyword">const</span> wheelGraphPosY, +<a name="l00328"></a>00328 <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& backGroundColor, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& lineColorHigh, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>& lineColorLow); +<a name="l00329"></a>00329 +<a name="l00333"></a>00333 <span class="keywordtype">void</span> clear(); +<a name="l00334"></a>00334 +<a name="l00338"></a>00338 <span class="keyword">const</span> PxVehicleGraph& getEngineGraph()<span class="keyword"> const </span>{<span class="keywordflow">return</span> *mEngineGraph;} +<a name="l00339"></a>00339 +<a name="l00343"></a>00343 <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getNbWheelGraphs()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mNbActiveWheels;} +<a name="l00344"></a>00344 +<a name="l00348"></a>00348 <span class="keyword">const</span> PxVehicleGraph& getWheelGraph(<span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> k)<span class="keyword"> const </span>{<span class="keywordflow">return</span> mWheelGraphs[k];} +<a name="l00349"></a>00349 +<a name="l00353"></a>00353 <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>* getTireforceAppPoints()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mTireforceAppPoints;} +<a name="l00354"></a>00354 +<a name="l00358"></a>00358 <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>* getSuspforceAppPoints()<span class="keyword"> const </span>{<span class="keywordflow">return</span> mSuspforceAppPoints;} +<a name="l00359"></a>00359 +<a name="l00360"></a>00360 <span class="keyword">private</span>: +<a name="l00361"></a>00361 +<a name="l00367"></a>00367 PxVehicleGraph* mEngineGraph; +<a name="l00368"></a>00368 +<a name="l00374"></a>00374 PxVehicleGraph* mWheelGraphs; +<a name="l00375"></a>00375 +<a name="l00379"></a>00379 <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>* mTireforceAppPoints; +<a name="l00380"></a>00380 +<a name="l00384"></a>00384 <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>* mSuspforceAppPoints; +<a name="l00385"></a>00385 +<a name="l00389"></a>00389 <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mNbActiveWheels; +<a name="l00390"></a>00390 +<a name="l00391"></a>00391 <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> mPad[3]; +<a name="l00392"></a>00392 +<a name="l00393"></a>00393 <span class="keyword">private</span>: +<a name="l00394"></a>00394 +<a name="l00395"></a>00395 PxVehicleTelemetryData(){} +<a name="l00396"></a>00396 ~PxVehicleTelemetryData(){} +<a name="l00397"></a>00397 }; +<a name="l00398"></a>00398 +<a name="l00399"></a>00399 <a class="code" href="group__foundation.html#gb12cc8cbd08c9c19ab0d40b7f789012e">PX_COMPILE_TIME_ASSERT</a>(0==(<span class="keyword">sizeof</span>(PxVehicleTelemetryData) & 15)); +<a name="l00400"></a>00400 +<a name="l00401"></a>00401 <span class="preprocessor">#endif //PX_DEBUG_VEHICLE_ON</span> +<a name="l00402"></a>00402 <span class="preprocessor"></span> +<a name="l00403"></a>00403 <span class="comment">//#endif // PX_DEBUG_VEHICLE_ON</span> +<a name="l00404"></a>00404 +<a name="l00405"></a>00405 <span class="preprocessor">#if !PX_DOXYGEN</span> +<a name="l00406"></a>00406 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span> +<a name="l00407"></a>00407 <span class="preprocessor">#endif</span> +<a name="l00408"></a>00408 <span class="preprocessor"></span> +<a name="l00410"></a>00410 <span class="preprocessor">#endif //PX_VEHICLE_UTILSTELEMETRY_H</span> +</pre></div></div> + +<hr style="width: 100%; height: 2px;"><br> +Copyright © 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> |