Isis 3 Programmer Reference
|
Tool to locate a point on a cube that is projected and/or has a camera model. More...
#include <FindTool.h>
Public Slots | |
void | activate (bool) |
Activates the tool. More... | |
void | setCubeViewport (MdiCubeViewport *cvp) |
Sets the current viewport to the given cvp. More... | |
Signals | |
void | recordPoint (QPoint p) |
Emitted when point should be recorded. More... | |
void | clearWarningSignal () |
void | toolActivated () |
void | viewportChanged () |
Public Member Functions | |
FindTool (QWidget *parent) | |
Constructs a FindTool object. More... | |
void | addTo (QMenu *menu) |
Adds the find tool to the menu. More... | |
void | paintViewport (MdiCubeViewport *vp, QPainter *painter) |
This method paints the viewport. More... | |
QString | menuName () const |
This method returns the menu name associated with this tool. More... | |
void | addTo (ViewportMainWindow *mw) |
Adds the tool to the application. More... | |
void | addTo (ToolPad *toolpad) |
Adds the tool to the toolpad. More... | |
virtual void | addTo (Workspace *ws) |
Adds the given workspace to the cubeviewport list. More... | |
virtual void | addToPermanent (QToolBar *toolbar) |
void | addToActive (QToolBar *toolbar) |
QString | toolIconDir () const |
returns the path to the icon directory. More... | |
RubberBandTool * | rubberBandTool () |
void | setList (ToolList *currentList) |
Protected Types | |
typedef QVector< MdiCubeViewport *> | CubeViewportList |
A list of cubeviewports. More... | |
Protected Slots | |
void | mouseButtonRelease (QPoint p, Qt::MouseButton s) |
Handles mouse clickes in the CubeViewport. More... | |
virtual void | rubberBandComplete () |
virtual void | screenPixelsChanged () |
This is called when actions change which pixels from the cube are displayed. More... | |
virtual void | mouseEnter () |
virtual void | mouseMove (QPoint p) |
virtual void | mouseMove (QPoint p, Qt::MouseButton) |
virtual void | mouseLeave () |
Protected Member Functions | |
QAction * | toolPadAction (ToolPad *toolpad) |
Adds the find tool to the toolpad. More... | |
QWidget * | createToolBarWidget (QStackedWidget *parent) |
Creates the tool bar for the find tool. More... | |
void | updateTool () |
Overriden method to update this tool - Checks if cube is open and checks if the image has camera and/or projection or none and sets the flags accordingly. More... | |
void | createDialog (QWidget *parent) |
Creates the dialog used by this tool. More... | |
virtual void | mouseDoubleClick (QPoint p) |
virtual void | mouseButtonPress (QPoint p, Qt::MouseButton s) |
virtual void | updateMeasure () |
virtual void | scaleChanged () |
virtual void | stretchRequested (MdiCubeViewport *, int) |
void | registerTool (MdiCubeViewport *viewport) |
Registers the tool to the viewport. More... | |
MdiCubeViewport * | cubeViewport () const |
Return the current cubeviewport. More... | |
CubeViewportList * | cubeViewportList () const |
Return the list of cubeviewports. More... | |
virtual void | addConnections (MdiCubeViewport *cvp) |
Anytime a tool is created, you must add the connections for it. More... | |
virtual void | removeConnections (MdiCubeViewport *cvp) |
Anytime a tool is created, you must be able to remove it's connections. More... | |
virtual void | enableRubberBandTool () |
Anytime a tool is created, you may use the rubber band tool. More... | |
Workspace * | workspace () |
Private Slots | |
void | handleOkClicked () |
Actions to take when the dialog's ok button is clicked. More... | |
void | handleLinkClicked () |
Links all cubes that have camera models or are map projections. More... | |
void | handleRecordClicked () |
Slot called when the record button is clicked. More... | |
void | togglePointVisible () |
toggles visibility of the red circle More... | |
Private Member Functions | |
void | centerLinkedViewports () |
centers all linked viewports More... | |
Distance | distancePerPixel (MdiCubeViewport *viewport, double lat, double lon) |
This computes the distance covered by a pixel at the given lat/lon in the given viewport. More... | |
void | refresh () |
does a repaint for active viewport and also for any linked viewports More... | |
Private Attributes | |
QDialog * | p_dialog |
QAction * | p_findPoint |
QToolButton * | p_showDialogButton |
QToolButton * | p_linkViewportsButton |
QToolButton * | p_togglePointVisibleButton |
QCheckBox * | p_syncScale |
QLineEdit * | p_statusEdit |
QTabWidget * | p_tabWidget |
GroundTab * | p_groundTab |
ImageTab * | p_imageTab |
double | p_line |
double | p_samp |
double | p_lat |
double | p_lon |
bool | p_pointVisible |
Tool to locate a point on a cube that is projected and/or has a camera model.
This tool is part of the Qisis namespace and allows the user to locate a point on a cube that has been projected and/or has a camera model. It also allows the user to link viewports and sync scales.
2008-06-25 Noah Hilt - Switched positions of the sample/line line edits and labels.
2010-03-08 - Jeannie Walldren - The recordAction() slot and recordPoint() signal were created to connect in qview to the AdvancedTrackTool record() slot.
2010-03-24 Sharmila Prasad - Enable FindTool for no camera and/or projection image
2010-05-06 Eric Hyer - Class redesigned to work with new CubeViewport
2010-05-18 Eric Hyer - Moved button for showing/hiding the red dot from the dialog to the toolbar
2010-06-26 Eric Hyer - Now uses MdiCubeViewport instead of CubeViewport. Also fixed include issues.
2011-09-22 Steven Lambright - Sync scale with projections now uses a better guess for the equivalent scale. Fixes #205.
2011-09-28 Steven Lambright - The last change would zoom the active viewport. This no longer happens. References #205
2011-11-01 Steven Lambright - Explicitly wrote out and fixed equations for sync scale. Fixes #205
2011-11-03 Steven Lambright - Fixed find given a line/sample. We were calling SetUniversalGround given DBL_MAX which causes an infinite loop. So when you looked for a line/sample it would infinite loop. Sync scale does not work for image coordinates - is it supposed to?
2013-01-10 Steven Lambright - Improved sync scale calculations to work in more cases. Fixes #953.
2014-05-19 Ian Humphrey - Fixed CTRL+F shortcut and menu option to open Find Tool's Find Latitude/Longitude Coordinate dialog window. Added help text to Find Tool menu option. Minor coding standards fixes. Fixes #2087.
2016-03-23 Makayla Shepherd - Added a check on the latitude entered that caused an error message to pop up continuously. Fixes #2130.
Definition at line 128 of file FindTool.h.
|
protectedinherited |
Isis::FindTool::FindTool | ( | QWidget * | parent | ) |
Constructs a FindTool object.
parent |
Definition at line 38 of file FindTool.cpp.
References createDialog(), and Isis::Tool::toolIconDir().
|
slotinherited |
Activates the tool.
on |
Definition at line 131 of file Tool.cpp.
References Isis::Tool::addViewportConnections(), Isis::Tool::disableToolBar(), Isis::Tool::enableToolBar(), Isis::Tool::m_active, Isis::Tool::m_toolPadAction, and Isis::Tool::removeViewportConnections().
Referenced by Isis::Tool::addTo(), Isis::AdvancedTrackTool::AdvancedTrackTool(), Isis::RubberBandTool::disable(), Isis::RubberBandTool::enable(), Isis::AdvancedTrackTool::eventFilter(), Isis::FileTool::FileTool(), Isis::RubberBandTool::RubberBandTool(), Isis::TrackTool::TrackTool(), Isis::WindowTool::WindowTool(), and Isis::Workspace::Workspace().
|
inlineprotectedvirtualinherited |
Anytime a tool is created, you must add the connections for it.
cvp |
Reimplemented in Isis::TrackTool, and Isis::WindowTool.
Definition at line 253 of file Tool.h.
Referenced by Isis::Tool::addViewportConnections().
|
inherited |
Adds the tool to the application.
pViewPortMnWin |
Definition at line 78 of file Tool.cpp.
References Isis::ViewportMainWindow::activeToolBar(), Isis::Tool::addToActive(), Isis::Tool::addToPermanent(), Isis::ViewportMainWindow::getMenu(), Isis::Tool::menuName(), Isis::ViewportMainWindow::permanentToolBar(), Isis::ViewportMainWindow::toolPad(), and Isis::ViewportMainWindow::workspace().
Referenced by Isis::WindowTool::addTo(), Isis::SpecialPixelTool::addTo(), Isis::FileTool::addTo(), Isis::EditTool::addTo(), Isis::ViewportMainWindow::ViewportMainWindow(), and Isis::Workspace::Workspace().
|
inherited |
Adds the tool to the toolpad.
toolpad |
Definition at line 98 of file Tool.cpp.
References Isis::Tool::activate(), Isis::ToolPad::addAction(), Isis::Tool::m_toolPadAction, and Isis::Tool::toolPadAction().
|
virtualinherited |
Adds the given workspace to the cubeviewport list.
ws |
Reimplemented in Isis::EditTool, Isis::FileTool, Isis::SpecialPixelTool, and Isis::WindowTool.
Definition at line 45 of file Tool.cpp.
References Isis::Tool::registerTool(), and Isis::Tool::setCubeViewport().
|
virtual |
Adds the find tool to the menu.
menu |
Reimplemented from Isis::Tool.
Definition at line 198 of file FindTool.cpp.
|
inherited |
toolbar |
Definition at line 112 of file Tool.cpp.
References Isis::Tool::createToolBarWidget(), Isis::Tool::disableToolBar(), and Isis::Tool::m_toolBarWidget.
Referenced by Isis::Tool::addTo(), and Isis::Workspace::Workspace().
|
inlinevirtualinherited |
toolbar |
Reimplemented in Isis::AdvancedTrackTool, Isis::FileTool, Isis::HelpTool, Isis::SpecialPixelTool, Isis::BlinkTool, and Isis::WindowTool.
Definition at line 111 of file Tool.h.
Referenced by Isis::Tool::addTo(), and Isis::Workspace::Workspace().
|
private |
centers all linked viewports
Definition at line 555 of file FindTool.cpp.
References Isis::Tool::cubeViewport(), Isis::Tool::cubeViewportList(), distancePerPixel(), Isis::MdiCubeViewport::isLinked(), Isis::IsSpecial(), Isis::Distance::isValid(), Isis::UniversalGroundMap::Line(), Isis::UniversalGroundMap::Sample(), Isis::CubeViewport::scale(), Isis::CubeViewport::setScale(), Isis::UniversalGroundMap::SetUniversalGround(), and Isis::CubeViewport::universalGroundMap().
Referenced by handleOkClicked(), and mouseButtonRelease().
|
protected |
Creates the dialog used by this tool.
parent |
Definition at line 89 of file FindTool.cpp.
References handleOkClicked(), and handleRecordClicked().
Referenced by FindTool().
|
protectedvirtual |
Creates the tool bar for the find tool.
parent |
Reimplemented from Isis::Tool.
Definition at line 210 of file FindTool.cpp.
References handleLinkClicked(), togglePointVisible(), and Isis::Tool::toolIconDir().
|
inlineprotectedinherited |
Return the current cubeviewport.
Definition at line 211 of file Tool.h.
References Isis::Tool::m_cvp.
Referenced by Isis::WindowTool::addConnections(), Isis::TrackTool::addConnections(), Isis::StretchTool::advancedStretchChanged(), centerLinkedViewports(), Isis::StretchTool::changeStretch(), Isis::BandTool::changeView(), Isis::BandTool::copyLinkedViewports(), Isis::FileTool::discard(), Isis::Tool::enableToolBar(), Isis::FileTool::exportToList(), Isis::FileTool::exportView(), Isis::StatisticsTool::getStatistics(), handleRecordClicked(), Isis::EditTool::LineToPoints(), Isis::TrackTool::locateCursor(), Isis::SunShadowTool::mouseButtonPress(), Isis::ControlNetTool::mouseButtonRelease(), Isis::RubberBandTool::mouseButtonRelease(), Isis::EditTool::mouseButtonRelease(), Isis::FeatureNomenclatureTool::mouseButtonRelease(), mouseButtonRelease(), Isis::StretchTool::mouseButtonRelease(), Isis::MatchTool::mouseButtonRelease(), Isis::QnetTool::mouseButtonRelease(), Isis::AdvancedTrackTool::mouseLeave(), Isis::ScatterPlotTool::mouseMove(), Isis::SunShadowTool::mouseMove(), Isis::TrackTool::mouseMove(), Isis::RubberBandTool::mouseMove(), Isis::SunShadowTool::paintViewport(), Isis::RubberBandTool::paintViewport(), paintViewport(), Isis::FileTool::print(), Isis::SunShadowTool::recalculateShadowHeight(), Isis::EditTool::redoEdit(), refresh(), Isis::HistogramTool::refreshPlot(), Isis::SpatialPlotTool::refreshPlot(), Isis::SpectralPlotTool::refreshPlot(), Isis::WindowTool::removeConnections(), Isis::TrackTool::removeConnections(), Isis::RubberBandTool::repaint(), Isis::WindowTool::resizeWindows(), Isis::HistogramTool::rubberBandComplete(), Isis::MeasureTool::rubberBandComplete(), Isis::ZoomTool::rubberBandComplete(), Isis::EditTool::rubberBandComplete(), Isis::StretchTool::rubberBandComplete(), Isis::FileTool::save(), Isis::FileTool::saveAs(), Isis::FileTool::saveAsCubeByOption(), Isis::FileTool::saveAsReducedCube(), Isis::FileTool::saveInfo(), Isis::BandTool::setBandBin(), Isis::BandTool::setList(), Isis::StretchTool::setStretchAcrossBands(), Isis::StretchTool::setStretchAllViewports(), Isis::StretchTool::showAdvancedDialog(), Isis::ScatterPlotTool::showNewScatterPlotConfig(), Isis::StretchTool::stretchChanged(), Isis::StretchTool::stretchGlobal(), Isis::StretchTool::stretchGlobalAllBands(), Isis::StretchTool::stretchRegional(), Isis::EditTool::undoEdit(), Isis::StretchTool::updateAdvStretchDialogforAll(), Isis::StretchTool::updateHistograms(), Isis::TrackTool::updateLabels(), Isis::MeasureTool::updateMeasure(), Isis::AdvancedTrackTool::updateRow(), Isis::WindowTool::updateTool(), Isis::BlinkTool::updateTool(), Isis::SpecialPixelTool::updateTool(), Isis::BandTool::updateTool(), Isis::SunShadowTool::updateTool(), Isis::AbstractPlotTool::updateTool(), Isis::ZoomTool::updateTool(), Isis::FileTool::updateTool(), Isis::EditTool::updateTool(), updateTool(), Isis::StretchTool::updateTool(), Isis::AbstractPlotTool::viewportsToPlot(), Isis::EditTool::writeToCube(), Isis::ZoomTool::zoomBy(), Isis::ZoomTool::zoomFit(), Isis::ZoomTool::zoomFitHeight(), Isis::ZoomTool::zoomFitWidth(), and Isis::ZoomTool::zoomManual().
|
protectedinherited |
Return the list of cubeviewports.
Definition at line 390 of file Tool.cpp.
References Isis::Workspace::cubeViewportList().
Referenced by Isis::BlinkTool::advance(), Isis::SpecialPixelTool::apply(), centerLinkedViewports(), Isis::WindowTool::changeCursor(), Isis::FileTool::closeAll(), Isis::BandTool::copyAllViewports(), Isis::BandTool::copyLinkedViewports(), Isis::MatchTool::createPoint(), Isis::BlinkTool::eventFilter(), Isis::FeatureNomenclatureTool::featuresIdentified(), Isis::FeatureNomenclatureTool::findMissingNomenclature(), Isis::FeatureNomenclatureTool::findNomenclatureStateChanged(), handleLinkClicked(), Isis::WindowTool::linkWindows(), Isis::RubberBandTool::mouseButtonRelease(), Isis::RubberBandTool::mouseMove(), Isis::QnetTool::openGround(), Isis::StereoTool::paintAllViewports(), Isis::ControlNetTool::paintAllViewports(), Isis::MatchTool::paintAllViewports(), Isis::QnetTool::paintAllViewports(), refresh(), Isis::ScatterPlotTool::repaintViewports(), Isis::AbstractPlotTool::repaintViewports(), Isis::WindowTool::resizeWindows(), Isis::BlinkTool::reverse(), Isis::ZoomTool::rubberBandComplete(), Isis::MatchTool::serialNumberList(), Isis::ControlNetTool::setControlNet(), Isis::FeatureNomenclatureTool::setFontColor(), Isis::FeatureNomenclatureTool::setFontSize(), Isis::FeatureNomenclatureTool::setShowApprovedOnly(), Isis::StretchTool::setStretchAllViewports(), Isis::FeatureNomenclatureTool::setVectorType(), Isis::StretchTool::stretchGlobalAllViewports(), Isis::BlinkTool::toggleLink(), Isis::WindowTool::unlinkWindows(), Isis::MeasureTool::updateMeasure(), Isis::AdvancedTrackTool::updateRow(), Isis::WindowTool::updateTool(), Isis::BlinkTool::updateTool(), updateTool(), Isis::AbstractPlotTool::viewportsToPlot(), Isis::ZoomTool::zoomBy(), Isis::ZoomTool::zoomFit(), Isis::ZoomTool::zoomFitHeight(), Isis::ZoomTool::zoomFitWidth(), and Isis::ZoomTool::zoomManual().
|
private |
This computes the distance covered by a pixel at the given lat/lon in the given viewport.
This computation is used for synchronizing the scales of the viewports so that features appear approximately the right size. The resolution is the universal ground map's resolution unless we're dealing with a projection. If the cube in the viewport is projected then we try to calculate a resolution centered at the clicked on pixel... if that fails then we give the projection's resolution.
viewport | The viewport for which we want the resolution |
lat | The latitude to calculate the resolution at |
lon | The longitude to calculate the resolution at |
Definition at line 620 of file FindTool.cpp.
References Isis::UniversalGroundMap::Camera(), Isis::Angle::Degrees, Isis::SurfacePoint::GetDistanceToPoint(), Isis::UniversalGroundMap::HasProjection(), Isis::IsSpecial(), Isis::UniversalGroundMap::Line(), Isis::Sensor::LocalRadius(), Isis::Distance::Meters, Isis::Distance::meters(), Isis::UniversalGroundMap::Projection(), Isis::UniversalGroundMap::Resolution(), Isis::UniversalGroundMap::Sample(), Isis::UniversalGroundMap::SetImage(), Isis::UniversalGroundMap::SetUniversalGround(), Isis::IException::toString(), Isis::CubeViewport::universalGroundMap(), Isis::UniversalGroundMap::UniversalLatitude(), and Isis::UniversalGroundMap::UniversalLongitude().
Referenced by centerLinkedViewports().
|
protectedvirtualinherited |
Anytime a tool is created, you may use the rubber band tool.
Enable the use of the rubberband tool.
Reimplemented in Isis::RubberBandTool, Isis::ZoomTool, Isis::MeasureTool, Isis::StereoTool, Isis::SpatialPlotTool, Isis::SpectralPlotTool, and Isis::HistogramTool.
Definition at line 339 of file Tool.cpp.
References Isis::RubberBandTool::disable().
Referenced by Isis::Tool::addViewportConnections().
|
privateslot |
Links all cubes that have camera models or are map projections.
Definition at line 540 of file FindTool.cpp.
References Isis::Tool::cubeViewportList(), Isis::MdiCubeViewport::setLinked(), and Isis::CubeViewport::universalGroundMap().
Referenced by createToolBarWidget().
|
privateslot |
Actions to take when the dialog's ok button is clicked.
Definition at line 372 of file FindTool.cpp.
References centerLinkedViewports(), Isis::GroundTab::p_latLineEdit, Isis::ImageTab::p_lineLineEdit, Isis::GroundTab::p_lonLineEdit, Isis::ImageTab::p_sampLineEdit, refresh(), and updateTool().
Referenced by createDialog().
|
privateslot |
Slot called when the record button is clicked.
It creates a QPoint from the current line/sample in the active cube viewport and emits the recordPoint() signal.
2010-03-08 - Jeannie Walldren - This slot was created to connect the recordPoint() signal to the AdvancedTrackTool record() slot in qview.
2010-05-06 - Eric Hyer - Modified to work with new design of this class
Definition at line 415 of file FindTool.cpp.
References Isis::CubeViewport::cubeToViewport(), Isis::Tool::cubeViewport(), Isis::UniversalGroundMap::Line(), recordPoint(), Isis::UniversalGroundMap::Sample(), Isis::UniversalGroundMap::SetUniversalGround(), and Isis::CubeViewport::universalGroundMap().
Referenced by createDialog().
|
inlinevirtual |
This method returns the menu name associated with this tool.
Reimplemented from Isis::Tool.
Definition at line 143 of file FindTool.h.
|
protectedvirtualinherited |
p | |
s |
Definition at line 367 of file Tool.cpp.
Referenced by Isis::Tool::addViewportConnections(), and Isis::Tool::removeViewportConnections().
|
protectedslot |
Handles mouse clickes in the CubeViewport.
Uses the point where click occurred to calculate line/samp or lat/lon (if there is a camera).
p | |
s |
Definition at line 448 of file FindTool.cpp.
References centerLinkedViewports(), Isis::Tool::cubeViewport(), refresh(), Isis::UniversalGroundMap::SetImage(), Isis::CubeViewport::universalGroundMap(), Isis::UniversalGroundMap::UniversalLatitude(), Isis::UniversalGroundMap::UniversalLongitude(), updateTool(), and Isis::CubeViewport::viewportToCube().
|
protectedvirtualinherited |
p |
Definition at line 358 of file Tool.cpp.
Referenced by Isis::Tool::addViewportConnections(), and Isis::Tool::removeViewportConnections().
|
protectedvirtualslotinherited |
p |
Definition at line 352 of file Tool.cpp.
Referenced by Isis::Tool::addViewportConnections(), and Isis::Tool::removeViewportConnections().
|
virtual |
This method paints the viewport.
vp | |
painter |
2010-03-24 Sharmila Prasad - Enable FindTool for no camera image only for Image Point (lines and Samples)
2010-05-06 Eric Hyer - points now calculated here for every repaint. This method is now used for all images, whether they have a cam or not
Reimplemented from Isis::Tool.
Definition at line 489 of file FindTool.cpp.
References Isis::CubeViewport::cubeToViewport(), Isis::Tool::cubeViewport(), Isis::MdiCubeViewport::isLinked(), Isis::UniversalGroundMap::Line(), Isis::UniversalGroundMap::Sample(), Isis::UniversalGroundMap::SetUniversalGround(), and Isis::CubeViewport::universalGroundMap().
|
signal |
Emitted when point should be recorded.
Referenced by handleRecordClicked().
|
private |
does a repaint for active viewport and also for any linked viewports
Definition at line 672 of file FindTool.cpp.
References Isis::Tool::cubeViewport(), Isis::Tool::cubeViewportList(), and Isis::MdiCubeViewport::isLinked().
Referenced by handleOkClicked(), mouseButtonRelease(), and togglePointVisible().
|
protectedinherited |
Registers the tool to the viewport.
viewport |
Definition at line 327 of file Tool.cpp.
References Isis::Tool::m_cvp, and Isis::MdiCubeViewport::registerTool().
Referenced by Isis::Tool::addTo().
|
inlineprotectedvirtualinherited |
Anytime a tool is created, you must be able to remove it's connections.
cvp |
Reimplemented in Isis::MeasureTool, Isis::TrackTool, and Isis::WindowTool.
Definition at line 261 of file Tool.h.
Referenced by Isis::Tool::removeViewportConnections().
|
inlineprotectedvirtualslotinherited |
This is called when actions change which pixels from the cube are displayed.
Definition at line 162 of file Tool.h.
Referenced by Isis::Tool::addViewportConnections(), Isis::Tool::removeViewportConnections(), and Isis::FeatureNomenclatureTool::viewportDone().
|
slotinherited |
Sets the current viewport to the given cvp.
cvp |
Definition at line 160 of file Tool.cpp.
References Isis::Tool::addViewportConnections(), Isis::Tool::enableToolBar(), Isis::Tool::m_active, Isis::Tool::m_cvp, Isis::Tool::removeViewportConnections(), and Isis::Tool::updateTool().
Referenced by Isis::Tool::addTo(), and Isis::FileTool::closeAll().
|
privateslot |
toggles visibility of the red circle
Definition at line 521 of file FindTool.cpp.
References refresh().
Referenced by createToolBarWidget().
|
inlineinherited |
returns the path to the icon directory.
Definition at line 127 of file Tool.h.
References Isis::Tool::m_toolIconDir.
Referenced by Isis::AdvancedTrackTool::AdvancedTrackTool(), Isis::BlinkTool::BlinkTool(), Isis::MatchTool::createActions(), Isis::QnetTool::createActions(), Isis::StereoTool::createMenus(), Isis::PanTool::createToolBarWidget(), Isis::BandTool::createToolBarWidget(), Isis::StereoTool::createToolBarWidget(), Isis::ZoomTool::createToolBarWidget(), Isis::EditTool::createToolBarWidget(), createToolBarWidget(), Isis::StretchTool::createToolBarWidget(), Isis::FileTool::FileTool(), FindTool(), Isis::HistogramTool::HistogramTool(), Isis::SpecialPixelTool::SpecialPixelTool(), Isis::RubberBandComboBox::toolIconDir(), Isis::PanTool::toolPadAction(), Isis::ScatterPlotTool::toolPadAction(), Isis::HistogramTool::toolPadAction(), Isis::BandTool::toolPadAction(), Isis::SunShadowTool::toolPadAction(), Isis::SpectralPlotTool::toolPadAction(), Isis::SpatialPlotTool::toolPadAction(), Isis::MeasureTool::toolPadAction(), Isis::StereoTool::toolPadAction(), Isis::ControlNetTool::toolPadAction(), Isis::ZoomTool::toolPadAction(), Isis::EditTool::toolPadAction(), Isis::FeatureNomenclatureTool::toolPadAction(), Isis::StatisticsTool::toolPadAction(), toolPadAction(), Isis::StretchTool::toolPadAction(), Isis::MatchTool::toolPadAction(), Isis::QnetTool::toolPadAction(), Isis::WindowTool::WindowTool(), and Isis::ZoomTool::ZoomTool().
Adds the find tool to the toolpad.
toolpad |
Reimplemented from Isis::Tool.
Definition at line 180 of file FindTool.cpp.
References Isis::Tool::toolIconDir().
|
protectedvirtual |
Overriden method to update this tool - Checks if cube is open and checks if the image has camera and/or projection or none and sets the flags accordingly.
Also checks whether the images are linked.
Reimplemented from Isis::Tool.
Definition at line 288 of file FindTool.cpp.
References Isis::CubeViewport::camera(), Isis::Tool::cubeViewport(), Isis::Tool::cubeViewportList(), Isis::UniversalGroundMap::Line(), Isis::GroundTab::p_latLineEdit, Isis::ImageTab::p_lineLineEdit, Isis::GroundTab::p_lonLineEdit, Isis::ImageTab::p_sampLineEdit, Isis::CubeViewport::projection(), Isis::UniversalGroundMap::Sample(), Isis::UniversalGroundMap::SetImage(), Isis::UniversalGroundMap::SetUniversalGround(), Isis::CubeViewport::universalGroundMap(), Isis::UniversalGroundMap::UniversalLatitude(), and Isis::UniversalGroundMap::UniversalLongitude().
Referenced by handleOkClicked(), and mouseButtonRelease().