RotateTransition

class RotateTransition: public Transition

Implements a transition that rotates the specified pie slice inside a pie chart by the given data value.

Inherits from <>.

Summary
RotateTransitionImplements a transition that rotates the specified pie slice inside a pie chart by the given data value.
Functions
RotateTransitionInitializes the object.
~RotateTransitionReleases all allocated resources.
UpdateUpdates the transition by executing one rotation step.
CompleteChecks if the transition is completed.

Functions

RotateTransition

RotateTransition(PieSlice *pDataElement,
float fDeltaValue,
int iTotalSteps)

Initializes the object.

Parameters

pDataElementPointer to the data element to be rotated.
fDeltaValueTotal rotation value inside a pie chart (100.0f equals 360 degrees).
iTotalStepsDuration of the transition in steps.

~RotateTransition

~RotateTransition()

Releases all allocated resources.

Update

void Update()

Updates the transition by executing one rotation 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 RotateTransition: public Transition
Implements a transition that rotates the specified pie slice inside a pie chart by the given data value.
RotateTransition(PieSlice *pDataElement,
float fDeltaValue,
int iTotalSteps)
Initializes the object.
~RotateTransition()
Releases all allocated resources.
void Update()
Updates the transition by executing one rotation step.
bool Complete()
Checks if the transition is completed.
class Transition
Abstract class that implements the skeleton of a transition.
Close