Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
PxVehicleDifferentialNWData Class Reference

#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. More...
 
bool getIsDrivenWheel (const PxU32 wheelId) const
 Test if a specific wheel has been configured as a driven or non-driven wheel. More...
 
 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
PxReal PxVehicleDifferentialNWData::mInvNbDrivenWheels
private
PxU32 PxVehicleDifferentialNWData::mNbDrivenWheels
private
PxU32 PxVehicleDifferentialNWData::mPad
private

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


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