Physics::CapsuleHandler Class Reference

GeometryHandler for capsules (Capped cylinders) aligned along Z-axis. More...

#include <GeometryHandlers.h>

Inheritance diagram for Physics::CapsuleHandler:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 CapsuleHandler (dReal radius=1, dReal length=1)
virtual EGeomType type () const
void setParams (dReal radius, dReal length)
std::pair< dReal, dReal > getParams () const
 Returns a pair representing (radius, length).
dReal getPointDepth (graphVec3 point)
virtual GeometryHandlerclone () const

Protected Member Functions

virtual dGeomID create (dSpaceID spaceId)

Protected Attributes

dReal radius
dReal length


Detailed Description

GeometryHandler for capsules (Capped cylinders) aligned along Z-axis.

Definition at line 255 of file GeometryHandlers.h.


Constructor & Destructor Documentation

Physics::CapsuleHandler::CapsuleHandler ( dReal  radius = 1,
dReal  length = 1 
) [inline]

Definition at line 257 of file GeometryHandlers.h.


Member Function Documentation

virtual GeometryHandler* Physics::CapsuleHandler::clone (  )  const [inline, virtual]

Implements Physics::GeometryHandler.

Definition at line 277 of file GeometryHandlers.h.

virtual dGeomID Physics::CapsuleHandler::create ( dSpaceID  spaceId  )  [inline, protected, virtual]

Implements Physics::GeometryHandler.

Definition at line 280 of file GeometryHandlers.h.

std::pair<dReal, dReal> Physics::CapsuleHandler::getParams (  )  const [inline]

Returns a pair representing (radius, length).

Definition at line 268 of file GeometryHandlers.h.

dReal Physics::CapsuleHandler::getPointDepth ( graphVec3  point  )  [inline]

Definition at line 275 of file GeometryHandlers.h.

References ASSERT.

void Physics::CapsuleHandler::setParams ( dReal  radius,
dReal  length 
) [inline]

Definition at line 260 of file GeometryHandlers.h.

virtual EGeomType Physics::CapsuleHandler::type (  )  const [inline, virtual]

Implements Physics::GeometryHandler.

Definition at line 258 of file GeometryHandlers.h.


Member Data Documentation

Definition at line 281 of file GeometryHandlers.h.

Definition at line 281 of file GeometryHandlers.h.


The documentation for this class was generated from the following file:

Generated on Sun Jan 17 11:39:36 2010 for PVLE (Pro-Vocation Light Engine) by  doxygen 1.5.9