#include <PxVehicleComponents.h>
Public Member Functions | |
PxVehicleDifferentialNWData () | |
void | setDrivenWheel (const PxU32 wheelId, const bool drivenState) |
Set a specific wheel to be driven or non-driven by the differential. | |
bool | getIsDrivenWheel (const PxU32 wheelId) const |
Test if a specific wheel has been configured as a driven or non-driven wheel. | |
PxVehicleDifferentialNWData (const PxEMPTY) | |
PxU32 | getDrivenWheelStatus () const |
void | setDrivenWheelStatus (PxU32 status) |
Private Member Functions | |
bool | isValid () const |
Private Attributes | |
PxU32 | mBitmapBuffer [((PX_MAX_NB_WHEELS+31)&~31) >> 5] |
PxU32 | mNbDrivenWheels |
PxReal | mInvNbDrivenWheels |
PxU32 | mPad |
Friends | |
class | PxVehicleDriveSimDataNW |
class | PxVehicleUpdate |
PxVehicleDifferentialNWData::PxVehicleDifferentialNWData | ( | ) | [inline] |
References PX_MAX_NB_WHEELS, and PxMemSet().
PxVehicleDifferentialNWData::PxVehicleDifferentialNWData | ( | const | PxEMPTY | ) | [inline] |
PxU32 PxVehicleDifferentialNWData::getDrivenWheelStatus | ( | ) | const |
bool PxVehicleDifferentialNWData::getIsDrivenWheel | ( | const PxU32 | wheelId | ) | const |
Test if a specific wheel has been configured as a driven or non-driven wheel.
bool PxVehicleDifferentialNWData::isValid | ( | ) | const [private] |
void PxVehicleDifferentialNWData::setDrivenWheel | ( | const PxU32 | wheelId, | |
const bool | drivenState | |||
) |
Set a specific wheel to be driven or non-driven by the differential.
void PxVehicleDifferentialNWData::setDrivenWheelStatus | ( | PxU32 | status | ) |
friend class PxVehicleDriveSimDataNW [friend] |
friend class PxVehicleUpdate [friend] |
PxU32 PxVehicleDifferentialNWData::mBitmapBuffer[((PX_MAX_NB_WHEELS+31)&~31) >> 5] [private] |
PxReal PxVehicleDifferentialNWData::mInvNbDrivenWheels [private] |
PxU32 PxVehicleDifferentialNWData::mPad [private] |