#include <GOrbitingAgent.h>
Inheritance diagram for GBE::GOrbitingAgent:


Public Member Functions | |
| GOrbitingAgent (const GCS::GVector3 &axis, double rotation_speed) | |
| virtual | ~GOrbitingAgent () |
| virtual void | run () |
Protected Attributes | |
| GCS::GVector3 | Axis |
| double | RotationSpeed |
| GBE::GOrbitingAgent::GOrbitingAgent | ( | const GCS::GVector3 & | axis, | |
| double | rotation_speed | |||
| ) |
Constructor.
| virtual GBE::GOrbitingAgent::~GOrbitingAgent | ( | ) | [inline, virtual] |
Virtual Destructor.
| void GBE::GOrbitingAgent::run | ( | ) | [virtual] |
The thread run method which does the orbiting. Currently using hardcoded update interval of 100 ms. Orbiting itself is done by directly rotating the position around (0,0,0) - the center of the parent element.
Reimplemented from GCS::GAgent.
GCS::GVector3 GBE::GOrbitingAgent::Axis [protected] |
The Axis around which to orbit.
double GBE::GOrbitingAgent::RotationSpeed [protected] |
The orbiting speed.
1.4.7