PxVehicleGearsData Class Reference
[Vehicle]
#include <PxVehicleComponents.h>
Public Types | |
enum | { eREVERSE = 0, eNEUTRAL, eFIRST, eSECOND, eTHIRD, eFOURTH, eFIFTH, eSIXTH, eSEVENTH, eEIGHTH, eNINTH, eTENTH, eELEVENTH, eTWELFTH, eTHIRTEENTH, eFOURTEENTH, eFIFTEENTH, eSIXTEENTH, eSEVENTEENTH, eEIGHTEENTH, eNINETEENTH, eTWENTIETH, eTWENTYFIRST, eTWENTYSECOND, eTWENTYTHIRD, eTWENTYFOURTH, eTWENTYFIFTH, eTWENTYSIXTH, eTWENTYSEVENTH, eTWENTYEIGHTH, eTWENTYNINTH, eTHIRTIETH, eMAX_NUM_GEAR_RATIOS } |
Public Member Functions | |
PxVehicleGearsData () | |
Public Attributes | |
PxReal | mRatios [eMAX_NUM_GEAR_RATIOS] |
Gear ratios Range: (0,inf) . | |
PxReal | mFinalRatio |
Gear ratio applied is mRatios[currentGear]*finalRatio Range: (0,inf) . | |
PxU32 | mNumRatios |
Number of gears (including reverse and neutral). Range: (0,MAX_NUM_GEAR_RATIOS) . | |
PxReal | mSwitchTime |
Time it takes to switch gear, specified in s. Range: (0,MAX_NUM_GEAR_RATIOS) . | |
Private Member Functions | |
bool | isValid () const |
Private Attributes | |
PxReal | mPad |
Friends | |
class | PxVehicleDriveSimData |
Member Enumeration Documentation
anonymous enum |
- Enumerator:
Constructor & Destructor Documentation
PxVehicleGearsData::PxVehicleGearsData | ( | ) | [inline] |
Member Function Documentation
bool PxVehicleGearsData::isValid | ( | ) | const [private] |
Friends And Related Function Documentation
friend class PxVehicleDriveSimData [friend] |
Member Data Documentation
Gear ratio applied is mRatios[currentGear]*finalRatio Range: (0,inf)
.
Number of gears (including reverse and neutral). Range: (0,MAX_NUM_GEAR_RATIOS)
.
PxReal PxVehicleGearsData::mPad [private] |
PxReal PxVehicleGearsData::mRatios[eMAX_NUM_GEAR_RATIOS] |
Gear ratios Range: (0,inf)
.
Time it takes to switch gear, specified in s. Range: (0,MAX_NUM_GEAR_RATIOS)
.
The documentation for this class was generated from the following file:
Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com