orxonox::ConeCollisionShape Class Reference

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

Inheritance diagram for orxonox::ConeCollisionShape:

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

List of all members.

Public Member Functions

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

Private Member Functions

btCollisionShape * createNewShape () const

Private Attributes

float height_
float radius_


Constructor & Destructor Documentation

orxonox::ConeCollisionShape::ConeCollisionShape ( BaseObject creator  ) 

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


Member Function Documentation

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

Implements orxonox::CollisionShape.

References height_, and radius_.

float orxonox::ConeCollisionShape::getHeight ( void   )  const [inline]

Referenced by XMLPort().

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

Referenced by XMLPort().

void orxonox::ConeCollisionShape::registerVariables (  ) 

void orxonox::ConeCollisionShape::setHeight ( float  value  )  [inline]

Referenced by XMLPort().

void orxonox::ConeCollisionShape::setRadius ( float  value  )  [inline]

Referenced by XMLPort().

void orxonox::ConeCollisionShape::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 getHeight(), getRadius(), setHeight(), setRadius(), SUPER, and XMLPortParam.


Member Data Documentation


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

Generated on Tue Jul 28 16:22:24 2009 for Orxonox by  doxygen 1.5.6