#include <OrbitEffect.H>
Inherits cavewriting::Effect.
Public Member Functions | |
OrbitEffect (Word *word, double startTime=0, double duration=100, bool startPaused=false, const Vector3 &initialPosition=Vector3(2, 2, 2), double radius=1.0, double theta=0.0, double delta=0.01, double height=0.0) | |
virtual | ~OrbitEffect () |
virtual void | animate () |
Subclasses should implement. | |
CoordinateFrame | getCFrameAtTheta (double theta) |
double | getTheta () |
void | setTheta (double theta) |
Static Public Member Functions | |
static void | stopAll () |
static OrbitEffect * | createDefaultOrbitEffect (Word *word, bool startPaused=false) |
Protected Attributes | |
Vector3 | _positionOffset |
double | _radius |
double | _theta |
bool | _firstTime |
double | _delta |
double | _height |
double | _rotOffAxisX |
double | _rotOffAxisY |
double | _rotOffAxisZ |
|
|
|
|
|
Subclasses should implement.
Reimplemented from cavewriting::Effect. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|