|  | Isis 3 Programmer Reference
    | 
#include <MosaicTrackTool.h>


| Public Slots | |
| virtual void | mouseMove (QPointF p) | 
| virtual void | mouseLeave () | 
| Clears the labels if the mouse leaves the application. | |
| void | activate (bool) | 
| Activates the tool. | |
| Signals | |
| void | activated (bool) | 
| Public Member Functions | |
| MosaicTrackTool (MosaicSceneWidget *, QStatusBar *) | |
| MosaicTrackTool constructor. | |
| void | updateLabels (QPointF p) | 
| Updates the tracking labels. | |
| bool | isActive () const | 
| Returns the activeness of this toool. | |
| QPixmap | getIcon (QString iconName) const | 
| returns the path to the icon directory. | |
| virtual void | addTo (QMenu *menu) | 
| virtual void | addTo (ToolPad *toolPad) | 
| virtual void | addTo (QToolBar *toolBar) | 
| virtual QList< QAction * > | getViewActions () | 
| virtual PvlObject | toPvl () const | 
| virtual void | fromPvl (const PvlObject &obj) | 
| virtual QString | projectPvlObjectName () const | 
| Protected Slots | |
| virtual void | updateTool () | 
| Protected Member Functions | |
| virtual void | mouseEnter () | 
| virtual void | mouseDoubleClick (QPointF) | 
| virtual void | mouseButtonPress (QPointF, Qt::MouseButton s) | 
| virtual void | mouseButtonRelease (QPointF, Qt::MouseButton s) | 
| virtual void | mouseWheel (QPointF, int delta) | 
| virtual void | rubberBandComplete (QRectF r, Qt::MouseButton s) | 
| void | toolBarDestroyed (QObject *obj) | 
| MosaicSceneWidget * | getWidget () | 
| virtual QWidget * | getToolBarWidget () | 
| This method returns a widget that will be put in a tool bar when the tool is activated. | |
| Private Slots | |
| void | labelDestroyed (QObject *) | 
| Private Member Functions | |
| virtual QAction * | getPrimaryAction () | 
| This method returns an action that is used to activate this tool. | |
| void | clearLabels () | 
| Clears the labels. | |
| void | enableToolBar () | 
| Enables entire tool bar. | |
| void | disableToolBar () | 
| Disables entire tool bar. | |
| Private Attributes | |
| QStatusBar * | p_sbar | 
| Status bar. | |
| QLabel * | p_latLabel | 
| Latitude label. | |
| QLabel * | p_lonLabel | 
| Longitude label. | |
| QLabel * | p_xLabel | 
| Latitude label. | |
| QLabel * | p_yLabel | 
| Longitude label. | |
| bool | p_active | 
| Is the tool active? | |
| MosaicSceneWidget * | p_widget | 
| QAction * | p_primaryAction | 
| QAction * | p_toolBarAction | 
Definition at line 18 of file MosaicTrackTool.h.
| Isis::MosaicTrackTool::MosaicTrackTool | ( | MosaicSceneWidget * | scene, | 
| QStatusBar * | status ) | 
MosaicTrackTool constructor.
| parent | 
Definition at line 17 of file MosaicTrackTool.cpp.
References clearLabels(), p_latLabel, p_lonLabel, p_sbar, p_xLabel, and p_yLabel.
| 
 | virtual | 
Definition at line 57 of file MosaicTrackTool.cpp.
| 
 | slotinherited | 
| 
 | inlinevirtualinherited | 
Definition at line 63 of file MosaicTool.h.
| 
 | virtualinherited | 
Definition at line 70 of file MosaicTool.cpp.
| 
 | virtualinherited | 
Definition at line 52 of file MosaicTool.cpp.
| 
 | private | 
Clears the labels.
Definition at line 164 of file MosaicTrackTool.cpp.
References p_latLabel, p_lonLabel, p_xLabel, and p_yLabel.
Referenced by MosaicTrackTool(), mouseLeave(), and updateLabels().
| 
 | privateinherited | 
Disables entire tool bar.
Definition at line 174 of file MosaicTool.cpp.
| 
 | privateinherited | 
Enables entire tool bar.
Definition at line 185 of file MosaicTool.cpp.
| 
 | virtualinherited | 
Reimplemented in Isis::MosaicGridTool.
Definition at line 101 of file MosaicTool.cpp.
| 
 | inherited | 
returns the path to the icon directory.
Definition at line 115 of file MosaicTool.cpp.
References Isis::FileName::expanded().
Referenced by Isis::MosaicAreaTool::getPrimaryAction(), Isis::MosaicControlNetTool::getPrimaryAction(), Isis::MosaicFindTool::getPrimaryAction(), Isis::MosaicGridTool::getPrimaryAction(), Isis::MosaicPanTool::getPrimaryAction(), Isis::MosaicSelectTool::getPrimaryAction(), Isis::MosaicZoomTool::getPrimaryAction(), and Isis::MosaicZoomTool::MosaicZoomTool().
| 
 | privatevirtual | 
This method returns an action that is used to activate this tool.
This method will only be called once so it can new the action without a problem.
Implements Isis::MosaicTool.
Definition at line 81 of file MosaicTrackTool.cpp.
| 
 | protectedvirtualinherited | 
This method returns a widget that will be put in a tool bar when the tool is activated.
This method will only be called once so it can new the widget without a problem.
Reimplemented in Isis::MosaicAreaTool, Isis::MosaicControlNetTool, Isis::MosaicFindTool, Isis::MosaicGridTool, and Isis::MosaicZoomTool.
Definition at line 192 of file MosaicTool.cpp.
Definition at line 84 of file MosaicTool.cpp.
| 
 | inlineprotectedinherited | 
Definition at line 96 of file MosaicTool.h.
| 
 | inlineinherited | 
Returns the activeness of this toool.
Definition at line 50 of file MosaicTool.h.
References Isis::MosaicTool::p_active.
Referenced by Isis::MosaicZoomTool::rubberBandComplete(), Isis::MosaicControlNetTool::updateTool(), Isis::MosaicFindTool::updateTool(), Isis::MosaicSelectTool::updateTool(), and Isis::MosaicZoomTool::updateTool().
| 
 | privateslot | 
Definition at line 95 of file MosaicTrackTool.cpp.
| 
 | protectedvirtualinherited | 
Definition at line 130 of file MosaicTool.cpp.
| 
 | protectedvirtualinherited | 
Definition at line 134 of file MosaicTool.cpp.
| 
 | protectedvirtualinherited | 
Definition at line 126 of file MosaicTool.cpp.
| 
 | inlineprotectedvirtualinherited | 
Definition at line 81 of file MosaicTool.h.
| 
 | virtualslot | 
Clears the labels if the mouse leaves the application.
Definition at line 90 of file MosaicTrackTool.cpp.
References clearLabels().
| 
 | virtualslot | 
Definition at line 76 of file MosaicTrackTool.cpp.
| 
 | protectedvirtualinherited | 
Definition at line 139 of file MosaicTool.cpp.
| 
 | virtualinherited | 
Reimplemented in Isis::MosaicGridTool.
Definition at line 110 of file MosaicTool.cpp.
| 
 | inlineprotectedvirtualinherited | 
Reimplemented in Isis::MosaicZoomTool.
Definition at line 88 of file MosaicTool.h.
| 
 | protectedinherited | 
Definition at line 165 of file MosaicTool.cpp.
| 
 | virtualinherited | 
Reimplemented in Isis::MosaicGridTool.
Definition at line 89 of file MosaicTool.cpp.
| void Isis::MosaicTrackTool::updateLabels | ( | QPointF | p | ) | 
Updates the tracking labels.
Displays the Planetocentric Latitude and 360 Positive East Longitude in the lower right corner of the window.
| p | 
Definition at line 122 of file MosaicTrackTool.cpp.
References clearLabels(), p_latLabel, p_lonLabel, p_xLabel, p_yLabel, and Isis::Projection::Triaxial.
| 
 | inlineprotectedvirtualslotinherited | 
Definition at line 80 of file MosaicTool.h.
| 
 | privateinherited | 
Is the tool active?
Definition at line 120 of file MosaicTool.h.
Referenced by Isis::MosaicTool::isActive().
| 
 | private | 
Latitude label.
Definition at line 38 of file MosaicTrackTool.h.
Referenced by clearLabels(), MosaicTrackTool(), and updateLabels().
| 
 | private | 
Longitude label.
Definition at line 39 of file MosaicTrackTool.h.
Referenced by clearLabels(), MosaicTrackTool(), and updateLabels().
| 
 | privateinherited | 
Definition at line 124 of file MosaicTool.h.
| 
 | private | 
| 
 | privateinherited | 
Definition at line 125 of file MosaicTool.h.
| 
 | privateinherited | 
Definition at line 122 of file MosaicTool.h.
| 
 | private | 
Latitude label.
Definition at line 40 of file MosaicTrackTool.h.
Referenced by clearLabels(), MosaicTrackTool(), and updateLabels().
| 
 | private | 
Longitude label.
Definition at line 41 of file MosaicTrackTool.h.
Referenced by clearLabels(), MosaicTrackTool(), and updateLabels().