#include <Animation.h>
Public Member Functions | |
Animation (QObject *target, const QByteArray &propertyName, QObject *parent=0) | |
Constructor It constructs a Animation. More... | |
void | createAnimationDataInDisplayProjection (const te::dt::TimePeriod &period) |
It creates animation data for a given period; /param period The temporal period. 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... | |
Definition at line 58 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. |
Definition at line 4 of file Animation.cpp.
References te::qt::widgets::AnimationItem::m_animation.
|
virtual |
Destructor It destructs a Animation.
Definition at line 11 of file Animation.cpp.
void te::qt::widgets::Animation::createAnimationDataInDisplayProjection | ( | const te::dt::TimePeriod & | period | ) |
It creates animation data for a given period; /param period The temporal period.
Definition at line 15 of file Animation.cpp.
References te::qt::widgets::AnimationItem::createAnimationDataInDisplayProjection(), te::dt::TimePeriod::getFinalTimeInstant(), and te::dt::TimePeriod::getInitialTimeInstant().
Referenced by te::qt::widgets::TimeSliderWidget::createAnimations().
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). |
Definition at line 95 of file Animation.cpp.
References te::dt::TimeInstant::getTimeInstant(), and te::qt::widgets::AnimationItem::m_animationTime.
void te::qt::widgets::Animation::setDataKeyValues | ( | ) |
It It sets the data key values.
Definition at line 28 of file Animation.cpp.
References te::dt::TimeInstant::getTimeInstant(), te::qt::widgets::AnimationItem::m_animationRoute, te::qt::widgets::AnimationItem::m_animationTime, te::qt::widgets::AnimationItem::m_norFinalTime, and te::qt::widgets::AnimationItem::m_norInitialTime.
te::gm::Envelope te::qt::widgets::Animation::m_spatialExtent |
Spatial extent.
Definition at line 99 of file Animation.h.
Referenced by te::qt::widgets::TimeSliderWidget::calculateSpatialExtent(), te::qt::widgets::TimeSliderWidget::createAnimations(), te::qt::widgets::TimeSliderWidget::getEtaMetadata(), te::qt::widgets::TimeSliderWidget::getGoesMetadata(), te::qt::widgets::TimeSliderWidget::getHidroMetadata(), and te::qt::widgets::TimeSliderWidget::getTemporalImageMetadata().
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 101 of file Animation.h.
Referenced by te::qt::widgets::TimeSliderWidget::calculateTemporalExtent(), and te::qt::widgets::TimeSliderWidget::createAnimations().
te::dt::TimePeriod te::qt::widgets::Animation::m_temporalExtent |
Total temporal extent.
Definition at line 100 of file Animation.h.
Referenced by te::qt::widgets::TimeSliderWidget::addTrajectory(), te::qt::widgets::TimeSliderWidget::calculateTemporalExtent(), te::qt::widgets::TimeSliderWidget::createAnimations(), te::qt::widgets::TimeSliderWidget::getEtaMetadata(), te::qt::widgets::TimeSliderWidget::getGoesMetadata(), te::qt::widgets::TimeSliderWidget::getHidroMetadata(), and te::qt::widgets::TimeSliderWidget::getTemporalImageMetadata().