#include <SphereShapeData.h>
Inheritance diagram for opal::SphereShapeData:
Public Member Functions | |
OPAL_DECL | SphereShapeData () |
OPAL_DECL | SphereShapeData (const SphereShapeData &data) |
virtual OPAL_DECL | ~SphereShapeData () |
virtual OPAL_DECL void OPAL_CALL | operator= (const SphereShapeData &data) |
virtual OPAL_DECL void OPAL_CALL | getLocalAABB (real aabb[6]) |
Public Attributes | |
real | radius |
Definition at line 37 of file SphereShapeData.h.
|
Definition at line 40 of file SphereShapeData.h. References opal::ShapeData::mType, radius, opal::SPHERE_SHAPE, and opal::defaults::shape::sphereRadius. |
|
Copy constructor.
Definition at line 48 of file SphereShapeData.h. |
|
Definition at line 53 of file SphereShapeData.h. |
|
Returns the axis-aligned bounding box of the ShapeData relative to its center. The 'aabb' array stores data in the following order: min x, max x, min y, max y, min z, max z. Implements opal::ShapeData. Definition at line 68 of file SphereShapeData.h. References radius. |
|
Makes a deep copy.
Definition at line 58 of file SphereShapeData.h. References opal::ShapeData::contactGroup, opal::ShapeData::material, opal::ShapeData::mType, opal::ShapeData::offset, and radius. |
|
The sphere's radius.
Definition at line 79 of file SphereShapeData.h. Referenced by getLocalAABB(), operator=(), opal::ODESolid::setStatic(), and SphereShapeData(). |