vrsode::CylinderShape Class Reference

Represents a flat-ended Cylinder Shape. More...

#include <CylinderShape.h>

Inheritance diagram for vrsode::CylinderShape:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CylinderShape (VRS::Vector direction, double height, double radius)
 ctor.
virtual ~CylinderShape ()
 dtor.

Protected Member Functions

virtual void createDebugNode ()
 create a debug geometry.
virtual void createGeometry ()
 create an ode geometry.

Private Attributes

VRS::Vector m_direction
double m_height
double m_radius

Detailed Description

Represents a flat-ended Cylinder Shape.

Definition at line 15 of file CylinderShape.h.


Constructor & Destructor Documentation

vrsode::CylinderShape::CylinderShape ( VRS::Vector  direction,
double  height,
double  radius 
)

ctor.

Definition at line 16 of file CylinderShape.cpp.

References createDebugNode(), createGeometry(), vrsode::CS_Cylinder, m_direction, m_height, m_radius, and vrsode::Shape::setCollisionShape().

Here is the call graph for this function:

vrsode::CylinderShape::~CylinderShape (  )  [virtual]

dtor.

Definition at line 30 of file CylinderShape.cpp.


Member Function Documentation

void vrsode::CylinderShape::createDebugNode (  )  [protected, virtual]

create a debug geometry.

Implements vrsode::Shape.

Definition at line 58 of file CylinderShape.cpp.

References vrsode::Shape::debugNode(), vrsode::Shape::debugNodeActive(), m_height, m_radius, vrsode::Shape::offsetCenter(), and vrsode::Shape::offsetRotation().

Referenced by CylinderShape().

Here is the call graph for this function:

Here is the caller graph for this function:

void vrsode::CylinderShape::createGeometry (  )  [protected, virtual]

create an ode geometry.

Implements vrsode::Shape.

Definition at line 36 of file CylinderShape.cpp.

References m_direction, m_height, m_radius, vrsode::Shape::offsetRotation(), and vrsode::Shape::setGeomId().

Referenced by CylinderShape().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

VRS::Vector vrsode::CylinderShape::m_direction [private]

Definition at line 17 of file CylinderShape.h.

Referenced by createGeometry(), and CylinderShape().

double vrsode::CylinderShape::m_height [private]

Definition at line 19 of file CylinderShape.h.

Referenced by createDebugNode(), createGeometry(), and CylinderShape().

double vrsode::CylinderShape::m_radius [private]

Definition at line 20 of file CylinderShape.h.

Referenced by createDebugNode(), createGeometry(), and CylinderShape().


The documentation for this class was generated from the following files:
Generated on Fri May 11 21:02:16 2007 for Random Racer by  doxygen 1.5.1