opal::BoxShapeData Class Reference

A data structure describing a box Shape. More...

#include <BoxShapeData.h>

Inheritance diagram for opal::BoxShapeData:

opal::ShapeData List of all members.

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

Detailed Description

A data structure describing a box Shape.

Definition at line 37 of file BoxShapeData.h.


Constructor & Destructor Documentation

OPAL_DECL opal::BoxShapeData::BoxShapeData  )  [inline]
 

Definition at line 40 of file BoxShapeData.h.

References opal::BOX_SHAPE, opal::defaults::shape::boxDimensions, dimensions, and opal::ShapeData::mType.

OPAL_DECL opal::BoxShapeData::BoxShapeData const BoxShapeData data  )  [inline]
 

Copy constructor.

Definition at line 48 of file BoxShapeData.h.

virtual OPAL_DECL opal::BoxShapeData::~BoxShapeData  )  [inline, virtual]
 

Definition at line 53 of file BoxShapeData.h.


Member Function Documentation

virtual OPAL_DECL void OPAL_CALL opal::BoxShapeData::getLocalAABB real  aabb[6]  )  [inline, virtual]
 

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.

virtual OPAL_DECL void OPAL_CALL opal::BoxShapeData::operator= const BoxShapeData data  )  [inline, virtual]
 

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.


Member Data Documentation

Vec3r opal::BoxShapeData::dimensions
 

The box's dimensions.

Definition at line 78 of file BoxShapeData.h.

Referenced by BoxShapeData(), getLocalAABB(), and operator=().


The documentation for this class was generated from the following file:
Generated on Tue May 16 17:49:55 2006 for OPAL by  doxygen 1.4.6-NO