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

anoid::plugin::Scale Class Reference

#include <scale.hh>

Inheritance diagram for anoid::plugin::Scale:

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

Collaboration graph
[legend]
List of all members.

Public Methods

virtual simple::Vector getScale ()
 Scale ()
virtual void init (config::Configuration &c)
virtual void redraw ()

Protected Attributes

simple::Vector scale

Detailed Description

This is the ability to have a scale

Definition at line 14 of file scale.hh.


Constructor & Destructor Documentation

anoid::plugin::Scale::Scale  
 

Definition at line 23 of file scale.cc.

References anoid::simple::I().


Member Function Documentation

Vector anoid::plugin::Scale::getScale   [virtual]
 

Definition at line 19 of file scale.cc.

References scale, and Vector().

Referenced by anoid::plugin::Dynamics::receive().

void anoid::plugin::Scale::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, and anoid::plugin::SpinVelocity.

Definition at line 13 of file scale.cc.

References anoid::base::Ability::registerName(), and scale.

void anoid::plugin::Scale::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 26 of file scale.cc.

References anoid::base::Object::getWorld(), and scale.


Member Data Documentation

simple::Vector anoid::plugin::Scale::scale [protected]
 

Definition at line 16 of file scale.hh.

Referenced by getScale(), anoid::plugin::SpinVelocity::init(), init(), anoid::plugin::Dynamics::receive(), and redraw().


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