Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

anoid::plugin::Rotation Class Reference

#include <rotation.hh>

Inheritance diagram for anoid::plugin::Rotation:

Inheritance graph
[legend]
Collaboration diagram for anoid::plugin::Rotation:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual double * getRotation ()
virtual void redraw ()
virtual void init (config::Configuration &c)

Protected Attributes

double rotation [16]

Detailed Description

This is the ability to have a rotation

Definition at line 14 of file rotation.hh.


Member Function Documentation

double * anoid::plugin::Rotation::getRotation   [virtual]
 

Todo:
fjernes

Definition at line 31 of file rotation.cc.

References rotation.

void anoid::plugin::Rotation::init config::Configuration   c [virtual]
 

This is the real initialiser. It should take it's parameters from the provided configuration

Parameters:
c  the configuration describing this object and it's children

Reimplemented from anoid::base::Ability.

Reimplemented in anoid::plugin::Dynamics, anoid::plugin::Spin, and anoid::plugin::SpinVelocity.

Definition at line 16 of file rotation.cc.

References anoid::base::Object::getWorld(), anoid::base::Ability::parentElement, anoid::base::Ability::registerName(), and rotation.

void anoid::plugin::Rotation::redraw   [virtual]
 

Called just after update has been called on the entire world. This should draw the objects (using OpenGL).

Reimplemented from anoid::base::Object.

Reimplemented in anoid::plugin::Dynamics, and anoid::plugin::SpinVelocity.

Definition at line 11 of file rotation.cc.

References rotation.


Member Data Documentation

double anoid::plugin::Rotation::rotation[16] [protected]
 

Definition at line 16 of file rotation.hh.

Referenced by getRotation(), init(), anoid::plugin::Dynamics::receive(), redraw(), anoid::plugin::Spin::setRotation(), anoid::plugin::SpinVelocity::update(), and anoid::plugin::Spin::update().


The documentation for this class was generated from the following files:
Anoid NG © Michael Westergaard, Martin Stig Stissing, Ronni Michael Laursen, and Kristian Bisgaard Lassen