All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::qt::widgets::Animation Class Reference

#include <Animation.h>

Inheritance diagram for te::qt::widgets::Animation:

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...
 

Detailed Description

Definition at line 58 of file Animation.h.

Constructor & Destructor Documentation

te::qt::widgets::Animation::Animation ( QObject *  target,
const QByteArray &  propertyName,
QObject *  parent = 0 
)

Constructor It constructs a Animation.

Parameters
targetThe target QObject for this animation.
propertyNameThe target property name for this animation.
parentParent of this object.

Definition at line 4 of file Animation.cpp.

References te::qt::widgets::AnimationItem::m_animation.

te::qt::widgets::Animation::~Animation ( )
virtual

Destructor It destructs a Animation.

Definition at line 11 of file Animation.cpp.

Member Function Documentation

void te::qt::widgets::Animation::createAnimationDataInDisplayProjection ( const te::dt::TimePeriod period)
int te::qt::widgets::Animation::getAnimationDataIndex ( const double &  trel)

It It gets the animation data index. It is relative to temporal animation extent.

Parameters
trelNormalized time (between 0 and 1).
Returns
The animation data index.

Definition at line 95 of file Animation.cpp.

References te::dt::TimeInstant::getTimeInstant(), and te::qt::widgets::AnimationItem::m_animationTime.

Member Data Documentation

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().


The documentation for this class was generated from the following files: