rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvBitmapTransitionHandler Class Reference

Transition Handler class. More...

#include <ilviews/util/transition.h>

Inheritance diagram for IlvBitmapTransitionHandler:
IlvTransitionHandler

Public Member Functions

 IlvBitmapTransitionHandler (IlvBitmapTransition &transition, IlvRGBBitmapData &image1, IlvRGBBitmapData &image2, IlvPort &dst)
 Constructor. More...
 
virtual void doTransition (IlvTransitionScheduler &scheduler, IlDouble previous, IlDouble current)
 Called by the scheduler to do the transition. More...
 
virtual void startTransition (IlvTransitionScheduler &scheduler)
 Called by the scheduler when starting the transition. More...
 
- Public Member Functions inherited from IlvTransitionHandler
virtual void stopTransition (IlvTransitionScheduler &scheduler)
 Called by the scheduler when stopping the transition. More...
 

Detailed Description

Transition Handler class.

Library: views

This class handles transitions between two IlvRGBBitmapData objects. The intermediate bitmaps are computed using the IlvBitmapTransition class.

See Also
IlvBitmapTransition

Constructor & Destructor Documentation

IlvBitmapTransitionHandler::IlvBitmapTransitionHandler ( IlvBitmapTransition transition,
IlvRGBBitmapData image1,
IlvRGBBitmapData image2,
IlvPort dst 
)

Constructor.

Initializes a new instance of the IlvBitmapTransitionHandler class.

Parameters
transitionThe object that will compute the intermediate bitmaps.
image1The source image.
image2The destination image.
dstThe port where will be copied the intermediate images.

Member Function Documentation

virtual void IlvBitmapTransitionHandler::doTransition ( IlvTransitionScheduler scheduler,
IlDouble  oldRate,
IlDouble  newRate 
)
virtual

Called by the scheduler to do the transition.

Override this method to implement your own transition.

Parameters
schedulerThe scheduler that triggered the transition.
oldRateThe old rate. Valid values are double values in the interval 0-100.
newRateThe new rate. Valid values are double values in the interval 0-100.

Implements IlvTransitionHandler.

virtual void IlvBitmapTransitionHandler::startTransition ( IlvTransitionScheduler scheduler)
virtual

Called by the scheduler when starting the transition.

The default implementation does nothing.

Parameters
schedulerThe scheduler that triggered the transition.

Reimplemented from IlvTransitionHandler.


© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.