Physics::SphereHandler Class Reference

GeometryHandler for spheres. More...

#include <GeometryHandlers.h>

Inheritance diagram for Physics::SphereHandler:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 SphereHandler (dReal radius=1)
virtual EGeomType type () const
void setRadius (dReal radius)
dReal getRadius () const
dReal getPointDepth (graphVec3 point)
virtual UINT getADOverrideFlag ()
 Gets the auto-disable override flag (default is no override - can be overloaded in derivates). The method returns which parameters can be overriden by the geometry.
virtual UINT getADSteps ()
virtual GeometryHandler * clone () const

Protected Member Functions

virtual dGeomID create (dSpaceID spaceId)

Protected Attributes

dReal radius


Detailed Description

GeometryHandler for spheres.

Definition at line 140 of file GeometryHandlers.h.


Constructor & Destructor Documentation

Physics::SphereHandler::SphereHandler ( dReal  radius = 1  )  [inline]

Definition at line 142 of file GeometryHandlers.h.


Member Function Documentation

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

Implements Physics::GeometryHandler.

Definition at line 158 of file GeometryHandlers.h.

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

Implements Physics::GeometryHandler.

Definition at line 160 of file GeometryHandlers.h.

virtual UINT Physics::SphereHandler::getADOverrideFlag (  )  [inline, virtual]

Gets the auto-disable override flag (default is no override - can be overloaded in derivates). The method returns which parameters can be overriden by the geometry.

Reimplemented from Physics::GeometryHandler.

Definition at line 155 of file GeometryHandlers.h.

virtual UINT Physics::SphereHandler::getADSteps (  )  [inline, virtual]

Reimplemented from Physics::GeometryHandler.

Definition at line 156 of file GeometryHandlers.h.

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

Definition at line 152 of file GeometryHandlers.h.

References ASSERT.

dReal Physics::SphereHandler::getRadius (  )  const [inline]

Definition at line 150 of file GeometryHandlers.h.

void Physics::SphereHandler::setRadius ( dReal  radius  )  [inline]

Definition at line 145 of file GeometryHandlers.h.

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

Implements Physics::GeometryHandler.

Definition at line 143 of file GeometryHandlers.h.


Member Data Documentation

dReal Physics::SphereHandler::radius [protected]

Definition at line 161 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