CIvfController Class Reference

#include <ivfctl/IvfController.h>

Inheritance diagram for CIvfController:

CIvfBase CIvfRefCountBase CIvfRTTIBase CIvfCameraController CIvfColorController CIvfControllerGroup CIvfPathController CIvfRotateController CIvfSlerpController CIvfActionController List of all members.

Public Member Functions

 CIvfController ()
virtual ~CIvfController ()
 IvfClassInfo ("CIvfController", CIvfBase)
void activate ()
void deactivate ()
bool isActive ()
void reset ()
void update (double dt)
void action (CIvfAction *action)
void setShape (CIvfShape *shape)
CIvfShapegetShape ()
void setLight (CIvfLight *light)
CIvfLightgetLight ()
void setStartAction (CIvfAction *action)
void setEndAction (CIvfAction *action)
virtual void doUpdate (double dt)
virtual void doReset ()
virtual void doAction (CIvfAction *action)
virtual void doDeactivate ()
virtual void doActivate ()
virtual void doEndAction ()
virtual void doStartAction ()

Detailed Description

Controller class

Base class for the different controllers in Ivf++

Definition at line 42 of file IvfController.h.


Constructor & Destructor Documentation

CIvfController::CIvfController  ) 
 

CIvfController constructor

virtual CIvfController::~CIvfController  )  [virtual]
 

CIvfController destructor


Member Function Documentation

void CIvfController::action CIvfAction action  ) 
 

Perform specified action

Parameters:
action Action to be performed on the controller. Calls doAction on derived classes.

void CIvfController::activate  ) 
 

Make the controller active

void CIvfController::deactivate  ) 
 

Make the controller inactive (default)

virtual void CIvfController::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 in CIvfActionController, CIvfCameraController, CIvfColorController, CIvfControllerGroup, CIvfPathController, CIvfRotateController, and CIvfSlerpController.

CIvfLight* CIvfController::getLight  ) 
 

Retrieve controlled light

CIvfShape* CIvfController::getShape  ) 
 

Return controlled shape

bool CIvfController::isActive  ) 
 

Return true if controller is active

void CIvfController::reset  ) 
 

Reset controller to initial state

void CIvfController::setEndAction CIvfAction action  ) 
 

Set end action

This action is performed when the controller has reached the end position

void CIvfController::setLight CIvfLight light  ) 
 

Set light to be controlled

void CIvfController::setShape CIvfShape shape  ) 
 

Set shape to be controller

void CIvfController::setStartAction CIvfAction action  ) 
 

Set start action

This action is performed when the controller has returned to the starting state

void CIvfController::update double  dt  ) 
 

Incremental update of controller

Parameters:
dt time passed since last call of update in seconds


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