CollisionShapeInstance Class Reference

#include <rimCollisionShapeInstance.h>

Inheritance diagram for CollisionShapeInstance:

Inheritance graph

List of all members.

Public Member Functions

virtual ~CollisionShapeInstance ()
virtual void setTransformation (const Transformation3 &transformation)=0
 Set the transformation of this shape instance.
const Vector3getBoundingSpherePosition () const
Real getBoundingSphereRadius () const
const AABB3getAABB () const
const CollisionShapeMaterialgetMaterial () const
Real getVolume () const
Real getMass () const
const CollisionShapegetBaseShape () const
 Get a pointer to the shape which instantiated this instance.
const CollisionShapeTypegetType () const
Hash getTypeID () const

Protected Member Functions

 CollisionShapeInstance (const CollisionShape *newShape)

Protected Attributes

Vector3 boundingSpherePosition
Real boundingSphereRadius
AABB3 axisAlignedBoundingBox
const CollisionShapeshape

Constructor & Destructor Documentation

virtual CollisionShapeInstance::~CollisionShapeInstance (  )  [inline, virtual]

CollisionShapeInstance::CollisionShapeInstance ( const CollisionShape newShape  )  [inline, protected]

Member Function Documentation

virtual void CollisionShapeInstance::setTransformation ( const Transformation3 transformation  )  [pure virtual]

Set the transformation of this shape instance.

Implemented in CollisionShapeInstanceBox, CollisionShapeInstanceCapsule, CollisionShapeInstanceContainer, CollisionShapeInstanceCylinder, and CollisionShapeInstanceSphere.

const Vector3& CollisionShapeInstance::getBoundingSpherePosition (  )  const [inline]

Real CollisionShapeInstance::getBoundingSphereRadius (  )  const [inline]

const AABB3& CollisionShapeInstance::getAABB (  )  const [inline]

const CollisionShapeMaterial& CollisionShapeInstance::getMaterial (  )  const [inline]

Real CollisionShapeInstance::getVolume (  )  const [inline]

Real CollisionShapeInstance::getMass (  )  const [inline]

const CollisionShape* CollisionShapeInstance::getBaseShape (  )  const [inline]

Get a pointer to the shape which instantiated this instance.

const CollisionShapeType& CollisionShapeInstance::getType (  )  const [inline]

Hash CollisionShapeInstance::getTypeID (  )  const [inline]

Member Data Documentation

Vector3 CollisionShapeInstance::boundingSpherePosition [protected]

Real CollisionShapeInstance::boundingSphereRadius [protected]

AABB3 CollisionShapeInstance::axisAlignedBoundingBox [protected]

const CollisionShape* CollisionShapeInstance::shape [protected]

The documentation for this class was generated from the following file:
Generated on Tue Aug 26 00:03:19 2008 for Rim Physics by  doxygen 1.5.4