PxVehicleDifferentialNWData Class Reference
[Vehicle]

#include <PxVehicleComponents.h>

List of all members.

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


Constructor & Destructor Documentation

PxVehicleDifferentialNWData::PxVehicleDifferentialNWData (  )  [inline]

References PX_MAX_NB_WHEELS, and PxMemSet().

PxVehicleDifferentialNWData::PxVehicleDifferentialNWData ( const   PxEMPTY  )  [inline]


Member Function Documentation

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.

Note:
The available drive torque will be split equally between all driven wheels. Zero torque will be applied to non-driven wheels. The default state of each wheel is to be uncoupled to the differential.

void PxVehicleDifferentialNWData::setDrivenWheelStatus ( PxU32  status  ) 


Friends And Related Function Documentation

friend class PxVehicleDriveSimDataNW [friend]

friend class PxVehicleUpdate [friend]


Member Data Documentation

PxU32 PxVehicleDifferentialNWData::mBitmapBuffer[((PX_MAX_NB_WHEELS+31)&~31) >> 5] [private]


The documentation for this class was generated from the following file:


Copyright © 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com