class ValueChangeTransition: public CompoundTransition
Implements a complex sequence of transitions that maps data entries of another data set to the data elements of the current chart, thus providing a value change between data sets.
Inherits from CompoundTransition.
ValueChangeTransition | Implements a complex sequence of transitions that maps data entries of another data set to the data elements of the current chart, thus providing a value change between data sets. |
Functions | |
ValueChangeTransition | Initializes the object by creating all transitions and intermediate objects. |
~ValueChangeTransition | Releases all allocated resources. |
Update | Updates the transition by executing the active child transition. |
Draw | Draws the transition by drawing the initial chart. |
Complete | Checks if all child transitions are completed. |
GetActiveChart | Returns the active chart of the transition. |
GetDataEntryByName | Help function which searches for a data entry of the given name in the given vector of data entries and returns it if present, else NULL. |
void Update()
Updates the transition by executing the active child transition. Inherited from Transition.
void Draw( QPainter * pPainter )
Draws the transition by drawing the initial chart. Inherited from CompoundTransition.
pPainter | The QPainter object that shall be used for painting. |
bool Complete()
Checks if all child transitions are completed. Inherited from Transition.
A boolean value indicating if all child transitions are completed.
Chart* GetActiveChart()
Returns the active chart of the transition. This is the active chart of the active transition if present, else the initial chart. Inherited from CompoundTransition.
Returns the active chart of the transition.
DataEntry* GetDataEntryByName( std:: vector<DataEntry*> vDataEntries, std:: string sName )
Help function which searches for a data entry of the given name in the given vector of data entries and returns it if present, else NULL.
vDataEntries | A vector of data entries to be searched for the data entry. |
sName | Name of the data entry to be searched. |
The data entry of the searched name if present, else NULL.
Implements a complex sequence of transitions that maps data entries of another data set to the data elements of the current chart, thus providing a value change between data sets.
class ValueChangeTransition: public CompoundTransition
Initializes the object by creating all transitions and intermediate objects.
ValueChangeTransition( Chart * pInitialChart, DataSet * pNewDataSet )
Releases all allocated resources.
~ValueChangeTransition()
Updates the transition by executing the active child transition.
void Update()
Draws the transition by drawing the initial chart.
void Draw( QPainter * pPainter )
Checks if all child transitions are completed.
bool Complete()
Returns the active chart of the transition.
Chart* GetActiveChart()
Help function which searches for a data entry of the given name in the given vector of data entries and returns it if present, else NULL.
DataEntry* GetDataEntryByName( std:: vector<DataEntry*> vDataEntries, std:: string sName )
Abstract class that implements the skeleton of a compound transition, i.e.
class CompoundTransition: public Transition
Abstract class that implements the skeleton of a transition.
class Transition