#include <child_object.h>
Inherited by physics::Area, and physics::Volume.
Public Member Functions | |
Vector | getPosition () const |
void | setPosition (const Vector &p) |
Vector | getLocalPosition () const |
void | setLocalPosition (const Vector &p) |
Orientation | getOrientation () const |
void | setOrientation (const Orientation &o) |
Orientation | getLocalOrientation () const |
void | setLocalOrientation (const Orientation &o) |
void | localTranslateInPlace (const Vector &v) |
Vector physics::ChildObject< d, Parent >::getPosition | ( | ) | const [inline] |
Get position in world coordinates.
void physics::ChildObject< d, Parent >::setPosition | ( | const Vector & | p | ) | [inline] |
Set position in world coordinates.
Vector physics::ChildObject< d, Parent >::getLocalPosition | ( | ) | const [inline] |
Get position in local coordinates (relative to parent).
void physics::ChildObject< d, Parent >::setLocalPosition | ( | const Vector & | p | ) | [inline] |
Set position in local coordinates (relative to parent).
Orientation physics::ChildObject< d, Parent >::getOrientation | ( | ) | const [inline] |
Get orientation relative to world.
void physics::ChildObject< d, Parent >::setOrientation | ( | const Orientation & | o | ) | [inline] |
Set orientation relative to world.
Orientation physics::ChildObject< d, Parent >::getLocalOrientation | ( | ) | const [inline] |
Get orientation relative to parent.
void physics::ChildObject< d, Parent >::setLocalOrientation | ( | const Orientation & | o | ) | [inline] |
Set orientation relative to parent.
void physics::ChildObject< d, Parent >::localTranslateInPlace | ( | const Vector & | v | ) | [inline] |
Translate local position while leaving world position unchanged.