CollisionShapeInstanceSphere Class Reference

#include <rimCollisionShapeInstanceSphere.h>

Inheritance diagram for CollisionShapeInstanceSphere:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void setTransformation (const Transformation3 &transformation)
 Set the transformation of this shape instance.
const Vector3getPosition () const
 Get the position of the sphere shape in the world coordinate system.
Real getRadius () const
 Get the radius of the sphere shape in the world coordinate system.

Private Member Functions

 CollisionShapeInstanceSphere (const CollisionShapeSphere *sphere)
 Privately create a sphere instance from a pointer to a sphere shape.

Private Attributes

Vector3 position
 The position of this sphere shape instance in the world coordinate system.
Real radius
 The radius of this sphere shape instance in world coordinates.

Friends

class CollisionShapeSphere
 Make this instance class's base shape class a friend to facilitate private construction.


Constructor & Destructor Documentation

CollisionShapeInstanceSphere::CollisionShapeInstanceSphere ( const CollisionShapeSphere sphere  )  [inline, private]

Privately create a sphere instance from a pointer to a sphere shape.


Member Function Documentation

virtual void CollisionShapeInstanceSphere::setTransformation ( const Transformation3 transformation  )  [inline, virtual]

Set the transformation of this shape instance.

Implements CollisionShapeInstance.

const Vector3& CollisionShapeInstanceSphere::getPosition (  )  const [inline]

Get the position of the sphere shape in the world coordinate system.

Real CollisionShapeInstanceSphere::getRadius (  )  const [inline]

Get the radius of the sphere shape in the world coordinate system.


Friends And Related Function Documentation

friend class CollisionShapeSphere [friend]

Make this instance class's base shape class a friend to facilitate private construction.


Member Data Documentation

Vector3 CollisionShapeInstanceSphere::position [private]

The position of this sphere shape instance in the world coordinate system.

Real CollisionShapeInstanceSphere::radius [private]

The radius of this sphere shape instance in world coordinates.


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