#include <CarSimple.h>
Inheritance diagram for vrsode::CarSimple:

Definition at line 25 of file CarSimple.h.
| vrsode::CarSimple::CarSimple | ( | VRS::SO< VRS::SceneThing > | ) |
Definition at line 18 of file CarSimple.cpp.
References vrsode::CS_Box, vrsode::CS_None, m_axisFL, m_axisFR, m_axisRL, m_axisRR, m_bodyMass, m_carMaxSpeed, m_carPower, m_chassis, m_chassisOffset, m_debugNodes, m_rootNode, m_springFL, m_springFR, m_springLengthFront, m_springLengthRear, m_springPowerFront, m_springPowerRear, m_springRL, m_springRR, m_springSpeedFront, m_springSpeedRear, m_steerControlFL, m_steerControlFR, m_steerFL, m_steerFR, m_steerOffsetFL, m_steerOffsetFR, m_suspensionFL, m_suspensionFR, m_suspensionOffsetFL, m_suspensionOffsetFR, m_suspensionOffsetRL, m_suspensionOffsetRR, m_suspensionRL, m_suspensionRR, m_wheelFL, m_wheelFR, m_wheelMass, m_wheelMu, m_wheelOffsetFL, m_wheelOffsetFR, m_wheelOffsetRL, m_wheelOffsetRR, m_wheelRL, m_wheelRR, m_wheelSizeFront, and m_wheelSizeRear.
| vrsode::CarSimple::~CarSimple | ( | ) |
Definition at line 280 of file CarSimple.cpp.
| void vrsode::CarSimple::enableAllBodies | ( | ) | [private] |
Definition at line 376 of file CarSimple.cpp.
References m_chassis, m_steerFL, m_steerFR, m_suspensionFL, m_suspensionFR, m_suspensionRL, m_suspensionRR, m_wheelFL, m_wheelFR, m_wheelRL, and m_wheelRR.
Referenced by accelerate(), handBreak(), nos(), setPosition(), steerLeft(), and steerRight().
Here is the caller graph for this function:

| void vrsode::CarSimple::accelerate | ( | double | ) |
accelerate the car.
0 for no acceleration. 1 for maximum acceleration.
Definition at line 286 of file CarSimple.cpp.
References enableAllBodies(), m_axisRL, m_axisRR, m_carMaxSpeed, and m_carPower.
Here is the call graph for this function:

| void vrsode::CarSimple::steerLeft | ( | double | ) |
Definition at line 307 of file CarSimple.cpp.
References enableAllBodies(), m_steerControlFL, and m_steerControlFR.
Here is the call graph for this function:

| void vrsode::CarSimple::steerRight | ( | double | ) |
Definition at line 317 of file CarSimple.cpp.
References enableAllBodies(), m_steerControlFL, and m_steerControlFR.
Here is the call graph for this function:

| void vrsode::CarSimple::handBreak | ( | bool | ) |
Definition at line 336 of file CarSimple.cpp.
References enableAllBodies(), m_axisFL, m_axisFR, m_axisRL, and m_axisRR.
Here is the call graph for this function:

| void vrsode::CarSimple::nos | ( | double | ) |
Definition at line 327 of file CarSimple.cpp.
References enableAllBodies(), and m_chassis.
Here is the call graph for this function:

| VRS::SO< VRS::SceneThing > vrsode::CarSimple::sceneThing | ( | ) |
| void vrsode::CarSimple::attachCamera | ( | VRS::SO< VRS::Camera > | ) |
Definition at line 370 of file CarSimple.cpp.
| void vrsode::CarSimple::setPosition | ( | VRS::Vector | ) |
set the position of the car.
may influence the simulation badly, so be careful.
Definition at line 395 of file CarSimple.cpp.
References enableAllBodies(), m_chassis, m_chassisOffset, m_steerFL, m_steerFR, m_steerOffsetFL, m_steerOffsetFR, m_suspensionFL, m_suspensionFR, m_suspensionOffsetFL, m_suspensionOffsetFR, m_suspensionOffsetRL, m_suspensionOffsetRR, m_suspensionRL, m_suspensionRR, m_wheelFL, m_wheelFR, m_wheelOffsetFL, m_wheelOffsetFR, m_wheelOffsetRL, m_wheelOffsetRR, m_wheelRL, and m_wheelRR.
Referenced by setPosition().
Here is the call graph for this function:

Here is the caller graph for this function:

| void vrsode::CarSimple::setPosition | ( | double | , | |
| double | , | |||
| double | ||||
| ) |
set the position of the car.
may influence the simulation badly, so be careful.
Definition at line 442 of file CarSimple.cpp.
References setPosition().
Here is the call graph for this function:

| VRS::Vector vrsode::CarSimple::position | ( | ) |
returns the position of the car.
Definition at line 448 of file CarSimple.cpp.
References m_chassis.
| VRS::SO<CollisionBody> vrsode::CarSimple::cameraHook | ( | ) | [inline] |
Returns a CollisionBody SO to which the car wants the 3rd person camera get attached to.
Definition at line 133 of file CarSimple.h.
References m_chassis.
bool vrsode::CarSimple::m_debugNodes [private] |
double vrsode::CarSimple::m_springLengthFront [private] |
double vrsode::CarSimple::m_springLengthRear [private] |
double vrsode::CarSimple::m_springPowerFront [private] |
double vrsode::CarSimple::m_springPowerRear [private] |
double vrsode::CarSimple::m_springSpeedFront [private] |
double vrsode::CarSimple::m_springSpeedRear [private] |
double vrsode::CarSimple::m_wheelSizeFront [private] |
double vrsode::CarSimple::m_wheelSizeRear [private] |
double vrsode::CarSimple::m_wheelMass [private] |
double vrsode::CarSimple::m_bodyMass [private] |
double vrsode::CarSimple::m_wheelMu [private] |
double vrsode::CarSimple::m_carMaxSpeed [private] |
double vrsode::CarSimple::m_carPower [private] |
VRS::Vector vrsode::CarSimple::m_wheelOffsetFL [private] |
VRS::Vector vrsode::CarSimple::m_wheelOffsetFR [private] |
VRS::Vector vrsode::CarSimple::m_wheelOffsetRL [private] |
VRS::Vector vrsode::CarSimple::m_wheelOffsetRR [private] |
VRS::Vector vrsode::CarSimple::m_chassisOffset [private] |
VRS::Vector vrsode::CarSimple::m_suspensionOffsetFL [private] |
VRS::Vector vrsode::CarSimple::m_suspensionOffsetFR [private] |
VRS::Vector vrsode::CarSimple::m_suspensionOffsetRL [private] |
VRS::Vector vrsode::CarSimple::m_suspensionOffsetRR [private] |
VRS::Vector vrsode::CarSimple::m_steerOffsetFL [private] |
VRS::Vector vrsode::CarSimple::m_steerOffsetFR [private] |
VRS::SO<VRS::SceneThing> vrsode::CarSimple::m_rootNode [private] |
VRS::SO<CollisionSpace> vrsode::CarSimple::m_space [private] |
Definition at line 60 of file CarSimple.h.
VRS::SO<PhysicsBody> vrsode::CarSimple::m_chassis [private] |
Definition at line 61 of file CarSimple.h.
Referenced by cameraHook(), CarSimple(), enableAllBodies(), nos(), position(), sceneThing(), and setPosition().
VRS::SO<PhysicsBody> vrsode::CarSimple::m_wheelFL [private] |
Definition at line 63 of file CarSimple.h.
Referenced by CarSimple(), enableAllBodies(), and setPosition().
VRS::SO<PhysicsBody> vrsode::CarSimple::m_wheelFR [private] |
Definition at line 64 of file CarSimple.h.
Referenced by CarSimple(), enableAllBodies(), and setPosition().
VRS::SO<PhysicsBody> vrsode::CarSimple::m_wheelRL [private] |
Definition at line 65 of file CarSimple.h.
Referenced by CarSimple(), enableAllBodies(), and setPosition().
VRS::SO<PhysicsBody> vrsode::CarSimple::m_wheelRR [private] |
Definition at line 66 of file CarSimple.h.
Referenced by CarSimple(), enableAllBodies(), and setPosition().
VRS::SO<PhysicsBody> vrsode::CarSimple::m_suspensionFL [private] |
Definition at line 68 of file CarSimple.h.
Referenced by CarSimple(), enableAllBodies(), and setPosition().
VRS::SO<PhysicsBody> vrsode::CarSimple::m_suspensionFR [private] |
Definition at line 69 of file CarSimple.h.
Referenced by CarSimple(), enableAllBodies(), and setPosition().
VRS::SO<PhysicsBody> vrsode::CarSimple::m_suspensionRL [private] |
Definition at line 70 of file CarSimple.h.
Referenced by CarSimple(), enableAllBodies(), and setPosition().
VRS::SO<PhysicsBody> vrsode::CarSimple::m_suspensionRR [private] |
Definition at line 71 of file CarSimple.h.
Referenced by CarSimple(), enableAllBodies(), and setPosition().
VRS::SO<PhysicsBody> vrsode::CarSimple::m_steerFL [private] |
Definition at line 73 of file CarSimple.h.
Referenced by CarSimple(), enableAllBodies(), and setPosition().
VRS::SO<PhysicsBody> vrsode::CarSimple::m_steerFR [private] |
Definition at line 74 of file CarSimple.h.
Referenced by CarSimple(), enableAllBodies(), and setPosition().
VRS::SO<PhysicsJointHinge> vrsode::CarSimple::m_axisFL [private] |
VRS::SO<PhysicsJointHinge> vrsode::CarSimple::m_axisFR [private] |
VRS::SO<PhysicsJointHinge> vrsode::CarSimple::m_axisRL [private] |
Definition at line 78 of file CarSimple.h.
Referenced by accelerate(), CarSimple(), and handBreak().
VRS::SO<PhysicsJointHinge> vrsode::CarSimple::m_axisRR [private] |
Definition at line 79 of file CarSimple.h.
Referenced by accelerate(), CarSimple(), and handBreak().
VRS::SO<PhysicsJointHinge> vrsode::CarSimple::m_steerControlFL [private] |
Definition at line 81 of file CarSimple.h.
Referenced by CarSimple(), steerLeft(), and steerRight().
VRS::SO<PhysicsJointHinge> vrsode::CarSimple::m_steerControlFR [private] |
Definition at line 82 of file CarSimple.h.
Referenced by CarSimple(), steerLeft(), and steerRight().
VRS::SO<PhysicsJointSlider> vrsode::CarSimple::m_springFL [private] |
VRS::SO<PhysicsJointSlider> vrsode::CarSimple::m_springFR [private] |
VRS::SO<PhysicsJointSlider> vrsode::CarSimple::m_springRL [private] |
VRS::SO<PhysicsJointSlider> vrsode::CarSimple::m_springRR [private] |
1.5.1