NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxVehicleDriveSimData4W Class Reference

NVIDIA PhysX API

PxVehicleDriveSimData4W Class Reference
[Vehicle]

Data structure describing the drive model components of a vehicle with up to 4 driven wheels and up to 16 un-driven wheels. The drive model incorporates engine, clutch, gears, autobox, differential, and Ackermann steer correction. More...

#include <PxVehicleDrive4W.h>

Inheritance diagram for PxVehicleDriveSimData4W:
Collaboration diagram for PxVehicleDriveSimData4W:

List of all members.


Public Member Functions

 PxVehicleDriveSimData4W ()
PX_FORCE_INLINE const
PxVehicleDifferential4WData
getDiffData () const
 Return the data describing the differential.
PX_FORCE_INLINE const
PxVehicleAckermannGeometryData
getAckermannGeometryData () const
 Return the data describing the Ackermann steer-correction.
void setDiffData (const PxVehicleDifferential4WData &diff)
 Set the data describing the differential.
void setAckermannGeometryData (const PxVehicleAckermannGeometryData &ackermannData)
 Set the data describing the Ackermann steer-correction.
 PxVehicleDriveSimData4W (const PxEMPTY)

Static Public Member Functions

static void getBinaryMetaData (PxOutputStream &stream)

Private Member Functions

bool isValid () const
 Test if the 4W-drive simulation data has been setup with legal data.

Private Attributes

PxVehicleDifferential4WData mDiff
 Differential simulation data.
PxVehicleAckermannGeometryData mAckermannGeometry
 Data for ackermann steer angle computation.

Friends

class PxVehicleDrive4W

Detailed Description

Data structure describing the drive model components of a vehicle with up to 4 driven wheels and up to 16 un-driven wheels. The drive model incorporates engine, clutch, gears, autobox, differential, and Ackermann steer correction.

See also:
PxVehicleDriveSimData

Constructor & Destructor Documentation

PxVehicleDriveSimData4W::PxVehicleDriveSimData4W (  )  [inline]

PxVehicleDriveSimData4W::PxVehicleDriveSimData4W ( const   PxEMPTY  )  [inline]


Member Function Documentation

PX_FORCE_INLINE const PxVehicleAckermannGeometryData& PxVehicleDriveSimData4W::getAckermannGeometryData (  )  const [inline]

Return the data describing the Ackermann steer-correction.

See also:
PxVehicleAckermannGeometryData

static void PxVehicleDriveSimData4W::getBinaryMetaData ( PxOutputStream stream  )  [static]

Reimplemented from PxVehicleDriveSimData.

PX_FORCE_INLINE const PxVehicleDifferential4WData& PxVehicleDriveSimData4W::getDiffData (  )  const [inline]

Return the data describing the differential.

See also:
PxVehicleDifferential4WData

bool PxVehicleDriveSimData4W::isValid (  )  const [private]

Test if the 4W-drive simulation data has been setup with legal data.

Note:
Call only after setting all components.
See also:
setEnginedata, setClutchData, setGearsData, setAutoboxData, setDiffData, setAckermannGeometryData

Reimplemented from PxVehicleDriveSimData.

void PxVehicleDriveSimData4W::setAckermannGeometryData ( const PxVehicleAckermannGeometryData ackermannData  ) 

Set the data describing the Ackermann steer-correction.

See also:
PxVehicleAckermannGeometryData

void PxVehicleDriveSimData4W::setDiffData ( const PxVehicleDifferential4WData diff  ) 

Set the data describing the differential.

See also:
PxVehicleDifferential4WData


Friends And Related Function Documentation

friend class PxVehicleDrive4W [friend]


Member Data Documentation

Differential simulation data.

See also:
setDiffData, getDiffData


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



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