Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

cavewriting::OrbitEffect Class Reference

#include <OrbitEffect.H>

Inherits cavewriting::Effect.

List of all members.

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 OrbitEffectcreateDefaultOrbitEffect (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

Constructor & Destructor Documentation

cavewriting::OrbitEffect::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 cavewriting::OrbitEffect::~OrbitEffect  )  [virtual]

Member Function Documentation

virtual void cavewriting::OrbitEffect::animate  )  [virtual]

Subclasses should implement.

Reimplemented from cavewriting::Effect.

static OrbitEffect* cavewriting::OrbitEffect::createDefaultOrbitEffect Word word,
bool  startPaused = false

CoordinateFrame cavewriting::OrbitEffect::getCFrameAtTheta double  theta  ) 

double cavewriting::OrbitEffect::getTheta  )  [inline]

void cavewriting::OrbitEffect::setTheta double  theta  )  [inline]

static void cavewriting::OrbitEffect::stopAll  )  [static]

Member Data Documentation

double cavewriting::OrbitEffect::_delta [protected]

bool cavewriting::OrbitEffect::_firstTime [protected]

double cavewriting::OrbitEffect::_height [protected]

Vector3 cavewriting::OrbitEffect::_positionOffset [protected]

double cavewriting::OrbitEffect::_radius [protected]

double cavewriting::OrbitEffect::_rotOffAxisX [protected]

double cavewriting::OrbitEffect::_rotOffAxisY [protected]

double cavewriting::OrbitEffect::_rotOffAxisZ [protected]

double cavewriting::OrbitEffect::_theta [protected]

The documentation for this class was generated from the following file:
Generated on Sun Apr 17 13:34:28 2005 for cavewriting by  doxygen 1.4.0