orxonox::SphereCollisionShape Class Reference

#include <src/orxonox/objects/collisionshapes/SphereCollisionShape.h>

Inheritance diagram for orxonox::SphereCollisionShape:

orxonox::CollisionShape orxonox::BaseObject orxonox::Synchronisable orxonox::OrxonoxClass orxonox::OrxonoxClass

List of all members.

Public Member Functions

float getRadius () const
void registerVariables ()
void setRadius (float radius)
 SphereCollisionShape (BaseObject *creator)
virtual void XMLPort (Element &xmlelement, XMLPort::Mode mode)
 XML loading and saving.
virtual ~SphereCollisionShape ()

Private Member Functions

btCollisionShape * createNewShape () const

Private Attributes

float radius_


Constructor & Destructor Documentation

orxonox::SphereCollisionShape::SphereCollisionShape ( BaseObject creator  ) 

orxonox::SphereCollisionShape::~SphereCollisionShape (  )  [virtual]


Member Function Documentation

btCollisionShape * orxonox::SphereCollisionShape::createNewShape (  )  const [private, virtual]

Implements orxonox::CollisionShape.

References radius_.

float orxonox::SphereCollisionShape::getRadius (  )  const [inline]

Referenced by XMLPort().

void orxonox::SphereCollisionShape::registerVariables (  ) 

void orxonox::SphereCollisionShape::setRadius ( float  radius  )  [inline]

void orxonox::SphereCollisionShape::XMLPort ( Element &  xmlelement,
XMLPort::Mode  mode 
) [virtual]

XML loading and saving.

Parameters:
xmlelement The XML-element
loading Loading (true) or saving (false)
Returns:
The XML-element

Reimplemented from orxonox::CollisionShape.

References getRadius(), setRadius(), SUPER, and XMLPortParam.


Member Data Documentation


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

Generated on Tue Jul 28 16:23:05 2009 for Orxonox by  doxygen 1.5.6