#include <CapsuleShapeData.h>
Inheritance diagram for opal::CapsuleShapeData:
Public Member Functions | |
OPAL_DECL | CapsuleShapeData () |
OPAL_DECL | CapsuleShapeData (const CapsuleShapeData &data) |
virtual OPAL_DECL | ~CapsuleShapeData () |
virtual OPAL_DECL void OPAL_CALL | operator= (const CapsuleShapeData &data) |
virtual OPAL_DECL void OPAL_CALL | getLocalAABB (real aabb[6]) |
Public Attributes | |
real | radius |
real | length |
Definition at line 38 of file CapsuleShapeData.h.
|
Definition at line 41 of file CapsuleShapeData.h. References opal::CAPSULE_SHAPE, opal::defaults::shape::capsuleLength, opal::defaults::shape::capsuleRadius, length, opal::ShapeData::mType, and radius. |
|
Copy constructor.
Definition at line 50 of file CapsuleShapeData.h. |
|
Definition at line 55 of file CapsuleShapeData.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 71 of file CapsuleShapeData.h. |
|
Makes a deep copy.
Definition at line 60 of file CapsuleShapeData.h. References opal::ShapeData::contactGroup, length, opal::ShapeData::material, opal::ShapeData::mType, opal::ShapeData::offset, and radius. |
|
The capsule's length, not including the round caps.
Definition at line 87 of file CapsuleShapeData.h. Referenced by CapsuleShapeData(), getLocalAABB(), operator=(), and opal::ODESolid::setStatic(). |
|
The capsule's radius.
Definition at line 84 of file CapsuleShapeData.h. Referenced by CapsuleShapeData(), getLocalAABB(), operator=(), and opal::ODESolid::setStatic(). |