CollisionShapeInstanceBox Class Reference

#include <rimCollisionShapeInstanceBox.h>

Inheritance diagram for CollisionShapeInstanceBox:

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
const Matrix3getOrientation () const
Real getWidth () const
Real getHeight () const
Real getDepth () const
const Vector3getSize () const

Private Member Functions

 CollisionShapeInstanceBox (const CollisionShapeBox *box)
 Privately create a sphere instance from a pointer to a sphere shape.

Private Attributes

Vector3 position
 The position of the box in world space.
Matrix3 orientation
 The rotation matrix defining the box's orientation in world space.
Vector3 size
 The width (x), heigth (y), and depth (z) of the box in world space.

Friends

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


Constructor & Destructor Documentation

CollisionShapeInstanceBox::CollisionShapeInstanceBox ( const CollisionShapeBox box  )  [inline, private]

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


Member Function Documentation

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

Set the transformation of this shape instance.

Implements CollisionShapeInstance.

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

const Matrix3& CollisionShapeInstanceBox::getOrientation (  )  const [inline]

Real CollisionShapeInstanceBox::getWidth (  )  const [inline]

Real CollisionShapeInstanceBox::getHeight (  )  const [inline]

Real CollisionShapeInstanceBox::getDepth (  )  const [inline]

const Vector3& CollisionShapeInstanceBox::getSize (  )  const [inline]


Friends And Related Function Documentation

friend class CollisionShapeBox [friend]

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


Member Data Documentation

Vector3 CollisionShapeInstanceBox::position [private]

The position of the box in world space.

Matrix3 CollisionShapeInstanceBox::orientation [private]

The rotation matrix defining the box's orientation in world space.

Vector3 CollisionShapeInstanceBox::size [private]

The width (x), heigth (y), and depth (z) of the box in world space.


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