rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvBitmapTransitionHandler Class Reference

Transition Handler class. More...

#include <ilviews/util/transition.h>

Inheritance diagram for IlvBitmapTransitionHandler:
IlvTransitionHandler

List of all members.

Public Member Functions

 IlvBitmapTransitionHandler (IlvBitmapTransition &transition, IlvRGBBitmapData &image1, IlvRGBBitmapData &image2, IlvPort &dst)
 Constructor.
virtual void doTransition (IlvTransitionScheduler &scheduler, IlDouble previous, IlDouble current)
 Called by the scheduler to do the transition.
virtual void startTransition (IlvTransitionScheduler &scheduler)
 Called by the scheduler when starting the transition.

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:
transition The object that will compute the intermediate bitmaps.
image1 The source image.
image2 The destination image.
dst The 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:
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.

Implements IlvTransitionHandler.

virtual void IlvBitmapTransitionHandler::startTransition ( IlvTransitionScheduler scheduler  )  [virtual]

Called by the scheduler when starting the transition.

The default implementation does nothing.

Parameters:
scheduler The scheduler that triggered the transition.

Reimplemented from IlvTransitionHandler.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© 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.