MorphTransition

class MorphTransition: public Transition

Implements a morphing transition for morph elements.  The morph transition morphs the initial morph object’s shape to the desired result shape.

Inherits from Transition.

Summary
MorphTransitionImplements a morphing transition for morph elements.
Functions
MorphTransitionInitializes the object.
~MorphTransitionReleases all allocated resources.
UpdateUpdates the transition by executing one morphing step.
CompleteChecks if the transition is completed.

Functions

MorphTransition

MorphTransition(MorphElement *pInitialMorphElement,
MorphElement *pResultMorphElement,
int iTotalSteps)

Initializes the object.

Parameters

pInitialMorphElementPointer to the morph element to be morphed.
pResultMorphElementPointer to the morph element whose shape shall be the result of the morphing process.
iTotalStepsDuration of the transition in steps.

~MorphTransition

~MorphTransition()

Releases all allocated resources.

Update

void Update()

Updates the transition by executing one morphing step.  Inherited from Transition.

Complete

bool Complete()

Checks if the transition is completed.  Inherited from Transition.

Returns

A boolean value indicating if the transition is completed.

class MorphTransition: public Transition
Implements a morphing transition for morph elements.
MorphTransition(MorphElement *pInitialMorphElement,
MorphElement *pResultMorphElement,
int iTotalSteps)
Initializes the object.
~MorphTransition()
Releases all allocated resources.
void Update()
Updates the transition by executing one morphing step.
bool Complete()
Checks if the transition is completed.
class Transition
Abstract class that implements the skeleton of a transition.
Close