In file src/CWVehicle.h:

class CWVehicle: public CWFeature


Inheritance:


Public Fields

[more]string OffFile
[more]Point3D InitPos
[more]Point3D ChassisPos
[more]Point3D ChassisScale
[more]REAL Mass
kg
[more]REAL Weight
N
[more]REAL MassDistrib
kg.m
[more]REAL RedLine
REV.min-1
[more]REAL MaxTorque
N.m
[more]REAL Friction
N.s2.m-2
[more]CWCommand MyCommand
[more]DriveTrain MyDriveTrain
[more]InertRef MyRef
[more]vector<Wheel> Wheels
[more]OFFObject MyOFFObject

Public Methods

[more] CWVehicle(const char *name)
[more]void load(const char *name)
[more]void save(const char *name)
[more]virtual ~CWVehicle()
[more]void reset()
[more]void update()
[more]REAL GetSpeed() const
returns speed in kph
[more]void UpdateCWVehicleParams()
[more]void draw_init()
[more]void draw()
[more]void drawShape()
[more]void ProjectShadow(const Point3D &LightDirection)
[more]void drawInfo()
[more]CWVehicleState GetState()
[more]void SetState(CWVehicleState &state)


Inherited from CWFeature:

Public Fields

oCarWorld* m_CarWorld

Public Methods

ovirtual void draw_shutdown()


Documentation

o CWVehicle(const char *name)

ovoid load(const char *name)

ovoid save(const char *name)

ovirtual ~CWVehicle()

ovoid reset()

ovoid update()

oREAL GetSpeed() const
returns speed in kph

ovoid UpdateCWVehicleParams()

ovoid draw_init()

ovoid draw()

ovoid drawShape()

ovoid ProjectShadow(const Point3D &LightDirection)

ovoid drawInfo()

oCWVehicleState GetState()

ovoid SetState(CWVehicleState &state)

ostring OffFile

oPoint3D InitPos

oPoint3D ChassisPos

oPoint3D ChassisScale

oREAL Mass
kg

oREAL Weight
N

oREAL MassDistrib
kg.m

oREAL RedLine
REV.min-1

oREAL MaxTorque
N.m

oREAL Friction
N.s2.m-2

oCWCommand MyCommand

oDriveTrain MyDriveTrain

oInertRef MyRef

ovector<Wheel> Wheels

oOFFObject MyOFFObject


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.