#include <RigidBodyPoint.h>
Inheritance diagram for OpenCAL::RigidBodyPoint:
Public Member Functions | |
RigidBodyPoint (RigidBody *object, const Vector3 &bodyPosition) | |
const Vector3 & | getPosition () const |
Vector3 * | getPositionP () |
const Vector3 & | getVelocity () const |
Vector3 * | getVelocityP () |
void | addForce (const Vector3 &force) |
void | render () |
void | addToState (PhaseSpace *state) |
void | addToDerivative (PhaseSpace *deriv) |
void | fromState (PhaseSpace *state) |
Protected Member Functions | |
void | calcPosition () const |
void | calcVelocity () const |
Protected Attributes | |
RigidBody * | m_object |
Vector3 | m_bodyPosition |
Definition at line 30 of file RigidBodyPoint.h.
|
This is when addForce adds a force at a position in body coördinates Reimplemented from OpenCAL::Physical. Definition at line 42 of file RigidBodyPoint.cpp. References OpenCAL::RigidBody::addForce(). Here is the call graph for this function: ![]() |
|
Implements OpenCAL::Object. Definition at line 48 of file RigidBodyPoint.cpp. References OpenCAL::System::getRenderer(), and OpenCAL::Renderer::renderPoint(). Here is the call graph for this function: ![]() |