Isis 3 Programmer Reference
Isis::MatchTool Class Reference

Match tool operations. More...

#include <MatchTool.h>

Inheritance diagram for Isis::MatchTool:
Inheritance graph
Collaboration diagram for Isis::MatchTool:
Collaboration graph

Public Types

enum  MeasureColumns {
  FILENAME , CUBESN , SAMPLE , LINE ,
  APRIORISAMPLE , APRIORILINE , SAMPLERESIDUAL , LINERESIDUAL ,
  RESIDUALMAGNITUDE , SAMPLESHIFT , LINESHIFT , PIXELSHIFT ,
  GOODNESSOFFIT , IGNORED , EDITLOCK , TYPE
}
 

Public Slots

void createPoint (MdiCubeViewport *mvp, double sample, double line)
 Create new control point at given samp, line for viewport.
 
void modifyPoint (ControlPoint *point)
 Modify control point.
 
void deletePoint (ControlPoint *point)
 Delete control point.
 
void updatePointInfo (QString pointId)
 Update the current editPoint information in the Point Editor labels.
 
void refresh ()
 Refresh all necessary widgets in MatchTool including the PointEditor and CubeViewports.
 
void activate (bool)
 Activates the tool.
 
virtual void updateTool ()
 Updates the tool.
 
void setCubeViewport (MdiCubeViewport *cvp)
 Sets the current viewport to the given cvp.
 

Signals

void editPointChanged ()
 
void ignorePointChanged ()
 
void ignoreLeftChanged ()
 
void ignoreRightChanged ()
 
void newControlNetwork (ControlNet *)
 
void stretchChipViewport (Stretch *, CubeViewport *)
 
void measureChanged ()
 
void clearWarningSignal ()
 
void toolActivated ()
 
void viewportChanged ()
 

Public Member Functions

 MatchTool (QWidget *parent)
 Consructs the Match Tool window.
 
void paintViewport (MdiCubeViewport *mvp, QPainter *painter)
 Take care of drawing things on a viewPort.
 
QString measureColumnToString (MeasureColumns column)
 
void addTo (ViewportMainWindow *mw)
 Adds the tool to the application.
 
void addTo (ToolPad *toolpad)
 Adds the tool to the toolpad.
 
virtual void addTo (QMenu *menu)
 
virtual void addTo (Workspace *ws)
 Adds the given workspace to the cubeviewport list.
 
virtual QString menuName () const
 Anytime a tool is created, you must give it a name for the menu.
 
virtual void addToPermanent (QToolBar *toolbar)
 
void addToActive (QToolBar *toolbar)
 
QString toolIconDir () const
 returns the path to the icon directory.
 
RubberBandToolrubberBandTool ()
 
void setList (ToolList *currentList)
 

Static Public Attributes

static const int NUMCOLUMNS = 16
 

Protected Types

typedef QVector< MdiCubeViewport * > CubeViewportList
 A list of cubeviewports.
 

Protected Slots

QWidgetcreateToolBarWidget (QStackedWidget *parent)
 
void mouseButtonRelease (QPoint p, Qt::MouseButton s)
 Handle mouse events on CubeViewport.
 
virtual void rubberBandComplete ()
 
virtual void screenPixelsChanged ()
 This is called when actions change which pixels from the cube are displayed.
 
virtual void mouseEnter ()
 
virtual void mouseMove (QPoint p)
 
virtual void mouseMove (QPoint p, Qt::MouseButton)
 
virtual void mouseLeave ()
 

Protected Member Functions

QActiontoolPadAction (ToolPad *pad)
 Adds the Tie tool action to the tool pad.
 
bool eventFilter (QObject *o, QEvent *e)
 Event filter for MatchTool.
 
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.
 
MdiCubeViewportcubeViewport () const
 Return the current cubeviewport.
 
CubeViewportListcubeViewportList () const
 Return the list of cubeviewports.
 
virtual void addConnections (MdiCubeViewport *cvp)
 Anytime a tool is created, you must add the connections for it.
 
virtual void removeConnections (MdiCubeViewport *cvp)
 Anytime a tool is created, you must be able to remove it's connections.
 
virtual void enableRubberBandTool ()
 Anytime a tool is created, you may use the rubber band tool.
 
Workspaceworkspace ()
 

Private Slots

void showHelp ()
 
void enterWhatsThisMode ()
 
void paintAllViewports ()
 This method will repaint the given Point ID in each viewport Note: The pointId parameter is here even though it's not used because the signal (MatchTool::editPointChanged connected to this slot is also connected to another slot (MatchNavTool::updateEditPoint which needs the point Id.
 
void activateTool ()
 
void openNet ()
 
void saveNet ()
 Signal to save control net.
 
void saveAsNet ()
 Signal to save the control net.
 
void setLockPoint (bool ignore)
 Set point's "EditLock" keyword to the value of the input parameter.
 
void setIgnorePoint (bool ignore)
 Set point's "Ignore" keyword to the value of the input parameter.
 
void setLockLeftMeasure (bool ignore)
 Set the "EditLock" keyword of the measure shown in the left viewport to the value of the input parameter.
 
void setIgnoreLeftMeasure (bool ignore)
 Set the "Ignore" keyword of the measure shown in the left viewport to the value of the input parameter.
 
void setLockRightMeasure (bool ignore)
 Set the "EditLock" keyword of the measure shown in the right viewport to the value of the input parameter.
 
void setIgnoreRightMeasure (bool ignore)
 Set the "Ignore" keyword of the measure shown in the right viewport to the value of the input parameter.
 
void nextRightMeasure ()
 Selects the next right measure when activated by key shortcut.
 
void previousRightMeasure ()
 Selects the previous right measure when activated by key shortcut.
 
void selectLeftMeasure (int index)
 Select left measure.
 
void selectRightMeasure (int index)
 Select right measure.
 
void updateLeftMeasureInfo ()
 
void updateRightMeasureInfo ()
 
void measureSaved ()
 This method is connected with the measureSaved() signal from ControlPointEdit.
 
void checkReference ()
 
void savePoint ()
 Save edit point to the Control Network.
 
void colorizeSaveButton ()
 Turn "Save Point" button text to red.
 
void cancelNewPoint ()
 
void doneWithMeasures ()
 
void openTemplateFile ()
 prompt user for a registration template file to open.
 
void viewTemplateFile ()
 Allows the user to view the template file that is currently set.
 
void saveChips ()
 Slot which calls ControlPointEditor slot to save chips.
 
void showHideTemplateEditor ()
 
void saveTemplateFile ()
 save the file opened in the template editor
 
void saveTemplateFileAs ()
 save the contents of template editor to a file chosen by the user
 
void setTemplateModified ()
 called when the template file is modified by the template editor
 
void writeTemplateFile (QString)
 write the contents of the template editor to the file provided.
 
void clearEditPoint ()
 
void exiting ()
 This called when qview is exiting.
 

Private Member Functions

void createActions ()
 Creates the menu actions for Match Tool.
 
void createMenus ()
 Customize dropdown menus below title bar.
 
void createToolBars ()
 
void loadPoint ()
 Load point into MatchTool.
 
void loadMeasureTable ()
 Load measure information into the measure table.
 
void drawAllMeasurments (MdiCubeViewport *mvp, QPainter *painter)
 Draw all measurments which are on this viewPort.
 
void createMatchTool (QWidget *parent)
 create the main window for editing control points
 
QSplitter * createTopSplitter ()
 creates everything above the ControlPointEdit
 
QGroupBox * createControlPointGroupBox ()
 
QGroupBox * createLeftMeasureGroupBox ()
 
QGroupBox * createRightMeasureGroupBox ()
 Creates the right measure group box.
 
void createTemplateEditorWidget ()
 Creates the Widget which contains the template editor and its toolbar.
 
void loadTemplateFile (QString)
 Updates the current template file being used.
 
bool okToContinue ()
 Allows user to set a new template file.
 
bool IsMeasureLocked (QString serialNumber)
 Check for implicitly locked measure in m_editPoint.
 
void addMeasure (MdiCubeViewport *mvp, double sample, double line)
 
bool validateMeasureChange (ControlMeasure *m)
 
QStringList missingCubes (ControlPoint *point)
 
SerialNumberList serialNumberList ()
 Creates a serial number list based on open cube viewports.
 
QString serialNumber (MdiCubeViewport *mvp)
 
void addViewportToSerialNumberList (MdiCubeViewport *mvp)
 
void readSettings ()
 This method is called from the constructor so that when the Main window is created, it know's it's size and location.
 
void writeSettings () const
 This method is called when the Main window is closed or hidden to write the size and location settings to a config file in the user's home directory.
 
void addViewportConnections ()
 Makes all the connections for the tool.
 
void removeViewportConnections ()
 Removes all the connections from the tool.
 
void enableToolBar ()
 Enables entire tool bar.
 
void disableToolBar ()
 Disables entire tool bar.
 

Private Attributes

QMainWindowm_matchTool
 
QWidgetm_parent
 
QStatusBar * m_statusBar
 
QString m_cnetFileName
 
QLabel * m_cnetFileNameLabel
 
bool m_coregNet
 
QString m_coregReferenceSN
 
bool m_netChanged
 
QActionm_createPoint
 
QActionm_modifyPoint
 
QActionm_deletePoint
 
QActionm_saveNet
 
QActionm_saveAsNet
 
QActionm_closeMatchTool
 
QActionm_saveChips
 
QActionm_showHideTemplateEditor
 
QActionm_openTemplateFile
 
QActionm_saveTemplateFile
 
QActionm_saveTemplateFileAs
 
QActionm_whatsThis
 
QActionm_showHelp
 
ControlPointEditm_pointEditor
 
QPushButton * m_savePoint
 
QPalette m_saveDefaultPalette
 
QTextEdit * m_templateEditor
 
QWidgetm_templateEditorWidget
 
bool m_templateModified
 
QLabel * m_templateFileNameLabel
 
QLabel * m_ptIdValue
 
QLabel * m_numMeasures
 
QCheckBox * m_lockPoint
 
QCheckBox * m_ignorePoint
 
QLabel * m_leftReference
 
QLabel * m_leftMeasureType
 
QLabel * m_leftSampShift
 
QLabel * m_leftLineShift
 
QLabel * m_leftGoodness
 
QLabel * m_rightGoodness
 
QLabel * m_rightReference
 
QLabel * m_rightMeasureType
 
QLabel * m_rightSampShift
 
QLabel * m_rightLineShift
 
QCheckBox * m_lockLeftMeasure
 
QCheckBox * m_ignoreLeftMeasure
 
QCheckBox * m_lockRightMeasure
 
QCheckBox * m_ignoreRightMeasure
 
QComboBoxm_leftCombo
 
QComboBoxm_rightCombo
 
QMainWindowm_measureWindow
 
QTableWidget * m_measureTable
 
QPointer< ControlNetm_controlNet
 
ControlPointm_editPoint
 
MatchToolNewPointDialogm_newPointDialog
 
ControlPointm_newPoint
 
QString m_lastUsedPointId
 
QStringList m_pointFiles
 
QString m_leftFile
 
ControlMeasurem_leftMeasure
 
ControlMeasurem_rightMeasure
 
Cubem_leftCube
 
Cubem_rightCube
 
MdiCubeViewportm_cvp
 current cubeviewport
 
Workspacem_workspace
 
bool m_active
 Is the tool acitve?
 
QWidgetm_toolBarWidget
 The tool bar on which this tool resides.
 
QActionm_toolPadAction
 The tool pad on which this tool resides.
 
QString m_toolIconDir
 The pathway to the icon directory.
 
ToolListm_toolList
 

Detailed Description

Match tool operations.

Author
????-??-?? Unknown
History

2008-11-24 Jeannie Walldren - Changed name from TieTool. Replace references to PointEdit class with ControlPointEdit. Added "Goodness of Fit" to right and left measure info.

2008-11-26 Jeannie Walldren - Added "Number of Measures" to MatchTool point information. Defined updateNet() so that the MatchTool window's title bar contains the name of the control net file. Created ignoreChanged() signal, modified pointSaved() and createMatchTool() so message box appears if users are saving an "Ignore" point and asks whether they would like to set Ignore=false.

2008-12-09 Tracie Sucharski - Cleaned up some signal/slot connections between MatchTool and MatchNavTool for deleting or adding ControlPoints.

2008-12-09 Tracie Sucharski - Add new public slot refresh to handle the ignorePoints and deletePoints from the MatchNavTool.

2008-12-10 Jeannie Walldren - Added slot methods viewTemplateFile() and setTemplateFile() to allow user to view, edit or choose a new template file. Added "What's this?" descriptions to actions.

2008-12-15 Jeannie Walldren - Some QMessageBox warnings had strings tacked on to the list of errors. These strings were changed to iExceptions and added to the error stack to conform with Isis standards.

2008-12-15 Jeannie Walldren - Created newHoldPoint() method. Replaced references to MatchGroundPointDialog with MatchHoldPointDialog. Disabled ground point check box so user may see whether the point is ground but may not change this. Thus setGroundPoint() and newGroundPoint() methods still exist but are not currently called.

2008-12-30 Jeannie Walldren - Modified to set measures in viewports to Ignore=False if when saving, the user chooses to set a point's Ignore=False. Replaced references to ignoreChanged() with ignorePointChanged(). Added signals ignoreLeftChanged() and ignoreRightChanged().

2008-12-31 Jeannie Walldren - Added question box to pointSaved() method to ask user whether the reference measure should be replaced with the measure in the left viewport. Added documentation.

2009-03-09 Jeannie Walldren - Modified createPoint() method to clear the error stack after displaying a QMessageBox to the user

2009-03-17 Tracie Sucharski - Added the ability to save the registration chips to the Options menu.

2010-01-27 Jeannie Walldren - Fixed bug in setIgnoreLeftMeasure() and setIgnoreRightMeasure() that caused segmentation faults. Added question box to warn user that they are saving changes to an ignored measure.

2010-06-02 Jeannie Walldren - Added cancelHoldPoint() method and connected this slot to MatchHoldPointDialog's holdCancelled() signal.

2010-06-03 Jeannie Walldren - Initialized pointers to null in constructor.

2010-06-08 Jeannie Walldren - Fixed bug in drawAllMeasurments() so that points with ignored measures matching the image shown are drawn as yellow unless the MatchTool is open to this point. Changed QMessageBox types for consistency with other match warnings and errors

2010-07-01 Jeannie Walldren - Added createToolBarWidget(), showNavWindow() methods to reopen NavTool (if closed) whenever the Tie tool button on the tool pad is clicked. Modified drawAllMeasurments() to draw points selected in MatchTool last so they lay on top of all other points in the image. Replaced #includes with forward class declarations and moved #include to .cpp file.

2010-07-12 Jeannie Walldren - Fixed bug in deletePoint() method. To prevent a seg fault, set m_controlPoint to NULL and emit editPointChanged with an empty string if the entire point is deleted.

2010-07-12 Jeannie Walldren - Fixed bug in newHoldPoint() method that was causing the Hold Point Dialog to call the reject() command. Updated documentation.

2010-10-28 Tracie Sucharski - Fixed some include problems caused by changes made to the ControlNet,ControlPoint, ControlMeasure header files. Remove findPointFiles method, the code is now in the createPoint method.

2010-11-19 Tracie Sucharski - Renamed pointSaved slot to measureSaved.

History

2010-11-17 Eric Hyer - Added newControlNetwork SIGNAL

2010-11-22 Eric Hyer - Added stretchChipViewport SIGNAL for forwarding of SIGNAL from StretchTool to ChipViewport

2010-12-08 Eric Hyer - Template filename now shown. Widgets in main window now organized into groupBoxes. Removed Options menu and moved registration menu to main menu bar. Added toolbar for actions also in menu. All actions now have icons.

2010-12-14 Eric Hyer - Template editor is now a widget within the main window. Newly saved template files take effect after saving.

2010-12-17 Eric Hyer - Fixed bug where current template file was not being updated with saveAs. Moved template file display to outside of control point groupbox.

2011-06-08 Tracie Sucharski - Point types renamed: Ground ----> Fixed Tie ----> Free

2011-06-28 Tracie Sucharski - Added methods, "loadMeasureTable" and "measureColumnToString". TODO: If these stay in match, they really need cleaning up. This was a quick & dirty band-aid until cneteditor is ready to be folded into match.

2011-07-27 Tracie Sucharski - Added method to return the radius from a Dem if one is open.

2011-09-16 Tracie Sucharski - Added method to draw Fixed and Constrained points on the ground source viewport.

2012-01-11 Tracie Sucharski - Add error check for invalid lat, lon when creating new control point.

2012-04-09 Tracie Sucharski - When checking if left measure editLock has changed, use measure->IsEditLocked() instead of this classes IsMeasureLocked().

2012-04-16 Tracie Sucharski - When attempting to un-lock a measure print error if point is locked.

2012-04-26 Tracie Sucharski - Cleaned up private slot,measureSaved. Abstracted out checking for a new reference measure and updating the surface point for a ground point.

2012-05-07 Tracie Sucharski - Removed code in measureSaved to re-load left measure if left and right are the same, this is already handled in ControlPointEdit::saveMeasure.

2012-05-08 Tracie Sucharski - Fixed bug where m_leftFile was not being reset in mouseButtonRelease. Change m_leftFile from a QString to a QString.

2012-06-12 Tracie Sucharski - Change made to measureSaved on 2012-04-26 caused a bug where if no ground is loaded the checkReference was not being called and reference measure could not be changed and there was no warning printed. Fix: Only call checkReference if there is no explicit reference for the point, otherwise simply set reference to left measure. If ground source is on the left do not print warning about new reference measure.

2012-08-11 Tracie Sucharski - In openNet, do not prompt for saving current net if net hasn't changed since last save.

2012-10-02 Tracie Sucharski - Qview was printing error messages and somtimes crashing when viewports were closed either individually or using "Close All" from the file menu. The serial number list was not being updated correctly. The fix no longer keeps a maintainable serial number list, but calculates one in real-time base on available viewports. Fixes #1130. Also, added a few more error checks to insure cubes for displayed measures are available.

2013-05-09 Tracie Sucharski - Check for user selecting all measures for deletion and print warning that point will be deleted. References #1491.

2013-05-09 Tracie Sucharski - For editing (left button) and deleting (right button), Swapped checking for empty network and not allowing mouse clicks on the ground source. First check if there are any points in the network. If not print message and return. References #1493.

2015-11-08 Ian Humphrey - Added shortcut for Save Point (P). Added shortcuts (PageUp/PageDown) for selecting right measures and added slots to handle these shortcuts. References #2324.

2016-08-28 Kelvin Rodriguez - Removed unused member variables to eliminate warnings in clang. Part of porting to OS X 10.11

2017-08-09 Adam Goins - Changed method references of SerialNumberList.Delete() to SerialNumberList.remove()

2017-11-22 Adam Goins - Set the MatchTool window title and the CNet file name label to the newly saved file. Fixes #3922.

Definition at line 216 of file MatchTool.h.

Member Typedef Documentation

◆ CubeViewportList

typedef QVector< MdiCubeViewport * > Isis::Tool::CubeViewportList
protectedinherited

A list of cubeviewports.

Definition at line 205 of file Tool.h.

Member Enumeration Documentation

◆ MeasureColumns

enum Isis::MatchTool::MeasureColumns

Definition at line 227 of file MatchTool.h.

Constructor & Destructor Documentation

◆ MatchTool()

Isis::MatchTool::MatchTool ( QWidget * parent)

Consructs the Match Tool window.

Parameters
parentPointer to the parent widget for the Match tool
History
2010-06-03 Jeannie Walldren - Initialized pointers to null.

Definition at line 57 of file MatchTool.cpp.

References createMatchTool(), and exiting().

◆ ~MatchTool()

Isis::MatchTool::~MatchTool ( )
virtual

Definition at line 117 of file MatchTool.cpp.

Member Function Documentation

◆ activate

◆ activateTool

void Isis::MatchTool::activateTool ( )
privateslot

Definition at line 661 of file MatchTool.cpp.

◆ addConnections()

virtual void Isis::Tool::addConnections ( MdiCubeViewport * cvp)
inlineprotectedvirtualinherited

Anytime a tool is created, you must add the connections for it.

Parameters
cvp

Reimplemented in Isis::TrackTool, and Isis::WindowTool.

Definition at line 239 of file Tool.h.

Referenced by Isis::Tool::addViewportConnections().

◆ addMeasure()

void Isis::MatchTool::addMeasure ( MdiCubeViewport * mvp,
double sample,
double line )
private

Definition at line 1588 of file MatchTool.cpp.

◆ addTo() [1/4]

◆ addTo() [2/4]

void Isis::Tool::addTo ( ToolPad * toolpad)
inherited

Adds the tool to the toolpad.

Parameters
toolpad

Definition at line 98 of file Tool.cpp.

References Isis::Tool::activate(), Isis::Tool::m_toolPadAction, and Isis::Tool::toolPadAction().

◆ addTo() [3/4]

◆ addTo() [4/4]

void Isis::Tool::addTo ( Workspace * ws)
virtualinherited

Adds the given workspace to the cubeviewport list.

Parameters
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().

◆ addToActive()

void Isis::Tool::addToActive ( QToolBar * toolbar)
inherited
Parameters
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().

◆ addToPermanent()

virtual void Isis::Tool::addToPermanent ( QToolBar * toolbar)
inlinevirtualinherited
Parameters
toolbar

Reimplemented in Isis::AdvancedTrackTool, Isis::BlinkTool, Isis::FileTool, Isis::HelpTool, Isis::SpecialPixelTool, and Isis::WindowTool.

Definition at line 97 of file Tool.h.

Referenced by Isis::Tool::addTo().

◆ addViewportConnections()

◆ cancelNewPoint

void Isis::MatchTool::cancelNewPoint ( )
privateslot

Definition at line 1661 of file MatchTool.cpp.

◆ checkReference

void Isis::MatchTool::checkReference ( )
privateslot

Definition at line 1020 of file MatchTool.cpp.

◆ clearEditPoint

void Isis::MatchTool::clearEditPoint ( )
privateslot

Definition at line 3082 of file MatchTool.cpp.

◆ colorizeSaveButton

void Isis::MatchTool::colorizeSaveButton ( )
privateslot

Turn "Save Point" button text to red.

Author
2011-06-14 Tracie Sucharski

Definition at line 3001 of file MatchTool.cpp.

Referenced by createMatchTool(), deletePoint(), measureSaved(), setIgnorePoint(), and setLockPoint().

◆ createActions()

void Isis::MatchTool::createActions ( )
private

Creates the menu actions for Match Tool.

Author
???
History
Ian Humphrey - Added CTRL+S shortcut for saving control network. References #2324.

Definition at line 460 of file MatchTool.cpp.

References openTemplateFile(), saveAsNet(), saveChips(), saveNet(), saveTemplateFile(), saveTemplateFileAs(), and Isis::Tool::toolIconDir().

Referenced by createMatchTool().

◆ createControlPointGroupBox()

QGroupBox * Isis::MatchTool::createControlPointGroupBox ( )
private
Returns
The groupbox labeled "Control Point"

Definition at line 276 of file MatchTool.cpp.

References setIgnorePoint(), and setLockPoint().

Referenced by createTopSplitter().

◆ createLeftMeasureGroupBox()

QGroupBox * Isis::MatchTool::createLeftMeasureGroupBox ( )
private
Returns
The groupbox labeled "Left Measure"

Definition at line 311 of file MatchTool.cpp.

References selectLeftMeasure(), setIgnoreLeftMeasure(), and setLockLeftMeasure().

Referenced by createTopSplitter().

◆ createMatchTool()

void Isis::MatchTool::createMatchTool ( QWidget * parent)
private

create the main window for editing control points

Parameters
parentPointer to parent QWidget
History

2008-11-24 Jeannie Walldren - Added "Goodness of Fit" to right and left measure info.

2008-11-26 Jeannie Walldren - Added "Number of Measures" to QnetTool point information. Moved setWindowTitle() command to updateNet() method. Added connection between Ignore checkbox toggle() slot and ignoreChanged() signal

2008-12-29 Jeannie Walldren - Disabled ground point check box and commented out connection between check box and setGroundPoint() method.

2008-12-30 Jeannie Walldren - Added connections to toggle measures' Ignore check boxes if ignoreLeftChanged() and ignoreRightChanged() are emitted. Replaced reference to ignoreChanged() with ignorePointChanged().

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2015-11-09 Ian Humphrey - Added shortcut for savePoint (P). References #2324.

Definition at line 165 of file MatchTool.cpp.

References colorizeSaveButton(), createActions(), createMenus(), createTopSplitter(), measureSaved(), paintAllViewports(), readSettings(), and savePoint().

Referenced by MatchTool().

◆ createMenus()

void Isis::MatchTool::createMenus ( )
private

Customize dropdown menus below title bar.

History

2008-11-18 Jeannie Walldren - Added "Close" action to the file menu on the match tool window.

2008-12-10 Jeannie Walldren - Added "What's this?" function to match tool actions.

Definition at line 569 of file MatchTool.cpp.

Referenced by createMatchTool().

◆ createPoint

◆ createRightMeasureGroupBox()

QGroupBox * Isis::MatchTool::createRightMeasureGroupBox ( )
private

Creates the right measure group box.

Returns
The groupbox labeled "Right Measure"
History
2015-11-08 Ian Humphrey - Added the shorcuts (PageUp/PageDown) for selecting previous or next measure in right measures box. Referecnes #2324.

Definition at line 371 of file MatchTool.cpp.

References nextRightMeasure(), previousRightMeasure(), selectRightMeasure(), setIgnoreRightMeasure(), and setLockRightMeasure().

Referenced by createTopSplitter().

◆ createTemplateEditorWidget()

void Isis::MatchTool::createTemplateEditorWidget ( )
private

Creates the Widget which contains the template editor and its toolbar.

Definition at line 431 of file MatchTool.cpp.

References setTemplateModified().

Referenced by createTopSplitter().

◆ createToolBars()

void Isis::MatchTool::createToolBars ( )
private

Definition at line 586 of file MatchTool.cpp.

◆ createToolBarWidget

QWidget * Isis::MatchTool::createToolBarWidget ( QStackedWidget * parent)
protectedslot

Definition at line 624 of file MatchTool.cpp.

◆ createTopSplitter()

QSplitter * Isis::MatchTool::createTopSplitter ( )
private

◆ cubeViewport()

MdiCubeViewport * Isis::Tool::cubeViewport ( ) const
inlineprotectedinherited

Return the current cubeviewport.

Returns
CubeViewport*

Definition at line 197 of file Tool.h.

References Isis::Tool::m_cvp.

Referenced by Isis::TrackTool::addConnections(), Isis::WindowTool::addConnections(), Isis::StretchTool::advancedStretchChanged(), Isis::FindTool::centerLinkedViewports(), Isis::StretchTool::changeStretch(), Isis::BandTool::changeView(), Isis::BandTool::copyLinkedViewports(), Isis::StretchTool::deleteFromCube(), Isis::FileTool::discard(), Isis::Tool::enableToolBar(), Isis::FileTool::exportToList(), Isis::FileTool::exportView(), Isis::StatisticsTool::getStatistics(), Isis::FindTool::handleRecordClicked(), Isis::EditTool::LineToPoints(), Isis::StretchTool::loadStretchFromCube(), Isis::TrackTool::locateCursor(), Isis::SunShadowTool::mouseButtonPress(), Isis::EditTool::mouseButtonRelease(), Isis::ControlNetTool::mouseButtonRelease(), Isis::FeatureNomenclatureTool::mouseButtonRelease(), Isis::FindTool::mouseButtonRelease(), mouseButtonRelease(), Isis::QnetTool::mouseButtonRelease(), Isis::RubberBandTool::mouseButtonRelease(), Isis::StretchTool::mouseButtonRelease(), Isis::AdvancedTrackTool::mouseLeave(), Isis::SunShadowTool::mouseMove(), Isis::TrackTool::mouseMove(), Isis::RubberBandTool::mouseMove(), Isis::ScatterPlotTool::mouseMove(), Isis::LatLonGridTool::paintViewport(), Isis::FindTool::paintViewport(), Isis::RubberBandTool::paintViewport(), Isis::SunShadowTool::paintViewport(), Isis::FileTool::print(), Isis::SunShadowTool::recalculateShadowHeight(), Isis::EditTool::redoEdit(), Isis::FindTool::refresh(), Isis::HistogramTool::refreshPlot(), Isis::SpatialPlotTool::refreshPlot(), Isis::SpectralPlotTool::refreshPlot(), Isis::TrackTool::removeConnections(), Isis::WindowTool::removeConnections(), Isis::RubberBandTool::repaint(), Isis::WindowTool::resizeWindows(), Isis::EditTool::rubberBandComplete(), Isis::HistogramTool::rubberBandComplete(), Isis::MeasureTool::rubberBandComplete(), Isis::StretchTool::rubberBandComplete(), Isis::ZoomTool::rubberBandComplete(), Isis::FileTool::save(), Isis::FileTool::saveAs(), Isis::FileTool::saveAsCubeByOption(), Isis::FileTool::saveAsReducedCube(), Isis::FileTool::saveInfo(), Isis::StretchTool::saveStretchToCube(), 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::AdvancedTrackTool::updateRow(), Isis::AbstractPlotTool::updateTool(), Isis::BandTool::updateTool(), Isis::BlinkTool::updateTool(), Isis::EditTool::updateTool(), Isis::FileTool::updateTool(), Isis::FindTool::updateTool(), Isis::LatLonGridTool::updateTool(), Isis::SpecialPixelTool::updateTool(), Isis::StretchTool::updateTool(), Isis::SunShadowTool::updateTool(), Isis::WindowTool::updateTool(), Isis::ZoomTool::updateTool(), Isis::AbstractPlotTool::viewportsToPlot(), Isis::EditTool::writeToCube(), Isis::ZoomTool::zoomBy(), Isis::ZoomTool::zoomFit(), Isis::ZoomTool::zoomFitHeight(), Isis::ZoomTool::zoomFitWidth(), and Isis::ZoomTool::zoomManual().

◆ cubeViewportList()

Tool::CubeViewportList * Isis::Tool::cubeViewportList ( ) const
protectedinherited

Return the list of cubeviewports.

Returns
CubeViewportList*

Definition at line 390 of file Tool.cpp.

References Isis::Workspace::cubeViewportList().

Referenced by Isis::BlinkTool::advance(), Isis::SpecialPixelTool::apply(), Isis::FindTool::centerLinkedViewports(), Isis::WindowTool::changeCursor(), Isis::FileTool::closeAll(), Isis::BandTool::copyAllViewports(), Isis::BandTool::copyLinkedViewports(), createPoint(), Isis::BlinkTool::eventFilter(), Isis::FeatureNomenclatureTool::featuresIdentified(), Isis::FeatureNomenclatureTool::findMissingNomenclature(), Isis::FeatureNomenclatureTool::findNomenclatureStateChanged(), Isis::FindTool::handleLinkClicked(), Isis::WindowTool::linkWindows(), Isis::RubberBandTool::mouseButtonRelease(), Isis::RubberBandTool::mouseMove(), Isis::QnetTool::openGround(), Isis::ControlNetTool::paintAllViewports(), paintAllViewports(), Isis::StereoTool::paintAllViewports(), Isis::QnetTool::paintAllViewports(), Isis::FindTool::refresh(), Isis::AbstractPlotTool::repaintViewports(), Isis::ScatterPlotTool::repaintViewports(), Isis::AbstractPlotTool::repaintViewports(), Isis::WindowTool::resizeWindows(), Isis::BlinkTool::reverse(), Isis::ZoomTool::rubberBandComplete(), 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::BlinkTool::updateTool(), Isis::FindTool::updateTool(), Isis::WindowTool::updateTool(), Isis::AbstractPlotTool::viewportsToPlot(), Isis::ZoomTool::zoomBy(), Isis::ZoomTool::zoomFit(), Isis::ZoomTool::zoomFitHeight(), Isis::ZoomTool::zoomFitWidth(), and Isis::ZoomTool::zoomManual().

◆ deletePoint

void Isis::MatchTool::deletePoint ( ControlPoint * point)
slot

Delete control point.

Parameters
pointPointer to control point (net memory) to be deleted.
History

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2010-07-12 Jeannie Walldren - Fixed bug by setting control point to NULL if removed from the control net and check for NULL points before emitting editPointChanged

2011-04-04 Tracie Sucharski - Move code that was after the exec block within, so that if the Cancel button is selected, nothing else happens.

2011-07-15 Tracie Sucharski - Print info about deleting editLock points and reference measures.

Definition at line 1693 of file MatchTool.cpp.

References colorizeSaveButton(), Isis::ControlPoint::Delete(), Isis::SerialNumberList::fileName(), Isis::ControlPoint::GetId(), Isis::ControlPoint::GetRefMeasure(), Isis::ControlPoint::IsReferenceExplicit(), loadPoint(), loadTemplateFile(), Isis::ControlPoint::PointLocked, and serialNumberList().

Referenced by mouseButtonRelease().

◆ disableToolBar()

void Isis::Tool::disableToolBar ( )
privateinherited

Disables entire tool bar.

Definition at line 285 of file Tool.cpp.

References Isis::Tool::m_toolBarWidget.

Referenced by Isis::Tool::activate(), and Isis::Tool::addToActive().

◆ doneWithMeasures

void Isis::MatchTool::doneWithMeasures ( )
privateslot

Definition at line 1613 of file MatchTool.cpp.

◆ drawAllMeasurments()

void Isis::MatchTool::drawAllMeasurments ( MdiCubeViewport * mvp,
QPainter * painter )
private

Draw all measurments which are on this viewPort.

Parameters
vpViewport whose measurements will be drawn
painter
History

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2010-06-08 Jeannie Walldren - Fixed bug that was causing ignored measures not be drawn as yellow unless MatchTool was open

2010-07-01 Jeannie Walldren - Modified to draw points selected in MatchTool last so they lay on top of all other points in the image.

2011-04-15 Tracie Sucharski - Fixed bug which was causing all measures to be drawn on all cubes. Also removed loop through measures, instead just get measure for given serial number.

2011-10-20 Tracie Sucharski - Add check for a control network that does not yet have any control points.

2011-11-09 Tracie Sucharski - If there are no measures for this cube, return.

Definition at line 2614 of file MatchTool.cpp.

References Isis::ControlPoint::HasSerialNumber().

Referenced by paintViewport().

◆ enableRubberBandTool()

void Isis::Tool::enableRubberBandTool ( )
protectedvirtualinherited

Anytime a tool is created, you may use the rubber band tool.

Enable the use of the rubberband tool.

Reimplemented in Isis::HistogramTool, Isis::MeasureTool, Isis::RubberBandTool, Isis::SpatialPlotTool, Isis::SpectralPlotTool, Isis::StereoTool, and Isis::ZoomTool.

Definition at line 339 of file Tool.cpp.

References Isis::RubberBandTool::disable().

Referenced by Isis::Tool::addViewportConnections().

◆ enableToolBar()

void Isis::Tool::enableToolBar ( )
privateinherited

Enables entire tool bar.

Definition at line 297 of file Tool.cpp.

References Isis::Tool::cubeViewport(), Isis::Tool::m_toolBarWidget, and Isis::Tool::updateTool().

Referenced by Isis::Tool::activate(), and Isis::Tool::setCubeViewport().

◆ enterWhatsThisMode

void Isis::MatchTool::enterWhatsThisMode ( )
privateslot

Definition at line 3077 of file MatchTool.cpp.

◆ eventFilter()

bool Isis::MatchTool::eventFilter ( QObject * o,
QEvent * e )
protected

Event filter for MatchTool.

Determines whether to update left or right measure info.

Parameters
oPointer to QObject
ePointer to QEvent
Returns
bool Indicates whether the event type is "Leave".

Definition at line 2540 of file MatchTool.cpp.

References updateLeftMeasureInfo(), and updateRightMeasureInfo().

◆ exiting

void Isis::MatchTool::exiting ( )
privateslot

This called when qview is exiting.

We need to possibly prompt user for saving the edit point and network

Author
2012-07-20 Tracie Sucharski

Definition at line 3360 of file MatchTool.cpp.

References Isis::ControlPoint::GetId(), saveAsNet(), and savePoint().

Referenced by MatchTool().

◆ IsMeasureLocked()

bool Isis::MatchTool::IsMeasureLocked ( QString serialNumber)
private

Check for implicitly locked measure in m_editPoint.

If point is Locked, and this measure is the reference, it is implicity Locked. Because measure is a copy, the ControlPoint::IsEditLocked() which checks for implicit Lock on Reference measures does not work because there is not a parent point.

Parameters
[in]serialNumber(QString) Serial number of measure to be checked
Author
2011-07-06 Tracie Sucharski

Definition at line 3024 of file MatchTool.cpp.

References Isis::ControlPoint::GetMeasure(), Isis::ControlPoint::GetReferenceSN(), and Isis::ControlPoint::IsReferenceExplicit().

Referenced by loadMeasureTable(), updateLeftMeasureInfo(), and updateRightMeasureInfo().

◆ loadMeasureTable()

void Isis::MatchTool::loadMeasureTable ( )
private

Load measure information into the measure table.

History
2011-12-05 Tracie Sucharski - Turn off sorting until table is loaded.

Definition at line 2030 of file MatchTool.cpp.

References Isis::SerialNumberList::fileName(), Isis::ControlPoint::GetReferenceSN(), Isis::ControlMeasureLogData::GoodnessOfFit, IsMeasureLocked(), Isis::ControlPoint::IsReferenceExplicit(), Isis::ControlMeasure::MeasureTypeToString(), Isis::Null, and serialNumberList().

Referenced by loadPoint(), and measureSaved().

◆ loadPoint()

void Isis::MatchTool::loadPoint ( )
private

Load point into MatchTool.

History

2008-11-26 Jeannie Walldren - Added "Number of Measures" to MatchTool point information.

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2010-10-29 Tracie Sucharski - Changed pointfiles to QStringList

2011-04-20 Tracie Sucharski - Was not setting EditLock check box

2011-07-18 Tracie Sucharski - Fixed bug with loading ground measure-use AprioriSurface point, not lat,lon of reference measure unless there is no apriori surface point.

2012-05-08 Tracie Sucharski - m_leftFile changed from QString to QString.

2012-10-02 Tracie Sucharski - When creating a new point, load the cube the user clicked on first on the left side, use m_leftFile.

Definition at line 1940 of file MatchTool.cpp.

References Isis::SerialNumberList::fileName(), Isis::ControlPoint::GetId(), Isis::ControlPoint::GetReferenceSN(), Isis::ControlPoint::IndexOfRefMeasure(), Isis::ControlPoint::IsReferenceExplicit(), loadMeasureTable(), Isis::FileName::name(), selectLeftMeasure(), selectRightMeasure(), and serialNumberList().

Referenced by deletePoint(), and modifyPoint().

◆ loadTemplateFile()

void Isis::MatchTool::loadTemplateFile ( QString fn)
private

Updates the current template file being used.

Parameters
fnThe file path of the new template file

Definition at line 2762 of file MatchTool.cpp.

Referenced by deletePoint(), modifyPoint(), and openTemplateFile().

◆ measureColumnToString()

QString Isis::MatchTool::measureColumnToString ( MatchTool::MeasureColumns column)

Definition at line 2191 of file MatchTool.cpp.

◆ measureSaved

void Isis::MatchTool::measureSaved ( )
privateslot

This method is connected with the measureSaved() signal from ControlPointEdit.

History

2008-11-26 Jeannie Walldren - Added message box to warn the user that they are saving an "Ignore" point and ask whether they would like to set Ignore=false. This emits an ignoreChanged() signal so the "Ignore" box in the window is unchecked.

2008-12-30 Jeannie Walldren - Modified to set measures in viewports to Ignore=False if when saving, the user chooses to set a point's Ignore=False. Replaced reference to ignoreChanged() with ignorePointChanged().

2008-12-31 Jeannie Walldren - Added question box to ask user whether the current reference measure should be replaced with the measure in the left viewport.

2010-01-27 Jeannie Walldren - Added question box to warn the user that they are saving an "Ignore" measure and ask whether they would like to set Ignore=False. This emits an ignoreRightChanged() signal so the "Ignore" box in the window is unchecked. Modified Ignore Point message for clarity.

2010-11-19 Tracie Sucharski - Renamed from pointSaved.

2011-03-03 Tracie Sucharski - Do not save left measure unless the ignore flag was changed, that is the only change allowed on the left measure.

2011-04-20 Tracie Sucharski - If left measure equals right measure, copy right into left. Also if EditLock true and user does not want to change, then do not save measure. Remove signals EditPointChanged and netChanged, since these should only happen when the point is saved.

2011-07-01 Tracie Sucharski - Fixed bug where the edit measure EditLocked=True, but the original measure was False, and we woouldn't allow the measure to be saved.

2011-07-25 Tracie Sucharski - Removed editPointChanged signal since the editPoint is not changed. This helped with match windows blinking due to refresh.

2011-09-22 Tracie Sucharski - When checking ignore status on right measure, check both original and edit measure.

2012-04-09 Tracie Sucharski - When checking if left measure editLock has changed, use measure->IsEditLocked() instead of this classes IsMeasureLocked() because it checks the m_editPoint measure instead of the measure loaded into the point editor.

2012-04-26 Tracie Sucharski - cleaned up, moved reference checking and updating ground surface point to new methods.

2012-05-07 Tracie Sucharski - Removed code to re-load left measure if left and right are the same, this is already handled in ControlPointEdit::saveMeasure.

2012-06-12 Tracie Sucharski - Change made on 2012-04-26 caused a bug where if no ground is loaded the checkReference was not being called and reference measure could not be changed and there was no warning printed.

Definition at line 788 of file MatchTool.cpp.

References colorizeSaveButton(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::ControlPoint::GetId(), Isis::ControlPoint::GetMeasure(), loadMeasureTable(), Isis::ControlMeasure::SetChooserName(), Isis::ControlPoint::SetIgnored(), Isis::ControlPointEdit::setLeftMeasure(), updateLeftMeasureInfo(), updateRightMeasureInfo(), and Isis::Application::UserName().

Referenced by createMatchTool().

◆ menuName()

virtual QString Isis::Tool::menuName ( ) const
inlinevirtualinherited

Anytime a tool is created, you must give it a name for the menu.

Returns
QString

Reimplemented in Isis::AdvancedTrackTool, Isis::BandTool, Isis::BlinkTool, Isis::FeatureNomenclatureTool, Isis::FileTool, Isis::FindTool, Isis::HelpTool, Isis::MeasureTool, Isis::PanTool, Isis::SpecialPixelTool, Isis::StretchTool, Isis::WindowTool, and Isis::ZoomTool.

Definition at line 83 of file Tool.h.

Referenced by Isis::Tool::addTo().

◆ missingCubes()

QStringList Isis::MatchTool::missingCubes ( ControlPoint * point)
private

Definition at line 1532 of file MatchTool.cpp.

◆ modifyPoint

void Isis::MatchTool::modifyPoint ( ControlPoint * point)
slot

Modify control point.

Parameters
pointPointer to control point to be modified.
History
2009-09-15 Tracie Sucharski - Add error check for points with no measures.

Definition at line 1874 of file MatchTool.cpp.

References loadPoint(), and loadTemplateFile().

Referenced by mouseButtonRelease().

◆ mouseButtonPress()

void Isis::Tool::mouseButtonPress ( QPoint p,
Qt::MouseButton s )
protectedvirtualinherited
Parameters
p
s

Definition at line 367 of file Tool.cpp.

Referenced by Isis::Tool::addViewportConnections(), and Isis::Tool::removeViewportConnections().

◆ mouseButtonRelease

void Isis::MatchTool::mouseButtonRelease ( QPoint p,
Qt::MouseButton s )
protectedslot

Handle mouse events on CubeViewport.

Parameters
p[in](QPoint) Point under cursor in cubeviewport
s[in](Qt::MouseButton) Which mouse button was pressed
History

2007-06-12 Tracie Sucharski - Swapped left and right mouse button actions.

2009-06-08 Tracie Sucharski - Add error checking for editing or deleting points when no point exists.

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2010-11-19 Tracie Sucharski - Make a copy of the point to be edited or added. Do not add to control network until user selects "Save Point To Control Network".

2012-01-11 Tracie Sucharski - Add error check for invalid lat, lon when creating new control point.

2012-05-08 Tracie Sucharski - Clear m_leftFile, only set if creating new point. Change m_leftFile from a QString to a QString.

2012-10-02 Tracie Sucharski - The member variable leftFile was never set. It is now set when a new point is created and cleared after all measures have been selected.

Definition at line 1457 of file MatchTool.cpp.

References createPoint(), Isis::Tool::cubeViewport(), deletePoint(), modifyPoint(), Isis::SerialNumberList::serialNumber(), and serialNumberList().

◆ mouseDoubleClick()

void Isis::Tool::mouseDoubleClick ( QPoint p)
protectedvirtualinherited
Parameters
p

Definition at line 358 of file Tool.cpp.

Referenced by Isis::Tool::addViewportConnections(), and Isis::Tool::removeViewportConnections().

◆ mouseEnter

virtual void Isis::Tool::mouseEnter ( )
inlineprotectedvirtualslotinherited

Definition at line 152 of file Tool.h.

◆ mouseLeave

virtual void Isis::Tool::mouseLeave ( )
inlineprotectedvirtualslotinherited

Definition at line 159 of file Tool.h.

◆ mouseMove [1/2]

void Isis::Tool::mouseMove ( QPoint p)
protectedvirtualslotinherited
Parameters
p

Definition at line 352 of file Tool.cpp.

Referenced by Isis::Tool::addViewportConnections(), and Isis::Tool::removeViewportConnections().

◆ mouseMove [2/2]

virtual void Isis::Tool::mouseMove ( QPoint p,
Qt::MouseButton  )
inlineprotectedvirtualslotinherited

Definition at line 155 of file Tool.h.

◆ nextRightMeasure

void Isis::MatchTool::nextRightMeasure ( )
privateslot

Selects the next right measure when activated by key shortcut.

This slot is intended to handle selecting the next right measure when the attached shortcut (PageDown) is activated. This slot checks if the next index is in bounds.

History
2015-11-08 Ian Humphrey - Created slot. References #2324.

Definition at line 2241 of file MatchTool.cpp.

References selectRightMeasure().

Referenced by createRightMeasureGroupBox().

◆ okToContinue()

bool Isis::MatchTool::okToContinue ( )
private

Allows user to set a new template file.

Author
2008-12-10 Jeannie Walldren
History
2008-12-10 Jeannie Walldren - Original Version

void MatchTool::setTemplateFile() { m_pointEditor->setTemplateFile(); }

Definition at line 2713 of file MatchTool.cpp.

References saveTemplateFileAs().

Referenced by openTemplateFile().

◆ openNet

void Isis::MatchTool::openNet ( )
privateslot

Definition at line 1299 of file MatchTool.cpp.

◆ openTemplateFile

void Isis::MatchTool::openTemplateFile ( )
privateslot

prompt user for a registration template file to open.

Once the file is selected, loadTemplateFile is called to update the current template file being used.

Definition at line 2738 of file MatchTool.cpp.

References loadTemplateFile(), okToContinue(), and Isis::ControlPointEdit::setTemplateFile().

Referenced by createActions().

◆ paintAllViewports

void Isis::MatchTool::paintAllViewports ( )
privateslot

This method will repaint the given Point ID in each viewport Note: The pointId parameter is here even though it's not used because the signal (MatchTool::editPointChanged connected to this slot is also connected to another slot (MatchNavTool::updateEditPoint which needs the point Id.

TODO: Clean this up, use 2 different signals?

Parameters
pointId
History
2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

Definition at line 2580 of file MatchTool.cpp.

References Isis::Tool::cubeViewportList().

Referenced by createMatchTool(), createPoint(), and refresh().

◆ paintViewport()

void Isis::MatchTool::paintViewport ( MdiCubeViewport * mvp,
QPainter * painter )
virtual

Take care of drawing things on a viewPort.

This is overiding the parents paintViewport member.

Parameters
vpPointer to Viewport to be painted
painter

Reimplemented from Isis::Tool.

Definition at line 2561 of file MatchTool.cpp.

References drawAllMeasurments().

◆ previousRightMeasure

void Isis::MatchTool::previousRightMeasure ( )
privateslot

Selects the previous right measure when activated by key shortcut.

This slot is intended to handle selecting the previous right measure when the attached shortcut (PageUp) is activated. This slot checks if the previous index is in bounds.

History
2015-11-08 Ian Humphrey - Created slot. References #2324.

Definition at line 2260 of file MatchTool.cpp.

References selectRightMeasure().

Referenced by createRightMeasureGroupBox().

◆ readSettings()

void Isis::MatchTool::readSettings ( )
private

This method is called from the constructor so that when the Main window is created, it know's it's size and location.

Definition at line 3047 of file MatchTool.cpp.

Referenced by createMatchTool().

◆ refresh

void Isis::MatchTool::refresh ( )
slot

Refresh all necessary widgets in MatchTool including the PointEditor and CubeViewports.

Author
2008-12-09 Tracie Sucharski
History

2010-12-15 Tracie Sucharski - Before setting m_editPoint to NULL, release memory. TODO: Why is the first if statement being done???

2011-10-20 Tracie Sucharski - If no control points exist in the network, emit proper signal and make sure editor and measure table are hidden.

Definition at line 2973 of file MatchTool.cpp.

References paintAllViewports().

◆ registerTool()

void Isis::Tool::registerTool ( MdiCubeViewport * viewport)
protectedinherited

Registers the tool to the viewport.

Parameters
viewport

Definition at line 327 of file Tool.cpp.

References Isis::Tool::m_cvp, and Isis::MdiCubeViewport::registerTool().

Referenced by Isis::Tool::addTo().

◆ removeConnections()

virtual void Isis::Tool::removeConnections ( MdiCubeViewport * cvp)
inlineprotectedvirtualinherited

Anytime a tool is created, you must be able to remove it's connections.

Parameters
cvp

Reimplemented in Isis::MeasureTool, Isis::TrackTool, and Isis::WindowTool.

Definition at line 247 of file Tool.h.

Referenced by Isis::Tool::removeViewportConnections().

◆ removeViewportConnections()

void Isis::Tool::removeViewportConnections ( )
privateinherited

◆ rubberBandComplete

virtual void Isis::Tool::rubberBandComplete ( )
inlineprotectedvirtualslotinherited

Definition at line 141 of file Tool.h.

◆ rubberBandTool()

RubberBandTool * Isis::Tool::rubberBandTool ( )
inherited

Definition at line 57 of file Tool.cpp.

◆ saveAsNet

void Isis::MatchTool::saveAsNet ( )
privateslot

Signal to save the control net.

History
2017-11-22 Adam Goins - Set the MatchTool window title and the CNet file name label to the newly saved file. Fixes #3922.

Definition at line 1400 of file MatchTool.cpp.

Referenced by createActions(), and exiting().

◆ saveChips

void Isis::MatchTool::saveChips ( )
privateslot

Slot which calls ControlPointEditor slot to save chips.

Author
2009-03-17 Tracie Sucharski

Definition at line 2909 of file MatchTool.cpp.

References Isis::ControlPointEdit::saveChips().

Referenced by createActions().

◆ saveNet

void Isis::MatchTool::saveNet ( )
privateslot

Signal to save control net.

Author
2011-10-31 Tracie Sucharski

Definition at line 1373 of file MatchTool.cpp.

Referenced by createActions().

◆ savePoint

void Isis::MatchTool::savePoint ( )
privateslot

Save edit point to the Control Network.

Up to this point the point is simply a copy and does not exist in the network.

Author
2010-11-19 Tracie Sucharski
History

2011-04-20 Tracie Sucharski - If EditLock set, prompt for changing and do not save point if editLock not changed.

2011-07-05 Tracie Sucharski - Move point EditLock error checking to individual point parameter setting methods, ie. SetPointType, SetIgnorePoint.

Definition at line 1079 of file MatchTool.cpp.

References Isis::ControlPoint::GetId().

Referenced by createMatchTool(), and exiting().

◆ saveTemplateFile

void Isis::MatchTool::saveTemplateFile ( )
privateslot

save the file opened in the template editor

Definition at line 2794 of file MatchTool.cpp.

References writeTemplateFile().

Referenced by createActions().

◆ saveTemplateFileAs

void Isis::MatchTool::saveTemplateFileAs ( )
privateslot

save the contents of template editor to a file chosen by the user

Definition at line 2808 of file MatchTool.cpp.

References writeTemplateFile().

Referenced by createActions(), and okToContinue().

◆ scaleChanged()

virtual void Isis::Tool::scaleChanged ( )
inlineprotectedvirtualinherited

Definition at line 172 of file Tool.h.

◆ screenPixelsChanged

virtual void Isis::Tool::screenPixelsChanged ( )
inlineprotectedvirtualslotinherited

This is called when actions change which pixels from the cube are displayed.

Definition at line 148 of file Tool.h.

Referenced by Isis::Tool::addViewportConnections(), Isis::Tool::removeViewportConnections(), and Isis::FeatureNomenclatureTool::viewportDone().

◆ selectLeftMeasure

void Isis::MatchTool::selectLeftMeasure ( int index)
privateslot

Select left measure.

Parameters
indexIndex of file from the point files vector
History

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2011-07-06 Tracie Sucharski - If point is Locked, and measure is reference, lock the measure.

2012-10-02 Tracie Sucharski - If measure's cube is not viewed, print error and make sure old measure is retained.

Definition at line 2284 of file MatchTool.cpp.

References Isis::SerialNumberList::fileName(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::ControlPoint::GetId(), Isis::Cube::open(), Isis::SerialNumberList::serialNumber(), serialNumberList(), Isis::ControlPointEdit::setLeftMeasure(), and updateLeftMeasureInfo().

Referenced by createLeftMeasureGroupBox(), and loadPoint().

◆ selectRightMeasure

void Isis::MatchTool::selectRightMeasure ( int index)
privateslot

Select right measure.

Parameters
indexIndex of file from the point files vector
History

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2012-10-02 Tracie Sucharski - If measure's cube is not viewed, print error and make sure old measure is retained.

Definition at line 2339 of file MatchTool.cpp.

References Isis::SerialNumberList::fileName(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::ControlPoint::GetId(), Isis::Cube::open(), Isis::SerialNumberList::serialNumber(), serialNumberList(), Isis::ControlPointEdit::setRightMeasure(), and updateRightMeasureInfo().

Referenced by createRightMeasureGroupBox(), loadPoint(), nextRightMeasure(), and previousRightMeasure().

◆ serialNumber()

QString Isis::MatchTool::serialNumber ( MdiCubeViewport * mvp)
private

Definition at line 712 of file MatchTool.cpp.

◆ serialNumberList()

SerialNumberList Isis::MatchTool::serialNumberList ( )
private

Creates a serial number list based on open cube viewports.

Returns
SerialNumberList The serial number list based on currently opened cube viewports
Author
2012-10-02 Tracie Sucharski

Definition at line 679 of file MatchTool.cpp.

References Isis::SerialNumberList::add(), Isis::SerialNumber::Compose(), Isis::Tool::cubeViewportList(), Isis::FileName::expanded(), Isis::SerialNumberList::fileName(), Isis::SerialNumberList::hasSerialNumber(), Isis::FileName::name(), and Isis::SerialNumberList::remove().

Referenced by deletePoint(), loadMeasureTable(), loadPoint(), mouseButtonRelease(), selectLeftMeasure(), and selectRightMeasure().

◆ setCubeViewport

void Isis::Tool::setCubeViewport ( MdiCubeViewport * cvp)
slotinherited

◆ setIgnoreLeftMeasure

void Isis::MatchTool::setIgnoreLeftMeasure ( bool ignore)
privateslot

Set the "Ignore" keyword of the measure shown in the left viewport to the value of the input parameter.

Parameters
ignoreBoolean value that determines the Ignore value for the left measure.
History

2010-01-27 Jeannie Walldren - Fixed bug that resulted in segfault. Moved the check whether m_rightMeasure is null before the check whether m_rightMeasure equals m_leftMeasure.

2010-12-15 Tracie Sucharski - Remove netChanged, the point is not changed in the net unless "Save Point" is selected.

2011-06-27 Tracie Sucharski - emit signal indicating a measure parameter has changed.

Definition at line 1213 of file MatchTool.cpp.

References Isis::ControlMeasure::GetCubeSerialNumber().

Referenced by createLeftMeasureGroupBox().

◆ setIgnorePoint

void Isis::MatchTool::setIgnorePoint ( bool ignore)
privateslot

Set point's "Ignore" keyword to the value of the input parameter.

Parameters
ignoreBoolean value that determines the Ignore value for this point.
History
2010-12-15 Tracie Sucharski - Remove netChanged, the point is not changed in the net unless "Save Point" is selected.

Definition at line 1140 of file MatchTool.cpp.

References colorizeSaveButton(), Isis::ControlPoint::PointLocked, and Isis::ControlPoint::SetIgnored().

Referenced by createControlPointGroupBox().

◆ setIgnoreRightMeasure

void Isis::MatchTool::setIgnoreRightMeasure ( bool ignore)
privateslot

Set the "Ignore" keyword of the measure shown in the right viewport to the value of the input parameter.

Parameters
ignoreBoolean value that determines the Ignore value for the right measure.
History

2010-01-27 Jeannie Walldren - Fixed bug that resulted in segfault. Moved the check whether m_leftMeasure is null before the check whether m_rightMeasure equals m_leftMeasure.

2010-12-15 Tracie Sucharski - Remove netChanged, the point is not changed in the net unless "Save Point" is selected.

2011-06-27 Tracie Sucharski - emit signal indicating a measure parameter has changed.

Definition at line 1283 of file MatchTool.cpp.

References Isis::ControlMeasure::GetCubeSerialNumber().

Referenced by createRightMeasureGroupBox().

◆ setList()

void Isis::Tool::setList ( ToolList * currentList)
inherited

Definition at line 68 of file Tool.cpp.

◆ setLockLeftMeasure

void Isis::MatchTool::setLockLeftMeasure ( bool lock)
privateslot

Set the "EditLock" keyword of the measure shown in the left viewport to the value of the input parameter.

Parameters
ignoreBoolean value that determines the EditLock value for the left measure.
Author
2011-03-07 Tracie Sucharski
History

2011-06-27 Tracie Sucharski - emit signal indicating a measure parameter has changed.

2012-04-16 Tracie Sucharski - When attempting to un-lock a measure print error if point is locked.

Definition at line 1172 of file MatchTool.cpp.

References Isis::ControlMeasure::GetCubeSerialNumber(), and Isis::ControlMeasure::IsEditLocked().

Referenced by createLeftMeasureGroupBox().

◆ setLockPoint

void Isis::MatchTool::setLockPoint ( bool lock)
privateslot

Set point's "EditLock" keyword to the value of the input parameter.

Parameters
ignoreBoolean value that determines the EditLock value for this point.
Author
2011-03-07 Tracie Sucharski

Definition at line 1121 of file MatchTool.cpp.

References colorizeSaveButton(), and Isis::ControlPoint::SetEditLock().

Referenced by createControlPointGroupBox().

◆ setLockRightMeasure

void Isis::MatchTool::setLockRightMeasure ( bool lock)
privateslot

Set the "EditLock" keyword of the measure shown in the right viewport to the value of the input parameter.

Parameters
ignoreBoolean value that determines the EditLock value for the right measure.
Author
2011-03-07 Tracie Sucharski
History

2011-06-27 Tracie Sucharski - emit signal indicating a measure parameter has changed.

2012-04-16 Tracie Sucharski - When attempting to un-lock a measure print error if point is locked.

Definition at line 1243 of file MatchTool.cpp.

References Isis::ControlMeasure::GetCubeSerialNumber(), and Isis::ControlMeasure::IsEditLocked().

Referenced by createRightMeasureGroupBox().

◆ setTemplateModified

void Isis::MatchTool::setTemplateModified ( )
privateslot

called when the template file is modified by the template editor

Definition at line 2786 of file MatchTool.cpp.

Referenced by createTemplateEditorWidget().

◆ showHelp

void Isis::MatchTool::showHelp ( )
privateslot

Definition at line 3088 of file MatchTool.cpp.

◆ showHideTemplateEditor

void Isis::MatchTool::showHideTemplateEditor ( )
privateslot

Definition at line 2915 of file MatchTool.cpp.

◆ stretchRequested()

virtual void Isis::Tool::stretchRequested ( MdiCubeViewport * ,
int  )
inlineprotectedvirtualinherited

Reimplemented in Isis::StretchTool.

Definition at line 177 of file Tool.h.

◆ toolIconDir()

◆ toolPadAction()

QAction * Isis::MatchTool::toolPadAction ( ToolPad * pad)
protectedvirtual

Adds the Tie tool action to the tool pad.

When the Tie tool is selected, the Navigation Tool will automatically open.

Parameters
padTool pad
Returns
QAction* Pointer to Tie tool action
History
2010-07-01 Jeannie Walldren - Added connection between match's TieTool button and the showNavWindow() method

Reimplemented from Isis::Tool.

Definition at line 614 of file MatchTool.cpp.

References Isis::Tool::toolIconDir().

◆ updateLeftMeasureInfo

void Isis::MatchTool::updateLeftMeasureInfo ( )
privateslot
History

2008-11-24 Jeannie Walldren - Added "Goodness of Fit" to left measure info.

2010-07-22 Tracie Sucharski - Updated new measure types associated with implementation of binary control networks.

2010-12-27 Tracie Sucharski - Write textual Null instead of the numeric Null for sample & line residuals.

2011-04-20 Tracie Sucharski - Set EditLock check box correctly

2011-05-20 Tracie Sucharski - Added Reference output

2011-07-19 Tracie Sucharski - Did some re-arranging and added sample/line shifts.

Definition at line 2401 of file MatchTool.cpp.

References Isis::ControlMeasure::Candidate, Isis::ControlMeasure::GetCubeSerialNumber(), Isis::ControlMeasureLogData::GetNumericalValue(), Isis::ControlPoint::GetReferenceSN(), Isis::ControlMeasureLogData::GoodnessOfFit, IsMeasureLocked(), Isis::ControlPoint::IsReferenceExplicit(), Isis::ControlMeasure::Manual, Isis::Null, Isis::ControlMeasure::RegisteredPixel, and Isis::ControlMeasure::RegisteredSubPixel.

Referenced by eventFilter(), measureSaved(), and selectLeftMeasure().

◆ updateMeasure()

virtual void Isis::Tool::updateMeasure ( )
inlineprotectedvirtualinherited

Definition at line 167 of file Tool.h.

◆ updatePointInfo

void Isis::MatchTool::updatePointInfo ( QString pointId)
slot

Update the current editPoint information in the Point Editor labels.

Author
2011-05-05 Tracie Sucharski

@TODO Instead of a single method, should slots be separate for each updated point parameter, ie. ignore, editLock, apriori, etc. This is not robust, if other point attributes are changed outside of MatchTool, this method will need to be updated. *** THIS METHOD SHOULD GO AWAY WHEN CONTROLpOINTEDITOR IS INCLUDED IN MATCH ***

Definition at line 2937 of file MatchTool.cpp.

References Isis::ControlPoint::GetId(), Isis::ControlPoint::SetEditLock(), and Isis::ControlPoint::SetIgnored().

◆ updateRightMeasureInfo

void Isis::MatchTool::updateRightMeasureInfo ( )
privateslot
History

2008-11-24 Jeannie Walldren - Added "Goodness of Fit" to right measure info.

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2010-07-22 Tracie Sucharski - Updated new measure types associated with implementation of binary control networks.

2010-12-27 Tracie Sucharski - Write textual Null instead of the numeric Null for sample & line residuals.

2011-04-20 Tracie Sucharski - Set EditLock check box correctly

2011-05-20 Tracie Sucharski - Added Reference output

2011-07-19 Tracie Sucharski - Did some re-arranging and added sample/line shifts.

Definition at line 2474 of file MatchTool.cpp.

References Isis::ControlMeasure::Candidate, Isis::ControlMeasure::GetCubeSerialNumber(), Isis::ControlMeasureLogData::GetNumericalValue(), Isis::ControlPoint::GetReferenceSN(), Isis::ControlMeasureLogData::GoodnessOfFit, IsMeasureLocked(), Isis::ControlPoint::IsReferenceExplicit(), Isis::ControlMeasure::Manual, Isis::Null, Isis::ControlMeasure::RegisteredPixel, and Isis::ControlMeasure::RegisteredSubPixel.

Referenced by eventFilter(), measureSaved(), and selectRightMeasure().

◆ updateTool

◆ validateMeasureChange()

bool Isis::MatchTool::validateMeasureChange ( ControlMeasure * m)
private

Definition at line 864 of file MatchTool.cpp.

◆ viewTemplateFile

void Isis::MatchTool::viewTemplateFile ( )
privateslot

Allows the user to view the template file that is currently set.

Author
2008-12-10 Jeannie Walldren
History

2008-12-10 Jeannie Walldren - Original Version

2008-12-10 Jeannie Walldren - Added "" namespace to PvlEditDialog reference and changed registrationDialog from pointer to object

2008-12-15 Jeannie Walldren - Added QMessageBox warning in case Template File cannot be read.

Definition at line 2883 of file MatchTool.cpp.

◆ workspace()

Workspace * Isis::Tool::workspace ( )
protectedinherited

Definition at line 344 of file Tool.cpp.

◆ writeSettings()

void Isis::MatchTool::writeSettings ( ) const
private

This method is called when the Main window is closed or hidden to write the size and location settings to a config file in the user's home directory.

Definition at line 3064 of file MatchTool.cpp.

◆ writeTemplateFile

void Isis::MatchTool::writeTemplateFile ( QString fn)
privateslot

write the contents of the template editor to the file provided.

Parameters
fnThe filename to write to

Definition at line 2827 of file MatchTool.cpp.

References Isis::ControlPointEdit::setTemplateFile().

Referenced by saveTemplateFile(), and saveTemplateFileAs().

Member Data Documentation

◆ m_active

bool Isis::Tool::m_active
privateinherited

Is the tool acitve?

Definition at line 264 of file Tool.h.

Referenced by Isis::Tool::activate(), Isis::Tool::setCubeViewport(), and Isis::Tool::Tool().

◆ m_closeMatchTool

QAction* Isis::MatchTool::m_closeMatchTool
private

Definition at line 365 of file MatchTool.h.

◆ m_cnetFileName

QString Isis::MatchTool::m_cnetFileName
private

Definition at line 353 of file MatchTool.h.

◆ m_cnetFileNameLabel

QLabel* Isis::MatchTool::m_cnetFileNameLabel
private

Definition at line 354 of file MatchTool.h.

◆ m_controlNet

QPointer<ControlNet> Isis::MatchTool::m_controlNet
private

Definition at line 412 of file MatchTool.h.

◆ m_coregNet

bool Isis::MatchTool::m_coregNet
private

Definition at line 355 of file MatchTool.h.

◆ m_coregReferenceSN

QString Isis::MatchTool::m_coregReferenceSN
private

Definition at line 356 of file MatchTool.h.

◆ m_createPoint

QAction* Isis::MatchTool::m_createPoint
private

Definition at line 359 of file MatchTool.h.

◆ m_cvp

◆ m_deletePoint

QAction* Isis::MatchTool::m_deletePoint
private

Definition at line 361 of file MatchTool.h.

◆ m_editPoint

ControlPoint* Isis::MatchTool::m_editPoint
private

Definition at line 413 of file MatchTool.h.

◆ m_ignoreLeftMeasure

QCheckBox* Isis::MatchTool::m_ignoreLeftMeasure
private

Definition at line 402 of file MatchTool.h.

◆ m_ignorePoint

QCheckBox* Isis::MatchTool::m_ignorePoint
private

Definition at line 390 of file MatchTool.h.

◆ m_ignoreRightMeasure

QCheckBox* Isis::MatchTool::m_ignoreRightMeasure
private

Definition at line 404 of file MatchTool.h.

◆ m_lastUsedPointId

QString Isis::MatchTool::m_lastUsedPointId
private

Definition at line 416 of file MatchTool.h.

◆ m_leftCombo

QComboBox* Isis::MatchTool::m_leftCombo
private

Definition at line 406 of file MatchTool.h.

◆ m_leftCube

Cube* Isis::MatchTool::m_leftCube
private

Definition at line 423 of file MatchTool.h.

◆ m_leftFile

QString Isis::MatchTool::m_leftFile
private

Definition at line 420 of file MatchTool.h.

◆ m_leftGoodness

QLabel* Isis::MatchTool::m_leftGoodness
private

Definition at line 395 of file MatchTool.h.

◆ m_leftLineShift

QLabel* Isis::MatchTool::m_leftLineShift
private

Definition at line 394 of file MatchTool.h.

◆ m_leftMeasure

ControlMeasure* Isis::MatchTool::m_leftMeasure
private

Definition at line 421 of file MatchTool.h.

◆ m_leftMeasureType

QLabel* Isis::MatchTool::m_leftMeasureType
private

Definition at line 392 of file MatchTool.h.

◆ m_leftReference

QLabel* Isis::MatchTool::m_leftReference
private

Definition at line 391 of file MatchTool.h.

◆ m_leftSampShift

QLabel* Isis::MatchTool::m_leftSampShift
private

Definition at line 393 of file MatchTool.h.

◆ m_lockLeftMeasure

QCheckBox* Isis::MatchTool::m_lockLeftMeasure
private

Definition at line 401 of file MatchTool.h.

◆ m_lockPoint

QCheckBox* Isis::MatchTool::m_lockPoint
private

Definition at line 389 of file MatchTool.h.

◆ m_lockRightMeasure

QCheckBox* Isis::MatchTool::m_lockRightMeasure
private

Definition at line 403 of file MatchTool.h.

◆ m_matchTool

QMainWindow* Isis::MatchTool::m_matchTool
private

Definition at line 348 of file MatchTool.h.

◆ m_measureTable

QTableWidget* Isis::MatchTool::m_measureTable
private

Definition at line 410 of file MatchTool.h.

◆ m_measureWindow

QMainWindow* Isis::MatchTool::m_measureWindow
private

Definition at line 409 of file MatchTool.h.

◆ m_modifyPoint

QAction* Isis::MatchTool::m_modifyPoint
private

Definition at line 360 of file MatchTool.h.

◆ m_netChanged

bool Isis::MatchTool::m_netChanged
private

Definition at line 357 of file MatchTool.h.

◆ m_newPoint

ControlPoint* Isis::MatchTool::m_newPoint
private

Definition at line 415 of file MatchTool.h.

◆ m_newPointDialog

MatchToolNewPointDialog* Isis::MatchTool::m_newPointDialog
private

Definition at line 414 of file MatchTool.h.

◆ m_numMeasures

QLabel* Isis::MatchTool::m_numMeasures
private

Definition at line 387 of file MatchTool.h.

◆ m_openTemplateFile

QAction* Isis::MatchTool::m_openTemplateFile
private

Definition at line 369 of file MatchTool.h.

◆ m_parent

QWidget* Isis::MatchTool::m_parent
private

Definition at line 350 of file MatchTool.h.

◆ m_pointEditor

ControlPointEdit* Isis::MatchTool::m_pointEditor
private

Definition at line 376 of file MatchTool.h.

◆ m_pointFiles

QStringList Isis::MatchTool::m_pointFiles
private

Definition at line 418 of file MatchTool.h.

◆ m_ptIdValue

QLabel* Isis::MatchTool::m_ptIdValue
private

Definition at line 386 of file MatchTool.h.

◆ m_rightCombo

QComboBox* Isis::MatchTool::m_rightCombo
private

Definition at line 407 of file MatchTool.h.

◆ m_rightCube

Cube* Isis::MatchTool::m_rightCube
private

Definition at line 424 of file MatchTool.h.

◆ m_rightGoodness

QLabel* Isis::MatchTool::m_rightGoodness
private

Definition at line 396 of file MatchTool.h.

◆ m_rightLineShift

QLabel* Isis::MatchTool::m_rightLineShift
private

Definition at line 400 of file MatchTool.h.

◆ m_rightMeasure

ControlMeasure* Isis::MatchTool::m_rightMeasure
private

Definition at line 422 of file MatchTool.h.

◆ m_rightMeasureType

QLabel* Isis::MatchTool::m_rightMeasureType
private

Definition at line 398 of file MatchTool.h.

◆ m_rightReference

QLabel* Isis::MatchTool::m_rightReference
private

Definition at line 397 of file MatchTool.h.

◆ m_rightSampShift

QLabel* Isis::MatchTool::m_rightSampShift
private

Definition at line 399 of file MatchTool.h.

◆ m_saveAsNet

QAction* Isis::MatchTool::m_saveAsNet
private

Definition at line 364 of file MatchTool.h.

◆ m_saveChips

QAction* Isis::MatchTool::m_saveChips
private

Definition at line 367 of file MatchTool.h.

◆ m_saveDefaultPalette

QPalette Isis::MatchTool::m_saveDefaultPalette
private

Definition at line 379 of file MatchTool.h.

◆ m_saveNet

QAction* Isis::MatchTool::m_saveNet
private

Definition at line 363 of file MatchTool.h.

◆ m_savePoint

QPushButton* Isis::MatchTool::m_savePoint
private

Definition at line 378 of file MatchTool.h.

◆ m_saveTemplateFile

QAction* Isis::MatchTool::m_saveTemplateFile
private

Definition at line 370 of file MatchTool.h.

◆ m_saveTemplateFileAs

QAction* Isis::MatchTool::m_saveTemplateFileAs
private

Definition at line 371 of file MatchTool.h.

◆ m_showHelp

QAction* Isis::MatchTool::m_showHelp
private

Definition at line 374 of file MatchTool.h.

◆ m_showHideTemplateEditor

QAction* Isis::MatchTool::m_showHideTemplateEditor
private

Definition at line 368 of file MatchTool.h.

◆ m_statusBar

QStatusBar* Isis::MatchTool::m_statusBar
private

Definition at line 351 of file MatchTool.h.

◆ m_templateEditor

QTextEdit* Isis::MatchTool::m_templateEditor
private

Definition at line 381 of file MatchTool.h.

◆ m_templateEditorWidget

QWidget* Isis::MatchTool::m_templateEditorWidget
private

Definition at line 382 of file MatchTool.h.

◆ m_templateFileNameLabel

QLabel* Isis::MatchTool::m_templateFileNameLabel
private

Definition at line 385 of file MatchTool.h.

◆ m_templateModified

bool Isis::MatchTool::m_templateModified
private

Definition at line 383 of file MatchTool.h.

◆ m_toolBarWidget

QWidget* Isis::Tool::m_toolBarWidget
privateinherited

The tool bar on which this tool resides.

Definition at line 265 of file Tool.h.

Referenced by Isis::Tool::addToActive(), Isis::Tool::disableToolBar(), Isis::Tool::enableToolBar(), and Isis::Tool::Tool().

◆ m_toolIconDir

QString Isis::Tool::m_toolIconDir
privateinherited

The pathway to the icon directory.

Definition at line 267 of file Tool.h.

Referenced by Isis::Tool::Tool(), and Isis::Tool::toolIconDir().

◆ m_toolList

ToolList* Isis::Tool::m_toolList
privateinherited

Definition at line 268 of file Tool.h.

◆ m_toolPadAction

QAction* Isis::Tool::m_toolPadAction
privateinherited

The tool pad on which this tool resides.

Definition at line 266 of file Tool.h.

Referenced by Isis::Tool::activate(), Isis::Tool::addTo(), Isis::Tool::addViewportConnections(), and Isis::Tool::Tool().

◆ m_whatsThis

QAction* Isis::MatchTool::m_whatsThis
private

Definition at line 373 of file MatchTool.h.

◆ m_workspace

Workspace* Isis::Tool::m_workspace
privateinherited

Definition at line 262 of file Tool.h.

◆ NUMCOLUMNS

const int Isis::MatchTool::NUMCOLUMNS = 16
static

Definition at line 245 of file MatchTool.h.


The documentation for this class was generated from the following files: