class RotateTransition: public Transition
Implements a transition that rotates the specified pie slice inside a pie chart by the given data value.
Inherits from <>.
| RotateTransition | Implements a transition that rotates the specified pie slice inside a pie chart by the given data value. |
| Functions | |
| RotateTransition | Initializes the object. |
| ~RotateTransition | Releases all allocated resources. |
| Update | Updates the transition by executing one rotation step. |
| Complete | Checks if the transition is completed. |
RotateTransition( PieSlice * pDataElement, float fDeltaValue, int iTotalSteps )
Initializes the object.
| pDataElement | Pointer to the data element to be rotated. |
| fDeltaValue | Total rotation value inside a pie chart (100.0f equals 360 degrees). |
| iTotalSteps | Duration of the transition in steps. |
void Update()
Updates the transition by executing one rotation step. Inherited from Transition.
bool Complete()
Checks if the transition is completed. Inherited from Transition.
A boolean value indicating if the transition is completed.
Implements a transition that rotates the specified pie slice inside a pie chart by the given data value.
class RotateTransition: public Transition
Initializes the object.
RotateTransition( PieSlice * pDataElement, float fDeltaValue, int iTotalSteps )
Releases all allocated resources.
~RotateTransition()
Updates the transition by executing one rotation step.
void Update()
Checks if the transition is completed.
bool Complete()
Abstract class that implements the skeleton of a transition.
class Transition