opal::SphereShapeData Class Reference

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

#include <SphereShapeData.h>

Inheritance diagram for opal::SphereShapeData:

opal::ShapeData List of all members.

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

Detailed Description

A data structure describing a sphere Shape.

Definition at line 37 of file SphereShapeData.h.


Constructor & Destructor Documentation

OPAL_DECL opal::SphereShapeData::SphereShapeData  )  [inline]
 

Definition at line 40 of file SphereShapeData.h.

References opal::ShapeData::mType, radius, opal::SPHERE_SHAPE, and opal::defaults::shape::sphereRadius.

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

Copy constructor.

Definition at line 48 of file SphereShapeData.h.

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

Definition at line 53 of file SphereShapeData.h.


Member Function Documentation

virtual OPAL_DECL void OPAL_CALL opal::SphereShapeData::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 68 of file SphereShapeData.h.

References radius.

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

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.


Member Data Documentation

real opal::SphereShapeData::radius
 

The sphere's radius.

Definition at line 79 of file SphereShapeData.h.

Referenced by getLocalAABB(), operator=(), opal::ODESolid::setStatic(), and SphereShapeData().


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