#include <TrajectoryItem.h>
Definition at line 57 of file TrajectoryItem.h.
 
◆ TrajectoryItem()
      
        
          | 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.  | 
  
   
 
 
◆ ~TrajectoryItem()
  
  
      
        
          | virtual te::qt::widgets::TrajectoryItem::~TrajectoryItem  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Destructor It destructs a Trajectory Icon Item. 
 
 
◆ adjustDataToAnimationTemporalExtent()
  
  
      
        
          | virtual void te::qt::widgets::AnimationItem::adjustDataToAnimationTemporalExtent  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtualinherited   | 
  
 
 
◆ draw()
  
  
      
        
          | 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.
 
 
◆ drawForward()
  
  
      
        
          | 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. 
\paran curTime The trajectory current time. 
Implements te::qt::widgets::AnimationItem.
 
 
◆ drawIcon()
      
        
          | void te::qt::widgets::TrajectoryItem::drawIcon  | 
          ( | 
          QPainter *  | 
          painter | ) | 
           | 
        
      
 
draw tracktrajectory icon. 
\paran painter Painter. 
 
 
◆ erase()
  
  
      
        
          | void te::qt::widgets::TrajectoryItem::erase  | 
          ( | 
          const unsigned int &  | 
          curTime | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ getDirection()
  
  
      
        
          | QAbstractAnimation::Direction te::qt::widgets::AnimationItem::getDirection  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
◆ getDuration()
  
  
      
        
          | unsigned int te::qt::widgets::AnimationItem::getDuration  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
◆ getPosInDeviceCoordinate()
  
  
      
        
          | QPoint te::qt::widgets::AnimationItem::getPosInDeviceCoordinate  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
It returns the Animation Item position in device coordinate. 
- Returns
 - Position in device coordinate. 
 
 
 
◆ paint()
  
  
      
        
          | void te::qt::widgets::TrajectoryItem::paint  | 
          ( | 
          QPainter *  | 
          ,  | 
         
        
           | 
           | 
          const QStyleOptionGraphicsItem *  | 
          ,  | 
         
        
           | 
           | 
          QWidget *  | 
            | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
 
◆ setDirection()
  
  
      
        
          | void te::qt::widgets::AnimationItem::setDirection  | 
          ( | 
          const QAbstractAnimation::Direction &  | 
          direction | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
Sets the Animation Item direction. 
- Parameters
 - 
  
  
 
 
 
◆ setDuration()
  
  
      
        
          | void te::qt::widgets::AnimationItem::setDuration  | 
          ( | 
          const unsigned int &  | 
          duration | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
◆ transformToDisplayProjection()
      
        
          | void te::qt::widgets::TrajectoryItem::transformToDisplayProjection  | 
          ( | 
          QVector< QPointF > &  | 
          vec | ) | 
           | 
        
      
 
It transform coodinates to map display projection coodinates. 
- Parameters
 - 
  
    | vec | Coordinates in native projection.  | 
  
   
 
 
◆ m_animation
  
  
      
        
          | Animation* te::qt::widgets::AnimationItem::m_animation | 
         
       
   | 
  
inherited   | 
  
 
 
◆ m_animationRoute
  
  
      
        
          | QVector<QPointF> te::qt::widgets::AnimationItem::m_animationRoute | 
         
       
   | 
  
inherited   | 
  
 
It contains only the portions to be animated. 
Definition at line 152 of file AnimationItem.h.
 
 
◆ m_animationTime
The animation time. It contains only the portions to be animated. 
Definition at line 150 of file AnimationItem.h.
 
 
◆ m_automaticPan
  
  
      
        
          | bool te::qt::widgets::AnimationItem::m_automaticPan | 
         
       
   | 
  
inherited   | 
  
 
 
◆ m_backwardColor
      
        
          | QColor te::qt::widgets::TrajectoryItem::m_backwardColor | 
        
      
 
 
◆ m_curTimeDuration
  
  
      
        
          | unsigned int te::qt::widgets::AnimationItem::m_curTimeDuration | 
         
       
   | 
  
inherited   | 
  
 
Current time (ms). Its value is between 0 and the total duration. 
Definition at line 156 of file AnimationItem.h.
 
 
◆ m_direction
  
  
      
        
          | QAbstractAnimation::Direction te::qt::widgets::AnimationItem::m_direction | 
         
       
   | 
  
inherited   | 
  
 
 
◆ m_display
Indicates where the icon item is displayed. 
Definition at line 146 of file AnimationItem.h.
 
 
◆ m_doIconRotate
      
        
          | bool te::qt::widgets::TrajectoryItem::m_doIconRotate | 
        
      
 
 
◆ m_drawTrail
      
        
          | bool te::qt::widgets::TrajectoryItem::m_drawTrail | 
        
      
 
 
◆ m_duration
  
  
      
        
          | unsigned int te::qt::widgets::AnimationItem::m_duration | 
         
       
   | 
  
inherited   | 
  
 
 
◆ m_erasePerfectly
      
        
          | bool te::qt::widgets::TrajectoryItem::m_erasePerfectly | 
        
      
 
flag to erase trajectory piece perfectly (default = false). 
Definition at line 129 of file TrajectoryItem.h.
 
 
◆ m_forwardColor
      
        
          | QColor te::qt::widgets::TrajectoryItem::m_forwardColor | 
        
      
 
 
◆ m_iconFile
      
        
          | QString te::qt::widgets::TrajectoryItem::m_iconFile | 
        
      
 
 
◆ m_iconSize
      
        
          | QSize te::qt::widgets::TrajectoryItem::m_iconSize | 
        
      
 
 
◆ m_layerId
      
        
          | QString te::qt::widgets::TrajectoryItem::m_layerId | 
        
      
 
 
◆ m_lineWidth
      
        
          | int te::qt::widgets::TrajectoryItem::m_lineWidth | 
        
      
 
 
◆ m_matrix
  
  
      
        
          | QMatrix te::qt::widgets::AnimationItem::m_matrix | 
         
       
   | 
  
inherited   | 
  
 
 
◆ m_norFinalTime
  
  
      
        
          | double te::qt::widgets::AnimationItem::m_norFinalTime | 
         
       
   | 
  
inherited   | 
  
 
 
◆ m_norInitialTime
  
  
      
        
          | double te::qt::widgets::AnimationItem::m_norInitialTime | 
         
       
   | 
  
inherited   | 
  
 
Normalized initial time (between 0 and 1). 
Definition at line 157 of file AnimationItem.h.
 
 
◆ m_opacity
  
  
      
        
          | int te::qt::widgets::AnimationItem::m_opacity | 
         
       
   | 
  
inherited   | 
  
 
 
◆ m_panFactor
  
  
      
        
          | double te::qt::widgets::AnimationItem::m_panFactor | 
         
       
   | 
  
inherited   | 
  
 
 
◆ m_pos
  
  
      
        
          | QPointF te::qt::widgets::AnimationItem::m_pos | 
         
       
   | 
  
inherited   | 
  
 
 
◆ m_posOld
      
        
          | QPointF te::qt::widgets::TrajectoryItem::m_posOld | 
        
      
 
 
◆ m_route
◆ m_SRID
  
  
      
        
          | int te::qt::widgets::AnimationItem::m_SRID | 
         
       
   | 
  
inherited   | 
  
 
 
◆ m_time
◆ m_title
  
  
      
        
          | QString te::qt::widgets::AnimationItem::m_title | 
         
       
   | 
  
inherited   | 
  
 
 
◆ pos
  
  
      
        
          | 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_release/src/terralib/qt/widgets/st/TrajectoryItem.h