orxonox::CompoundCollisionShape Class Reference

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

Inheritance diagram for orxonox::CompoundCollisionShape:

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

List of all members.

Public Member Functions

void attach (CollisionShape *shape)
 CompoundCollisionShape (BaseObject *creator)
void detach (CollisionShape *shape)
void detachAll ()
CollisionShapegetAttachedShape (unsigned int index) const
void updateAttachedShape (CollisionShape *shape)
virtual void XMLPort (Element &xmlelement, XMLPort::Mode mode)
 XML loading and saving.
virtual ~CompoundCollisionShape ()

Private Member Functions

virtual btCollisionShape * createNewShape () const
void updatePublicShape ()

Private Attributes

std::map< CollisionShape
*, btCollisionShape * > 
attachedShapes_
btCompoundShape * compoundShape_


Constructor & Destructor Documentation

orxonox::CompoundCollisionShape::CompoundCollisionShape ( BaseObject creator  ) 

References compoundShape_, and RegisterObject.

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


Member Function Documentation

void orxonox::CompoundCollisionShape::attach ( CollisionShape shape  ) 

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

void orxonox::CompoundCollisionShape::detach ( CollisionShape shape  ) 

void orxonox::CompoundCollisionShape::detachAll (  ) 

References attachedShapes_, and detach().

CollisionShape * orxonox::CompoundCollisionShape::getAttachedShape ( unsigned int  index  )  const

void orxonox::CompoundCollisionShape::updateAttachedShape ( CollisionShape shape  ) 

void orxonox::CompoundCollisionShape::updatePublicShape (  )  [private]

void orxonox::CompoundCollisionShape::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 attach(), detach(), SUPER, and XMLPortObject.


Member Data Documentation

std::map<CollisionShape*, btCollisionShape*> orxonox::CompoundCollisionShape::attachedShapes_ [private]


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