orxonox::StaticEntity Class Reference

#include <src/orxonox/objects/worldentities/StaticEntity.h>

Inheritance diagram for orxonox::StaticEntity:

orxonox::WorldEntity orxonox::BaseObject orxonox::Synchronisable orxonox::OrxonoxClass orxonox::OrxonoxClass orxonox::Attacher orxonox::Billboard orxonox::Camera orxonox::CameraPosition orxonox::DroppedItem orxonox::ForceField orxonox::Light orxonox::Model orxonox::ParticleEmitter orxonox::PickupSpawner orxonox::PongCenterpoint orxonox::QuestEffectBeacon orxonox::SpawnPoint orxonox::Trigger orxonox::Weapon orxonox::WeaponSlot

List of all members.

Public Member Functions

void registerVariables ()
void setOrientation (const Quaternion &orientation)
void setPosition (const Vector3 &position)
 StaticEntity (BaseObject *creator)
virtual ~StaticEntity ()

Private Member Functions

void getWorldTransform (btTransform &worldTrans) const
bool isCollisionTypeLegal (CollisionType type) const
 Function checks whether the requested collision type is legal to this object.
void orientationChanged ()
void positionChanged ()
void setWorldTransform (const btTransform &worldTrans)


Constructor & Destructor Documentation

orxonox::StaticEntity::StaticEntity ( BaseObject creator  ) 

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


Member Function Documentation

void orxonox::StaticEntity::getWorldTransform ( btTransform &  worldTrans  )  const [private]

bool orxonox::StaticEntity::isCollisionTypeLegal ( CollisionType  type  )  const [private, virtual]

Function checks whether the requested collision type is legal to this object.

You can override this function in a derived class to constrain the collision to e.g. None or Dynamic. A projectile may not prove very useful if there is no physical body. Simply set the CollisionType in its constructor and override this method. But be careful that a derived classe's virtual functions don't yet exist in the constructor if a base class.

Implements orxonox::WorldEntity.

References CCOUT, orxonox::WorldEntity::Dynamic, and orxonox::WorldEntity::Kinematic.

void orxonox::StaticEntity::orientationChanged (  )  [inline, private]

Referenced by registerVariables().

void orxonox::StaticEntity::positionChanged (  )  [inline, private]

Referenced by registerVariables().

void orxonox::StaticEntity::registerVariables (  ) 

void orxonox::StaticEntity::setOrientation ( const Quaternion &  orientation  )  [virtual]

void orxonox::StaticEntity::setPosition ( const Vector3 &  position  )  [virtual]

void orxonox::StaticEntity::setWorldTransform ( const btTransform &  worldTrans  )  [private]

References OrxAssert.


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