Physics::BoxHandler Class Reference

GeometryHandler for boxes. More...

#include <GeometryHandlers.h>

Inheritance diagram for Physics::BoxHandler:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 BoxHandler (dReal x=1, dReal y=1, dReal z=1)
 BoxHandler (graphVec3 v)
virtual EGeomType type () const
void setSize (graphVec3 v)
void setSize (dReal x, dReal y, dReal z)
graphVec3 getSize () const
dReal getPointDepth (graphVec3 point)
virtual GeometryHandlerclone () const

Protected Member Functions

virtual dGeomID create (dSpaceID spaceId)

Protected Attributes

dReal x
dReal y
dReal z


Detailed Description

GeometryHandler for boxes.

Definition at line 166 of file GeometryHandlers.h.


Constructor & Destructor Documentation

Physics::BoxHandler::BoxHandler ( dReal  x = 1,
dReal  y = 1,
dReal  z = 1 
) [inline]

Definition at line 168 of file GeometryHandlers.h.

Physics::BoxHandler::BoxHandler ( graphVec3  v  )  [inline]

Definition at line 169 of file GeometryHandlers.h.


Member Function Documentation

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

Implements Physics::GeometryHandler.

Definition at line 183 of file GeometryHandlers.h.

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

Implements Physics::GeometryHandler.

Definition at line 186 of file GeometryHandlers.h.

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

Definition at line 181 of file GeometryHandlers.h.

References ASSERT.

graphVec3 Physics::BoxHandler::getSize (  )  const [inline]

Definition at line 180 of file GeometryHandlers.h.

References graphVec3, and Physics::toGraphVec3().

void Physics::BoxHandler::setSize ( dReal  x,
dReal  y,
dReal  z 
) [inline]

Definition at line 173 of file GeometryHandlers.h.

void Physics::BoxHandler::setSize ( graphVec3  v  )  [inline]

Definition at line 172 of file GeometryHandlers.h.

References setSize().

Referenced by setSize().

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

Implements Physics::GeometryHandler.

Definition at line 170 of file GeometryHandlers.h.


Member Data Documentation

dReal Physics::BoxHandler::x [protected]

Definition at line 187 of file GeometryHandlers.h.

dReal Physics::BoxHandler::y [protected]

Definition at line 187 of file GeometryHandlers.h.

dReal Physics::BoxHandler::z [protected]

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