CIvfRotateController Class Reference

#include <ivfctl/IvfRotateController.h>

Inheritance diagram for CIvfRotateController:

CIvfController CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

 CIvfRotateController ()
virtual ~CIvfRotateController ()
 IvfClassInfo ("CIvfRotateController", CIvfController)
void setRotationSpeed (double vx, double vy, double vz)
void getRotationSpeed (double &vx, double &vy, double &vz)
void setRotationSpeed (double v)
virtual void doUpdate (double dt)

Detailed Description

Rotation controller class

This class can control the rotation of an object around a given axis using a specified speed or by specifying a rotation speed around the three main axes

Examples:

actionctl.cpp, and controllers.cpp.

Definition at line 38 of file IvfRotateController.h.


Constructor & Destructor Documentation

CIvfRotateController::CIvfRotateController  ) 
 

CIvfRotateController constructor

virtual CIvfRotateController::~CIvfRotateController  )  [virtual]
 

CIvfRotateController destructor


Member Function Documentation

virtual void CIvfRotateController::doUpdate double  dt  )  [virtual]
 

Virtual update routine

This method should be overridden in derived classes to handle incremental time update

Parameters:
dt time since last call in seconds.

Reimplemented from CIvfController.

void CIvfRotateController::getRotationSpeed double &  vx,
double &  vy,
double &  vz
 

Get rotation speeds around x, y and z axes

void CIvfRotateController::setRotationSpeed double  v  ) 
 

Set rotation speed around the rotation axis of the object

void CIvfRotateController::setRotationSpeed double  vx,
double  vy,
double  vz
 

Set rotation speeds around x, y and z axes


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:56 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO