Isis Developer Reference
MosaicTrackTool.h
Go to the documentation of this file.
1 #ifndef MosaicTrackTool_h
2 #define MosaicTrackTool_h
3 
4 #include "MosaicTool.h"
5 
6 // required since it's in a slot
7 #include <QPointF>
8 
9 class QLabel;
10 class QStatusBar;
11 
12 namespace Isis {
18  class MosaicTrackTool : public MosaicTool {
19  Q_OBJECT
20 
21  public:
22  MosaicTrackTool(MosaicSceneWidget *, QStatusBar *);
23  virtual ~MosaicTrackTool();
24  void updateLabels(QPointF p);
25 
26  public slots:
27  virtual void mouseMove(QPointF p);
28  virtual void mouseLeave();
29 
30  private slots:
31  void labelDestroyed(QObject *);
32 
33  private:
34  virtual QAction *getPrimaryAction();
35 
36  void clearLabels();
37  QStatusBar *p_sbar;
38  QLabel *p_latLabel;
39  QLabel *p_lonLabel;
40  QLabel *p_xLabel;
41  QLabel *p_yLabel;
42  };
43 };
44 
45 #endif
46 
Isis::MosaicSceneWidget::getProjection
Projection * getProjection() const
Definition: MosaicSceneWidget.h:170
MosaicSceneWidget.h
Isis::MosaicTrackTool
Definition: MosaicTrackTool.h:18
Isis::MosaicTrackTool::mouseLeave
virtual void mouseLeave()
Clears the labels if the mouse leaves the application.
Definition: MosaicTrackTool.cpp:90
Isis::MosaicTool::getWidget
MosaicSceneWidget * getWidget()
Definition: MosaicTool.h:96
Isis::TProjection::Longitude
virtual double Longitude() const
This returns a longitude with correct longitude direction and domain as specified in the label object...
Definition: TProjection.cpp:823
Isis::Projection::projectionType
ProjectionType projectionType() const
Returns an enum value for the projection type.
Definition: Projection.cpp:198
Isis::MosaicSceneWidget
This widget encompasses the entire mosaic scene.
Definition: MosaicSceneWidget.h:153
Isis::MosaicTool
Base class for the MosaicTools.
Definition: MosaicTool.h:37
Isis::TProjection::Latitude
virtual double Latitude() const
This returns a latitude with correct latitude type as specified in the label object.
Definition: TProjection.cpp:811
Isis::MosaicTrackTool::updateLabels
void updateLabels(QPointF p)
Updates the tracking labels.
Definition: MosaicTrackTool.cpp:122
Isis::TProjection
Base class for Map TProjections.
Definition: TProjection.h:166
Isis::MosaicTrackTool::mouseMove
virtual void mouseMove(QPointF p)
Definition: MosaicTrackTool.cpp:76
TProjection.h
Isis::MosaicTrackTool::~MosaicTrackTool
virtual ~MosaicTrackTool()
Definition: MosaicTrackTool.cpp:57
Projection.h
Isis::Projection::Triaxial
@ Triaxial
These projections are used to map triaxial and irregular-shaped bodies.
Definition: Projection.h:166
QObject
MosaicTool.h
Isis::Projection
Base class for Map Projections.
Definition: Projection.h:155
QAction
Isis::MosaicTrackTool::MosaicTrackTool
MosaicTrackTool(MosaicSceneWidget *, QStatusBar *)
MosaicTrackTool constructor.
Definition: MosaicTrackTool.cpp:17
MosaicTrackTool.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::Projection::SetCoordinate
virtual bool SetCoordinate(const double x, const double y)=0