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

anoid::plugin::Color Class Reference

#include <color.hh>

Inheritance diagram for anoid::plugin::Color:

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

Collaboration graph
[legend]
List of all members.

Public Methods

virtual simple::Vector getColor ()
virtual void setColor (const simple::Vector &v)
 Color ()
virtual void init (config::Configuration &c)
virtual void redraw ()

Protected Attributes

simple::Vector color

Detailed Description

This is the ability to have a color

Definition at line 14 of file color.hh.


Constructor & Destructor Documentation

anoid::plugin::Color::Color  
 

Definition at line 26 of file color.cc.

References anoid::simple::I().


Member Function Documentation

Vector anoid::plugin::Color::getColor   [virtual]
 

Definition at line 18 of file color.cc.

References color, and Vector().

void anoid::plugin::Color::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.

Definition at line 12 of file color.cc.

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

void anoid::plugin::Color::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.

Definition at line 29 of file color.cc.

References color, anoid::simple::Point::getX(), anoid::simple::Point::getY(), and anoid::simple::Point::getZ().

virtual void anoid::plugin::Color::setColor const simple::Vector   v [virtual]
 


Member Data Documentation

simple::Vector anoid::plugin::Color::color [protected]
 

Definition at line 16 of file color.hh.

Referenced by getColor(), init(), 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