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

NVIDIA PhysX SDK 3.4 API

PxVehicleDriveSimDataNW Class Reference
[Vehicle]

Data structure describing configuration data of a vehicle with up to PX_MAX_NB_WHEELS driven equally through the differential. The vehicle has an engine, clutch, gears, autobox, differential. More...

#include <PxVehicleDriveNW.h>

Inheritance diagram for PxVehicleDriveSimDataNW:
Collaboration diagram for PxVehicleDriveSimDataNW:

List of all members.


Public Member Functions

 PxVehicleDriveSimDataNW ()
const PxVehicleDifferentialNWDatagetDiffData () const
 Return the data describing the differential of a vehicle with up to PX_MAX_NB_WHEELS driven wheels.
void setDiffData (const PxVehicleDifferentialNWData &diff)
 Set the data describing the differential of a vehicle with up to PX_MAX_NB_WHEELS driven wheels. The differential data describes the set of wheels that are driven by the differential.
 PxVehicleDriveSimDataNW (const PxEMPTY)

Static Public Member Functions

static void getBinaryMetaData (PxOutputStream &stream)

Private Member Functions

bool isValid () const
 Test if the NW-drive simulation data has been setup with legal data. Call only after setting all components.

Private Attributes

PxVehicleDifferentialNWData mDiff
 Differential simulation data.

Friends

class PxVehicleDriveNW

Detailed Description

Data structure describing configuration data of a vehicle with up to PX_MAX_NB_WHEELS driven equally through the differential. The vehicle has an engine, clutch, gears, autobox, differential.

See also:
PxVehicleDriveSimData

Constructor & Destructor Documentation

PxVehicleDriveSimDataNW::PxVehicleDriveSimDataNW (  )  [inline]

PxVehicleDriveSimDataNW::PxVehicleDriveSimDataNW ( const   PxEMPTY  )  [inline]


Member Function Documentation

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

Reimplemented from PxVehicleDriveSimData.

const PxVehicleDifferentialNWData& PxVehicleDriveSimDataNW::getDiffData (  )  const [inline]

Return the data describing the differential of a vehicle with up to PX_MAX_NB_WHEELS driven wheels.

bool PxVehicleDriveSimDataNW::isValid (  )  const [private]

Test if the NW-drive simulation data has been setup with legal data. Call only after setting all components.

See also:
setEngineData, setClutchData, setGearsData, setAutoboxData, setDiffData, setAckermannGeometryData

Reimplemented from PxVehicleDriveSimData.

void PxVehicleDriveSimDataNW::setDiffData ( const PxVehicleDifferentialNWData diff  ) 

Set the data describing the differential of a vehicle with up to PX_MAX_NB_WHEELS driven wheels. The differential data describes the set of wheels that are driven by the differential.


Friends And Related Function Documentation

friend class PxVehicleDriveNW [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