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

Public Member Functions | |
| SphereShape (VRS::Bounds) | |
| ctor. | |
| virtual | ~SphereShape () |
| dtor. | |
| void | setRadius (double) |
| double | radius () |
| void | setBounds (VRS::Bounds) |
| VRS::Bounds | bounds () |
Protected Member Functions | |
| virtual void | createGeometry () |
| create an ode geometry. | |
| virtual void | createDebugNode () |
| create a debug geometry. | |
Private Attributes | |
| VRS::Bounds | m_bounds |
Create a Sphere geom of the given Bounds. The point of reference for a sphere is its center.
Definition at line 16 of file SphereShape.h.
| vrsode::SphereShape::SphereShape | ( | VRS::Bounds | ) |
ctor.
Definition at line 15 of file SphereShape.cpp.
References createDebugNode(), createGeometry(), vrsode::CS_Sphere, m_bounds, vrsode::Shape::setCollisionShape(), and vrsode::Shape::setOffsetCenter().
Here is the call graph for this function:

| vrsode::SphereShape::~SphereShape | ( | ) | [virtual] |
| void vrsode::SphereShape::setRadius | ( | double | ) |
Definition at line 53 of file SphereShape.cpp.
References createDebugNode(), vrsode::Shape::geomId(), and m_bounds.
Here is the call graph for this function:

| double vrsode::SphereShape::radius | ( | ) |
Definition at line 63 of file SphereShape.cpp.
References m_bounds.
Referenced by createDebugNode(), createGeometry(), and setBounds().
Here is the caller graph for this function:

| void vrsode::SphereShape::setBounds | ( | VRS::Bounds | ) |
Definition at line 72 of file SphereShape.cpp.
References createDebugNode(), vrsode::Shape::geomId(), m_bounds, and radius().
Here is the call graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

VRS::Bounds vrsode::SphereShape::m_bounds [private] |
Definition at line 18 of file SphereShape.h.
Referenced by bounds(), radius(), setBounds(), setRadius(), and SphereShape().
1.5.1