te::qt::widgets::Animation Class Reference

#include <Animation.h>

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

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

Detailed Description

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.

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.
virtual te::qt::widgets::Animation::~Animation ( )
virtual

Destructor It destructs a Animation.

Member Function Documentation

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.

Parameters
trelNormalized time (between 0 and 1).
Returns
The animation data index.
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.

Parameters
trelNormalized time (between 0 and 1).
Returns
The animation data index.
void te::qt::widgets::Animation::setDataKeyValues ( )

It It sets the data key values.

Member Data Documentation

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.


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