Transition Handler class. More...
#include <ilviews/util/transition.h>
Public Member Functions | |
virtual void | doTransition (IlvTransitionScheduler &scheduler, IlDouble oldRate, IlDouble newRate)=0 |
Called by the scheduler to do the transition. More... | |
virtual void | startTransition (IlvTransitionScheduler &scheduler) |
Called by the scheduler when starting the transition. More... | |
virtual void | stopTransition (IlvTransitionScheduler &scheduler) |
Called by the scheduler when stopping the transition. More... | |
Transition Handler class.
Library: views
This abstract class is the base class for all transitions handler classes. It provides an interface that manages transitions using a percentage of completion of the transition. The scheduling of the transition handler is managed by the IlvTransitionScheduler
class.
IlvTransitionScheduler
|
pure virtual |
Called by the scheduler to do the transition.
Override this method to implement your own transition.
scheduler | The scheduler that triggered the transition. |
oldRate | The old rate. Valid values are double values in the interval 0-100. |
newRate | The new rate. Valid values are double values in the interval 0-100. |
Implemented in IlvBitmapTransitionHandler.
|
virtual |
Called by the scheduler when starting the transition.
The default implementation does nothing.
scheduler | The scheduler that triggered the transition. |
Reimplemented in IlvBitmapTransitionHandler.
|
virtual |
Called by the scheduler when stopping the transition.
The default implementation does nothing.
scheduler | The scheduler that triggered the transition. |