#include <TrajectoryItem.h>
Definition at line 57 of file TrajectoryItem.h.
te::qt::widgets::TrajectoryItem::TrajectoryItem |
( |
const QString & |
title, |
|
|
const QString & |
id, |
|
|
te::qt::widgets::MapDisplay * |
display, |
|
|
const QString & |
file, |
|
|
const QSize & |
size |
|
) |
| |
Constructor It constructs a Trajectory Icon Item.
- Parameters
-
title | The icon item title. |
id | The trajectory layer id. |
display | Where the icon item is displayed. |
file | The icon file. |
size | icon size. |
virtual te::qt::widgets::TrajectoryItem::~TrajectoryItem |
( |
| ) |
|
|
virtual |
Destructor It destructs a Trajectory Icon Item.
virtual void te::qt::widgets::AnimationItem::adjustDataToAnimationTemporalExtent |
( |
| ) |
|
|
virtualinherited |
void te::qt::widgets::TrajectoryItem::draw |
( |
| ) |
|
|
virtual |
Draw the trajectory long trail. It draws the beginning until the current time. The beginning depends on the direction (forward or backward).
Implements te::qt::widgets::AnimationItem.
void te::qt::widgets::TrajectoryItem::drawForward |
( |
const unsigned int & |
curTime | ) |
|
|
virtual |
Draw a piece of tracktrajectory trail. It draws from the previous time to the current time.
curTime The trajectory current time.
Implements te::qt::widgets::AnimationItem.
void te::qt::widgets::TrajectoryItem::drawIcon |
( |
QPainter * |
painter | ) |
|
draw tracktrajectory icon.
painter Painter.
void te::qt::widgets::TrajectoryItem::erase |
( |
const unsigned int & |
curTime | ) |
|
|
virtual |
QAbstractAnimation::Direction te::qt::widgets::AnimationItem::getDirection |
( |
| ) |
|
|
inherited |
unsigned int te::qt::widgets::AnimationItem::getDuration |
( |
| ) |
|
|
inherited |
QPoint te::qt::widgets::AnimationItem::getPosInDeviceCoordinate |
( |
| ) |
|
|
inherited |
It returns the Animation Item position in device coordinate.
- Returns
- Position in device coordinate.
void te::qt::widgets::TrajectoryItem::paint |
( |
QPainter * |
, |
|
|
const QStyleOptionGraphicsItem * |
, |
|
|
QWidget * |
|
|
) |
| |
|
virtual |
void te::qt::widgets::AnimationItem::setDirection |
( |
const QAbstractAnimation::Direction & |
direction | ) |
|
|
inherited |
Sets the Animation Item direction.
- Parameters
-
void te::qt::widgets::AnimationItem::setDuration |
( |
const unsigned int & |
duration | ) |
|
|
inherited |
void te::qt::widgets::TrajectoryItem::transformToDisplayProjection |
( |
QVector< QPointF > & |
vec | ) |
|
It transform coodinates to map display projection coodinates.
- Parameters
-
vec | Coordinates in native projection. |
Animation* te::qt::widgets::AnimationItem::m_animation |
|
inherited |
QVector<QPointF> te::qt::widgets::AnimationItem::m_animationRoute |
|
inherited |
It contains only the portions to be animated.
Definition at line 150 of file AnimationItem.h.
The animation time. It contains only the portions to be animated.
Definition at line 148 of file AnimationItem.h.
bool te::qt::widgets::AnimationItem::m_automaticPan |
|
inherited |
QColor te::qt::widgets::TrajectoryItem::m_backwardColor |
unsigned int te::qt::widgets::AnimationItem::m_curTimeDuration |
|
inherited |
Current time (ms). Its value is between 0 and the total duration.
Definition at line 154 of file AnimationItem.h.
QAbstractAnimation::Direction te::qt::widgets::AnimationItem::m_direction |
|
inherited |
Indicates where the icon item is displayed.
Definition at line 144 of file AnimationItem.h.
bool te::qt::widgets::TrajectoryItem::m_doIconRotate |
bool te::qt::widgets::TrajectoryItem::m_drawTrail |
unsigned int te::qt::widgets::AnimationItem::m_duration |
|
inherited |
bool te::qt::widgets::TrajectoryItem::m_erasePerfectly |
flag to erase trajectory piece perfectly (default = false).
Definition at line 129 of file TrajectoryItem.h.
QColor te::qt::widgets::TrajectoryItem::m_forwardColor |
QString te::qt::widgets::TrajectoryItem::m_iconFile |
QSize te::qt::widgets::TrajectoryItem::m_iconSize |
QString te::qt::widgets::TrajectoryItem::m_layerId |
int te::qt::widgets::TrajectoryItem::m_lineWidth |
QMatrix te::qt::widgets::AnimationItem::m_matrix |
|
inherited |
double te::qt::widgets::AnimationItem::m_norFinalTime |
|
inherited |
double te::qt::widgets::AnimationItem::m_norInitialTime |
|
inherited |
Normalized initial time (between 0 and 1).
Definition at line 155 of file AnimationItem.h.
int te::qt::widgets::AnimationItem::m_opacity |
|
inherited |
double te::qt::widgets::AnimationItem::m_panFactor |
|
inherited |
QPointF te::qt::widgets::AnimationItem::m_pos |
|
inherited |
QPointF te::qt::widgets::TrajectoryItem::m_posOld |
int te::qt::widgets::AnimationItem::m_SRID |
|
inherited |
QString te::qt::widgets::AnimationItem::m_title |
|
inherited |
QPointF te::qt::widgets::AnimationItem::pos |
|
readwriteinherited |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/qt/widgets/st/TrajectoryItem.h