#include <Animation.h>
Public Member Functions | |
void | adjustDataToAnimationTemporalExtent (const te::dt::TimePeriod &period) |
It adjust animation data for a given period; /param period The temporal period. More... | |
Animation (QObject *target, const QByteArray &propertyName, QObject *parent=0) | |
Constructor It constructs a Animation. More... | |
int | getAnimationDataIndex (const double &trel) |
It It gets the animation data index. It is relative to temporal animation extent. More... | |
void | setDataKeyValues () |
It It sets the data key values. More... | |
virtual | ~Animation () |
Destructor It destructs a Animation. More... | |
Public Attributes | |
te::gm::Envelope | m_spatialExtent |
Spatial extent. More... | |
te::dt::TimePeriod | m_temporalAnimationExtent |
Temporal animation extent. It can be a portion of the total or greater than the total. More... | |
te::dt::TimePeriod | m_temporalExtent |
Total temporal extent. More... | |
This class is responsible for making the animation of a trajectory or temporal image. It has controls like loop, forward, backward and pause.
Definition at line 59 of file Animation.h.
te::qt::widgets::Animation::Animation | ( | QObject * | target, |
const QByteArray & | propertyName, | ||
QObject * | parent = 0 |
||
) |
Constructor It constructs a Animation.
target | The target QObject for this animation. |
propertyName | The target property name for this animation. |
parent | Parent of this object. |
|
virtual |
Destructor It destructs a Animation.
void te::qt::widgets::Animation::adjustDataToAnimationTemporalExtent | ( | const te::dt::TimePeriod & | period | ) |
It adjust animation data for a given period; /param period The temporal period.
int te::qt::widgets::Animation::getAnimationDataIndex | ( | const double & | trel | ) |
It It gets the animation data index. It is relative to temporal animation extent.
trel | Normalized time (between 0 and 1). |
void te::qt::widgets::Animation::setDataKeyValues | ( | ) |
It It sets the data key values.
te::gm::Envelope te::qt::widgets::Animation::m_spatialExtent |
Spatial extent.
Definition at line 100 of file Animation.h.
te::dt::TimePeriod te::qt::widgets::Animation::m_temporalAnimationExtent |
Temporal animation extent. It can be a portion of the total or greater than the total.
Definition at line 102 of file Animation.h.
te::dt::TimePeriod te::qt::widgets::Animation::m_temporalExtent |
Total temporal extent.
Definition at line 101 of file Animation.h.