orxonox::PlaneCollisionShape Class Reference

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

Inheritance diagram for orxonox::PlaneCollisionShape:

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

List of all members.

Public Member Functions

const Vector3 & getNormal ()
float getOffset ()
 PlaneCollisionShape (BaseObject *creator)
void registerVariables ()
void setNormal (const Vector3 &normal)
void setOffset (float offset)
virtual void XMLPort (Element &xmlelement, XMLPort::Mode mode)
 XML loading and saving.
virtual ~PlaneCollisionShape ()

Private Member Functions

btCollisionShape * createNewShape () const

Private Attributes

Vector3 normal_
float offset_


Constructor & Destructor Documentation

orxonox::PlaneCollisionShape::PlaneCollisionShape ( BaseObject creator  ) 

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


Member Function Documentation

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

Implements orxonox::CollisionShape.

References normal_, and offset_.

const Vector3& orxonox::PlaneCollisionShape::getNormal (  )  [inline]

Referenced by XMLPort().

float orxonox::PlaneCollisionShape::getOffset (  )  [inline]

Referenced by XMLPort().

void orxonox::PlaneCollisionShape::registerVariables (  ) 

void orxonox::PlaneCollisionShape::setNormal ( const Vector3 &  normal  )  [inline]

Referenced by XMLPort().

void orxonox::PlaneCollisionShape::setOffset ( float  offset  )  [inline]

Referenced by XMLPort().

void orxonox::PlaneCollisionShape::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 getNormal(), getOffset(), setNormal(), setOffset(), SUPER, and XMLPortParam.


Member Data Documentation


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

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