cyber::world::BodyObjectDesc Class Reference

#include <BodyObjectDesc.h>

Inheritance diagram for cyber::world::BodyObjectDesc:
cyber::world::ObjectDesc cyber::world::BoxBodyObjectDesc cyber::world::PolyBodyObjectDesc cyber::world::SphereBodyObjectDesc cyber::world::blocks::BlockDesc cyber::world::blocks::FixedBlockDesc

List of all members.

Public Member Functions

const ml7::Vector2get_position () const
void set_position (const ml7::Vector2 &position)
float get_orientation () const
void set_orientation (float orientation)

Protected Member Functions

 BodyObjectDesc (ClassID class_id, unsigned id, const ml7::Vector2 &position, float orientation)
 BodyObjectDesc (const BodyObjectDesc &rhs)
BodyObjectDescoperator= (const BodyObjectDesc &rhs)
virtual ~BodyObjectDesc (void)

Detailed Description

The base body object description class.


Constructor & Destructor Documentation

cyber::world::BodyObjectDesc::BodyObjectDesc ( ClassID  class_id,
unsigned  id,
const ml7::Vector2 position,
float  orientation 
) [protected]

Explicit constructor.

cyber::world::BodyObjectDesc::BodyObjectDesc ( const BodyObjectDesc rhs  )  [protected]

Copy constructor.

cyber::world::BodyObjectDesc::~BodyObjectDesc ( void   )  [protected, virtual]

Destructor.


Member Function Documentation

float cyber::world::BodyObjectDesc::get_orientation (  )  const [inline]

Returns the angular orientation in world-space.

const ml7::Vector2& cyber::world::BodyObjectDesc::get_position (  )  const [inline]

Returns the linear position in world-space.

BodyObjectDesc & cyber::world::BodyObjectDesc::operator= ( const BodyObjectDesc rhs  )  [protected]
void cyber::world::BodyObjectDesc::set_orientation ( float  orientation  )  [inline]

Sets the angular orientation in world-space.

void cyber::world::BodyObjectDesc::set_position ( const ml7::Vector2 position  )  [inline]

Sets the linear position in world-space.


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

Generated on Tue Dec 1 13:21:14 2009 for flange77: Cyber E-Razor rockt die Galaxis by  doxygen 1.6.1