#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 | getClosestAnimationDataIndex (const double &trel) |
It It gets the closest animation data index. More... | |
int | getNextAnimationDataIndex (const double &trel) |
It It gets the next animation data index. it is the end point, between two points of the trajectory. 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::getClosestAnimationDataIndex | ( | const double & | trel | ) |
It It gets the closest animation data index.
trel | Normalized time (between 0 and 1). |
int te::qt::widgets::Animation::getNextAnimationDataIndex | ( | const double & | trel | ) |
It It gets the next animation data index. it is the end point, between two points of the trajectory.
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 109 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 111 of file Animation.h.
te::dt::TimePeriod te::qt::widgets::Animation::m_temporalExtent |
Total temporal extent.
Definition at line 110 of file Animation.h.