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

Public Member Functions | |
| CollisionSpace (VRS::SO< CollisionSpace >) | |
| ctor. | |
| virtual | ~CollisionSpace () |
| dtor. | |
| dSpaceID | spaceId () const |
| get space id. | |
| void | addChild (VRS::SO< CollisionBody >) |
| add child. | |
| void | addChild (dGeomID) |
| add child. | |
Protected Member Functions | |
| void | setSpaceId (dSpaceID) |
Private Attributes | |
| dSpaceID | m_spaceId |
Space objects exist to make collision detection go faster.
Definition at line 17 of file CollisionSpace.h.
| vrsode::CollisionSpace::CollisionSpace | ( | VRS::SO< CollisionSpace > | ) |
| vrsode::CollisionSpace::~CollisionSpace | ( | ) | [virtual] |
| dSpaceID vrsode::CollisionSpace::spaceId | ( | ) | const |
get space id.
returns the space id used by ode to identify the object.
Definition at line 18 of file CollisionSpace.cpp.
References m_spaceId.
Referenced by vrsode::CollisionSpaceSimple::~CollisionSpaceSimple().
Here is the caller graph for this function:

| void vrsode::CollisionSpace::addChild | ( | VRS::SO< CollisionBody > | ) |
add child.
adds a collision body into this space.
Definition at line 30 of file CollisionSpace.cpp.
References m_spaceId.
| void vrsode::CollisionSpace::addChild | ( | dGeomID | ) |
add child.
adds a ode geometry into this space.
Definition at line 36 of file CollisionSpace.cpp.
References m_spaceId.
| void vrsode::CollisionSpace::setSpaceId | ( | dSpaceID | ) | [protected] |
Definition at line 24 of file CollisionSpace.cpp.
References m_spaceId.
Referenced by vrsode::CollisionSpaceSimple::CollisionSpaceSimple().
Here is the caller graph for this function:

dSpaceID vrsode::CollisionSpace::m_spaceId [private] |
Definition at line 19 of file CollisionSpace.h.
Referenced by addChild(), setSpaceId(), and spaceId().
1.5.1