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

anoid::plugin::Sphere Class Reference

#include <sphere.hh>

Inheritance diagram for anoid::plugin::Sphere:

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

Collaboration graph
[legend]
List of all members.

Public Methods

virtual void redraw ()
virtual void init (config::Configuration &c)
virtual void getInverseInertiaTensor (double *output, double a, double b, double c)

Member Function Documentation

void anoid::plugin::Sphere::getInverseInertiaTensor double *    output,
double    a,
double    b,
double    c
[virtual]
 

Calculate the inverse of the intertia tensor in local coordinates

Parameters:
output  the inverse of the intertia tensor in local coordinates is returned here, expected to be a 4x4 matrix
a  the scaling along the X axis
b  the scaling along the Y axis
c  the scaling along the Z axis

Reimplemented from anoid::base::Shape.

Definition at line 40 of file sphere.cc.

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

Definition at line 18 of file sphere.cc.

References anoid::plugin::display, anoid::plugin::inited, anoid::base::Object::parent, and anoid::plugin::sphereshape.

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

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

Reimplemented from anoid::base::Shape.

Definition at line 13 of file sphere.cc.

References anoid::plugin::display.


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