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

Public Member Functions | |
| BoxShape (VRS::Bounds) | |
| ctor. | |
| virtual | ~BoxShape () |
| dtor. | |
| void | setBounds (VRS::Bounds) |
| (re)set the bounds for the Box Shape. | |
| VRS::Bounds | bounds () |
| get the bounds of the Box Shape. | |
Protected Member Functions | |
| virtual void | createGeometry () |
| create an ode geometry. | |
| virtual void | createDebugNode () |
| create a debug geometry. | |
Private Attributes | |
| VRS::Bounds | m_bounds |
Creates a box geom depending on the given center of the bounding Box.
Definition at line 15 of file BoxShape.h.
| vrsode::BoxShape::BoxShape | ( | VRS::Bounds | ) |
ctor.
Definition at line 15 of file BoxShape.cpp.
References createGeometry(), vrsode::CS_Box, m_bounds, vrsode::Shape::setCollisionShape(), and vrsode::Shape::setOffsetCenter().
Here is the call graph for this function:

| vrsode::BoxShape::~BoxShape | ( | ) | [virtual] |
| void vrsode::BoxShape::setBounds | ( | VRS::Bounds | ) |
(re)set the bounds for the Box Shape.
Definition at line 41 of file BoxShape.cpp.
References createDebugNode(), vrsode::Shape::geomId(), m_bounds, and vrsode::Shape::setOffsetCenter().
Here is the call graph for this function:

| VRS::Bounds vrsode::BoxShape::bounds | ( | ) |
| void vrsode::BoxShape::createGeometry | ( | ) | [protected, virtual] |
create an ode geometry.
Implements vrsode::Shape.
Definition at line 31 of file BoxShape.cpp.
References m_bounds, and vrsode::Shape::setGeomId().
Referenced by BoxShape().
Here is the call graph for this function:

Here is the caller graph for this function:

| void vrsode::BoxShape::createDebugNode | ( | ) | [protected, virtual] |
create a debug geometry.
Implements vrsode::Shape.
Definition at line 61 of file BoxShape.cpp.
References vrsode::Shape::debugNode(), vrsode::Shape::debugNodeActive(), m_bounds, and vrsode::Shape::offsetCenter().
Referenced by setBounds().
Here is the call graph for this function:

Here is the caller graph for this function:

VRS::Bounds vrsode::BoxShape::m_bounds [private] |
Definition at line 17 of file BoxShape.h.
Referenced by bounds(), BoxShape(), createDebugNode(), createGeometry(), and setBounds().
1.5.1