vrsode::BoxShape Class Reference

Represents a Box Shape. More...

#include <BoxShape.h>

Inheritance diagram for vrsode::BoxShape:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 BoxShape (VRS::Bounds)
 ctor.
virtual ~BoxShape ()
 dtor.
void setBounds (VRS::Bounds)
 (re)set the bounds for the Box Shape.
VRS::Bounds bounds ()
 get the bounds of the Box Shape.

Protected Member Functions

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

Private Attributes

VRS::Bounds m_bounds

Detailed Description

Represents a Box Shape.

Creates a box geom depending on the given center of the bounding Box.

Definition at line 15 of file BoxShape.h.


Constructor & Destructor Documentation

vrsode::BoxShape::BoxShape ( VRS::Bounds   ) 

ctor.

Definition at line 15 of file BoxShape.cpp.

References createGeometry(), vrsode::CS_Box, m_bounds, vrsode::Shape::setCollisionShape(), and vrsode::Shape::setOffsetCenter().

Here is the call graph for this function:

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

dtor.

Definition at line 25 of file BoxShape.cpp.


Member Function Documentation

void vrsode::BoxShape::setBounds ( VRS::Bounds   ) 

(re)set the bounds for the Box Shape.

Definition at line 41 of file BoxShape.cpp.

References createDebugNode(), vrsode::Shape::geomId(), m_bounds, and vrsode::Shape::setOffsetCenter().

Here is the call graph for this function:

VRS::Bounds vrsode::BoxShape::bounds (  ) 

get the bounds of the Box Shape.

Definition at line 55 of file BoxShape.cpp.

References m_bounds.

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

create an ode geometry.

Implements vrsode::Shape.

Definition at line 31 of file BoxShape.cpp.

References m_bounds, and vrsode::Shape::setGeomId().

Referenced by BoxShape().

Here is the call graph for this function:

Here is the caller graph for this function:

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

create a debug geometry.

Implements vrsode::Shape.

Definition at line 61 of file BoxShape.cpp.

References vrsode::Shape::debugNode(), vrsode::Shape::debugNodeActive(), m_bounds, and vrsode::Shape::offsetCenter().

Referenced by setBounds().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

VRS::Bounds vrsode::BoxShape::m_bounds [private]

Definition at line 17 of file BoxShape.h.

Referenced by bounds(), BoxShape(), createDebugNode(), createGeometry(), and setBounds().


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