CollisionShapeInstanceCylinder Class Reference

#include <rimCollisionShapeInstanceCylinder.h>

Inheritance diagram for CollisionShapeInstanceCylinder:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void setTransformation (const Transformation3 &transformation)
 Set the transformation of this shape instance.
const Vector3getStartingPoint () const
Vector3 getEndingPoint () const
const Vector3getAxis () const
Real getHeight () const
 Get the height of the cylinder's shaft.
Real getStartingRadius () const
 Get the starting radius of the cylinder shape.
Real getEndingRadius () const
 Get the ending radius of the cylinder shape.

Private Member Functions

 CollisionShapeInstanceCylinder (const CollisionShapeCylinder *cylinder)
 Privately create a sphere instance from a pointer to a sphere shape.

Private Attributes

Vector3 point1
 The position of the cylinder's starting point in object space.
Vector3 axis
 The normalized vector from the cylinder's starting point to ending point.
Real height
 The distance from the cylinder's starting point to its ending point.
Real radius1
 The radius of the cylinder at its starting point.
Real radius2
 The radius of the cylinder at its ending point.

Friends

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


Constructor & Destructor Documentation

CollisionShapeInstanceCylinder::CollisionShapeInstanceCylinder ( const CollisionShapeCylinder cylinder  )  [inline, private]

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


Member Function Documentation

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

Set the transformation of this shape instance.

Implements CollisionShapeInstance.

const Vector3& CollisionShapeInstanceCylinder::getStartingPoint (  )  const [inline]

Vector3 CollisionShapeInstanceCylinder::getEndingPoint (  )  const [inline]

const Vector3& CollisionShapeInstanceCylinder::getAxis (  )  const [inline]

Real CollisionShapeInstanceCylinder::getHeight (  )  const [inline]

Get the height of the cylinder's shaft.

Real CollisionShapeInstanceCylinder::getStartingRadius (  )  const [inline]

Get the starting radius of the cylinder shape.

Real CollisionShapeInstanceCylinder::getEndingRadius (  )  const [inline]

Get the ending radius of the cylinder shape.


Friends And Related Function Documentation

friend class CollisionShapeCylinder [friend]

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


Member Data Documentation

Vector3 CollisionShapeInstanceCylinder::point1 [private]

The position of the cylinder's starting point in object space.

Vector3 CollisionShapeInstanceCylinder::axis [private]

The normalized vector from the cylinder's starting point to ending point.

Real CollisionShapeInstanceCylinder::height [private]

The distance from the cylinder's starting point to its ending point.

Real CollisionShapeInstanceCylinder::radius1 [private]

The radius of the cylinder at its starting point.

Real CollisionShapeInstanceCylinder::radius2 [private]

The radius of the cylinder at its ending point.


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