#include <BoxShapeData.h>
Inheritance diagram for opal::BoxShapeData:
Public Member Functions | |
OPAL_DECL | BoxShapeData () |
OPAL_DECL | BoxShapeData (const BoxShapeData &data) |
virtual OPAL_DECL | ~BoxShapeData () |
virtual OPAL_DECL void OPAL_CALL | operator= (const BoxShapeData &data) |
virtual OPAL_DECL void OPAL_CALL | getLocalAABB (real aabb[6]) |
Public Attributes | |
Vec3r | dimensions |
Definition at line 37 of file BoxShapeData.h.
|
Definition at line 40 of file BoxShapeData.h. References opal::BOX_SHAPE, opal::defaults::shape::boxDimensions, dimensions, and opal::ShapeData::mType. |
|
Copy constructor.
Definition at line 48 of file BoxShapeData.h. |
|
Definition at line 53 of file BoxShapeData.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 67 of file BoxShapeData.h. References dimensions. |
|
Makes a deep copy.
Definition at line 58 of file BoxShapeData.h. References opal::ShapeData::contactGroup, dimensions, opal::ShapeData::material, opal::ShapeData::mType, and opal::ShapeData::offset. |
|
The box's dimensions.
Definition at line 78 of file BoxShapeData.h. Referenced by BoxShapeData(), getLocalAABB(), and operator=(). |