Isis 3 Programmer Reference
|
Qnet tool operations. More...
#include <QnetTool.h>
Public Slots | |
void | updateList () |
void | updateNet (QString cNetFileName) |
Updates the Control Network displayed in the Qnet Tool title bar. More... | |
void | createPoint (double lat, double lon) |
Create new control point. More... | |
void | createFixedPoint (double lat, double lon) |
Create new Fixed control point. More... | |
void | modifyPoint (ControlPoint *point) |
Modify control point. More... | |
void | deletePoint (ControlPoint *point) |
Delete control point. More... | |
void | updatePointInfo (QString pointId) |
Update the current editPoint information in the Point Editor labels. More... | |
void | refresh () |
Refresh all necessary widgets in QnetTool including the PointEditor and CubeViewports. More... | |
void | activate (bool) |
Activates the tool. More... | |
virtual void | updateTool () |
Updates the tool. More... | |
void | setCubeViewport (MdiCubeViewport *cvp) |
Sets the current viewport to the given cvp. More... | |
Signals | |
void | qnetToolSave () |
void | qnetToolSaveAs () |
void | refreshNavList () |
void | editPointChanged (QString pointId) |
void | netChanged () |
void | ignorePointChanged () |
void | ignoreLeftChanged () |
void | ignoreRightChanged () |
void | showNavTool () |
void | newControlNetwork (ControlNet *) |
void | stretchChipViewport (Stretch *, CubeViewport *) |
void | measureChanged () |
void | clearWarningSignal () |
void | toolActivated () |
void | viewportChanged () |
Public Member Functions | |
QnetTool (QWidget *parent) | |
Consructs the Qnet Tool window. More... | |
void | paintViewport (MdiCubeViewport *cvp, QPainter *painter) |
Take care of drawing things on a viewPort. More... | |
QString | measureColumnToString (MeasureColumns column) |
ControlNet * | controlNet () |
const ControlNet * | controlNet () const |
SerialNumberList * | serialNumberList () |
const SerialNumberList * | serialNumberList () const |
Workspace * | workspace () const |
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 (QMenu *menu) |
virtual void | addTo (Workspace *ws) |
Adds the given workspace to the cubeviewport list. More... | |
virtual QString | menuName () const |
Anytime a tool is created, you must give it a name for the menu. 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) |
Static Public Attributes | |
static const int | NUMCOLUMNS = 16 |
Protected Types | |
typedef QVector< MdiCubeViewport * > | CubeViewportList |
A list of cubeviewports. More... | |
Protected Slots | |
void | mouseButtonRelease (QPoint p, Qt::MouseButton s) |
Handle mouse events on CubeViewport. More... | |
QWidget * | createToolBarWidget (QStackedWidget *parent) |
This method creates the widgets for the tool bar. 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 *pad) |
Adds the Tie tool action to the tool pad. More... | |
bool | eventFilter (QObject *o, QEvent *e) |
Event filter for QnetTool. 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 | enterWhatsThisMode () |
void | paintAllViewports (QString pointId) |
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 (QnetTool::editPointChanged connected to this slot is also connected to another slot (QnetNavTool::updateEditPoint which needs the point Id. More... | |
void | saveNet () |
Signal to save control net. More... | |
void | saveAsNet () |
Signal to save the control net. More... | |
void | addMeasure () |
Add measure to point. More... | |
void | setPointType (int pointType) |
Set the point type. More... | |
void | setLockPoint (bool ignore) |
Set point's "EditLock" keyword to the value of the input parameter. More... | |
void | setIgnorePoint (bool ignore) |
Set point's "Ignore" keyword to the value of the input parameter. More... | |
void | setLockLeftMeasure (bool ignore) |
Set the "EditLock" keyword of the measure shown in the left viewport to the value of the input parameter. More... | |
void | setIgnoreLeftMeasure (bool ignore) |
Set the "Ignore" keyword of the measure shown in the left viewport to the value of the input parameter. More... | |
void | setLockRightMeasure (bool ignore) |
Set the "EditLock" keyword of the measure shown in the right viewport to the value of the input parameter. More... | |
void | setIgnoreRightMeasure (bool ignore) |
Set the "Ignore" keyword of the measure shown in the right viewport to the value of the input parameter. More... | |
void | showNavWindow (bool checked) |
Emits a signal to displays the Navigation window. More... | |
void | updateSurfacePointInfo () |
Update the Surface Point Information in the QnetTool window. More... | |
void | nextRightMeasure () |
Selects the next right measure when activated by key shortcut. More... | |
void | previousRightMeasure () |
Selects the previous right measure when activated by key shortcut. More... | |
void | selectLeftMeasure (int index) |
Select left measure. More... | |
void | selectRightMeasure (int index) |
Select right measure. More... | |
void | updateLeftMeasureInfo () |
void | updateRightMeasureInfo () |
void | measureSaved () |
This method is connected with the measureSaved() signal from ControlPointEdit. More... | |
bool | checkReference () |
Change which measure is the reference. More... | |
void | updateGroundPosition () |
void | savePoint () |
Save edit point to the Control Network. More... | |
void | colorizeSaveButton () |
Turn "Save Point" button text to red. More... | |
void | openTemplateFile () |
prompt user for a registration template file to open. More... | |
void | viewTemplateFile () |
Allows the user to view the template file that is currently set. More... | |
void | saveChips () |
Slot which calls ControlPointEditor slot to save chips. More... | |
void | openGround () |
Open a ground source for selecting fixed points. More... | |
void | groundViewportClosed (CubeViewport *) |
Slot called when the ground source cube viewport is closed. More... | |
void | openDem () |
Open a DEM for ground source radii. More... | |
void | openReferenceRadius () |
Open a radius source using the shape model of the reference measure of m_editPoint. More... | |
void | showHideTemplateEditor () |
void | saveTemplateFile () |
save the file opened in the template editor More... | |
void | saveTemplateFileAs () |
save the contents of template editor to a file chosen by the user More... | |
void | setTemplateModified () |
called when the template file is modified by the template editor More... | |
void | writeTemplateFile (QString) |
write the contents of the template editor to the file provided. More... | |
Private Member Functions | |
void | createActions () |
Creates the menu actions for Qnet Tool. More... | |
void | createMenus () |
Customize dropdown menus below title bar. More... | |
ControlMeasure * | createTemporaryGroundMeasure () |
Create a temporary measure to hold the ground point info for ground source. More... | |
void | createToolBars () |
bool | findPointLocation () |
Attempt to find the control point's location on the ground source. More... | |
void | loadPoint () |
Load point into QnetTool. More... | |
void | loadGroundMeasure () |
Load ground measure into right side and add to file combo boxes. More... | |
void | loadMeasureTable () |
Load measure information into the measure table. More... | |
void | drawAllMeasurments (MdiCubeViewport *vp, QPainter *painter) |
Draw all measurments which are on this viewPort. More... | |
void | drawGroundMeasures (MdiCubeViewport *vp, QPainter *painter) |
Draw all Fixed or Constrained points on the ground source viewport. More... | |
void | createQnetTool (QWidget *parent) |
create the main window for editing control points More... | |
QSplitter * | createTopSplitter () |
creates everything above the ControlPointEdit More... | |
QGroupBox * | createControlPointGroupBox () |
QGroupBox * | createLeftMeasureGroupBox () |
QGroupBox * | createRightMeasureGroupBox () |
Creates the right measure group box. More... | |
void | createTemplateEditorWidget () |
Creates the Widget which contains the template editor and its toolbar. More... | |
void | loadTemplateFile (QString) |
Updates the current template file being used. More... | |
bool | okToContinue () |
Allows user to set a new template file. More... | |
void | initDem (QString demFile) |
double | demRadius (double latitude, double longitude) |
Return a radius values from the dem using bilinear interpolation. More... | |
void | clearGroundSource () |
bool | IsMeasureLocked (QString serialNumber) |
Check for implicitly locked measure in m_editPoint. More... | |
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. More... | |
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. More... | |
QStringList | findPointFiles (double lat, double lon) |
void | addViewportConnections () |
Makes all the connections for the tool. More... | |
void | removeViewportConnections () |
Removes all the connections from the tool. More... | |
void | enableToolBar () |
Enables entire tool bar. More... | |
void | disableToolBar () |
Disables entire tool bar. More... | |
Private Attributes | |
QPointer< MainWindow > | m_qnetTool |
QString | m_cnetFileName |
QPointer< QAction > | m_createPoint |
QPointer< QAction > | m_modifyPoint |
QPointer< QAction > | m_deletePoint |
QPointer< QAction > | m_openGround |
QPointer< QAction > | m_openDem |
QPointer< QAction > | m_saveNet |
QPointer< QToolBar > | toolBar |
QPointer< QAction > | m_saveAsNet |
QPointer< QAction > | m_closeQnetTool |
QPointer< QAction > | m_saveChips |
QPointer< QAction > | m_showHideTemplateEditor |
QPointer< QAction > | m_openTemplateFile |
QPointer< QAction > | m_saveTemplateFile |
QPointer< QAction > | m_saveTemplateFileAs |
QPointer< QAction > | m_whatsThis |
QPointer< QMainWindow > | m_mw |
QPointer< ControlPointEdit > | m_pointEditor |
QPushButton * | m_savePoint |
QPalette | m_saveDefaultPalette |
QTextEdit * | m_templateEditor |
QWidget * | m_templateEditorWidget |
bool | m_templateModified |
QPointer< QLabel > | m_templateFileNameLabel |
QPointer< QLabel > | m_groundFileNameLabel |
QPointer< QLabel > | m_radiusFileNameLabel |
QPointer< QLabel > | m_ptIdValue |
QPointer< QComboBox > | m_pointType |
QPointer< QLabel > | m_numMeasures |
QPointer< QLabel > | m_pointAprioriLatitude |
QPointer< QLabel > | m_pointAprioriLongitude |
QPointer< QLabel > | m_pointAprioriRadius |
QPointer< QLabel > | m_pointAprioriLatitudeSigma |
QPointer< QLabel > | m_pointAprioriLongitudeSigma |
QPointer< QLabel > | m_pointAprioriRadiusSigma |
QPointer< QLabel > | m_pointLatitude |
QPointer< QLabel > | m_pointLongitude |
QPointer< QLabel > | m_pointRadius |
QPointer< QCheckBox > | m_lockPoint |
QPointer< QCheckBox > | m_ignorePoint |
QPointer< QLabel > | m_leftReference |
QPointer< QLabel > | m_leftMeasureType |
QPointer< QLabel > | m_leftSampError |
QPointer< QLabel > | m_leftLineError |
QPointer< QLabel > | m_leftSampShift |
QPointer< QLabel > | m_leftLineShift |
QPointer< QLabel > | m_leftGoodness |
QPointer< QLabel > | m_rightGoodness |
QPointer< QLabel > | m_rightReference |
QPointer< QLabel > | m_rightMeasureType |
QPointer< QLabel > | m_rightSampError |
QPointer< QLabel > | m_rightLineError |
QPointer< QLabel > | m_rightSampShift |
QPointer< QLabel > | m_rightLineShift |
QPointer< QCheckBox > | m_lockLeftMeasure |
QPointer< QCheckBox > | m_ignoreLeftMeasure |
QPointer< QCheckBox > | m_lockRightMeasure |
QPointer< QCheckBox > | m_ignoreRightMeasure |
QPointer< QComboBox > | m_leftCombo |
QPointer< QComboBox > | m_rightCombo |
QPointer< QMainWindow > | m_measureWindow |
QPointer< QTableWidget > | m_measureTable |
QPointer< ControlPoint > | m_editPoint |
QStringList | m_pointFiles |
QString | m_leftFile |
QPointer< ControlMeasure > | m_leftMeasure |
QPointer< ControlMeasure > | m_rightMeasure |
QScopedPointer< Cube > | m_leftCube |
QScopedPointer< Cube > | m_rightCube |
QString | m_groundFile |
QScopedPointer< Cube > | m_groundCube |
QString | m_groundSN |
QScopedPointer< UniversalGroundMap > | m_groundGmap |
bool | m_groundOpen |
ControlPoint::SurfacePointSource::Source | m_groundSurfacePointSource |
ControlPoint::RadiusSource::Source | m_groundRadiusSource |
QString | m_groundSourceFile |
QString | m_radiusSourceFile |
QString | m_demFile |
bool | m_demOpen |
QScopedPointer< Cube > | m_demCube |
QString | m_lastUsedPointId |
QPointer< ControlNet > | m_controlNet |
SerialNumberList * | m_serialNumberList |
QPointer< Workspace > | m_workspace |
MdiCubeViewport * | m_cvp |
current cubeviewport More... | |
bool | m_active |
Is the tool acitve? More... | |
QWidget * | m_toolBarWidget |
The tool bar on which this tool resides. More... | |
QAction * | m_toolPadAction |
The tool pad on which this tool resides. More... | |
QString | m_toolIconDir |
The pathway to the icon directory. More... | |
ToolList * | m_toolList |
Qnet tool operations.
Definition at line 256 of file QnetTool.h.
|
protectedinherited |
Isis::QnetTool::QnetTool | ( | QWidget * | parent | ) |
Consructs the Qnet Tool window.
parent | Pointer to the parent widget for the Qnet tool |
Definition at line 67 of file QnetTool.cpp.
References createQnetTool(), and Isis::IException::Programmer.
|
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::WindowTool, and Isis::TrackTool.
Definition at line 239 of file Tool.h.
Referenced by Isis::Tool::addViewportConnections().
|
privateslot |
Add measure to point.
Definition at line 3015 of file QnetTool.cpp.
References colorizeSaveButton(), Isis::SerialNumberList::fileName(), Isis::SerialNumberList::fileNameIndex(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::Camera::Line(), Isis::Camera::Lines(), loadPoint(), loadTemplateFile(), Isis::ControlMeasure::Manual, Isis::Camera::Sample(), Isis::SerialNumberList::serialNumber(), Isis::SerialNumberList::serialNumberIndex(), Isis::ControlMeasure::SetChooserName(), Isis::ControlMeasure::SetCoordinate(), Isis::ControlMeasure::SetCubeSerialNumber(), Isis::QnetNewMeasureDialog::setFiles(), Isis::Camera::SetImage(), Isis::ControlMeasure::SetType(), Isis::Camera::SetUniversalGround(), Isis::SerialNumberList::size(), Isis::Sensor::UniversalLatitude(), Isis::Sensor::UniversalLongitude(), and Isis::Application::UserName().
Referenced by createQnetTool().
|
inlinevirtualinherited |
menu |
Reimplemented in Isis::ZoomTool, Isis::WindowTool, Isis::SunShadowTool, Isis::StretchTool, Isis::SpectralPlotTool, Isis::SpecialPixelTool, Isis::QnetFileTool, Isis::MeasureTool, Isis::HelpTool, Isis::FindTool, Isis::FileTool, Isis::FeatureNomenclatureTool, Isis::BlinkTool, Isis::AdvancedTrackTool, and Isis::PanTool.
|
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().
|
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::EditTool::addTo(), Isis::FileTool::addTo(), Isis::SpecialPixelTool::addTo(), Isis::WindowTool::addTo(), Isis::ViewportMainWindow::ViewportMainWindow(), and Isis::Workspace::Workspace().
|
virtualinherited |
Adds the given workspace to the cubeviewport list.
ws |
Reimplemented in Isis::WindowTool, Isis::SpecialPixelTool, Isis::FileTool, and Isis::EditTool.
Definition at line 45 of file Tool.cpp.
References Isis::Tool::registerTool(), and Isis::Tool::setCubeViewport().
|
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::WindowTool, Isis::SpecialPixelTool, Isis::HelpTool, Isis::FileTool, Isis::BlinkTool, and Isis::AdvancedTrackTool.
Definition at line 97 of file Tool.h.
Referenced by Isis::Tool::addTo(), and Isis::Workspace::Workspace().
|
privateinherited |
Makes all the connections for the tool.
Definition at line 187 of file Tool.cpp.
References Isis::Tool::addConnections(), Isis::Tool::enableRubberBandTool(), Isis::Tool::m_cvp, Isis::Tool::m_toolPadAction, Isis::Tool::mouseButtonPress(), Isis::Tool::mouseButtonRelease(), Isis::Tool::mouseDoubleClick(), Isis::Tool::mouseMove(), and Isis::Tool::screenPixelsChanged().
Referenced by Isis::Tool::activate(), and Isis::Tool::setCubeViewport().
|
privateslot |
Change which measure is the reference.
Definition at line 864 of file QnetTool.cpp.
References Isis::SerialNumberList::fileName(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::FileName::name(), selectLeftMeasure(), and selectRightMeasure().
Referenced by measureSaved().
|
privateslot |
Turn "Save Point" button text to red.
Definition at line 4066 of file QnetTool.cpp.
Referenced by addMeasure(), createFixedPoint(), createPoint(), createQnetTool(), deletePoint(), measureSaved(), setIgnorePoint(), setLockPoint(), and setPointType().
|
private |
Creates the menu actions for Qnet Tool.
Definition at line 505 of file QnetTool.cpp.
References openDem(), openGround(), openTemplateFile(), saveAsNet(), saveChips(), saveNet(), saveTemplateFile(), saveTemplateFileAs(), and Isis::Tool::toolIconDir().
Referenced by createQnetTool().
|
private |
Definition at line 265 of file QnetTool.cpp.
References Isis::ControlPoint::PointTypeToString(), setIgnorePoint(), setLockPoint(), and setPointType().
Referenced by createTopSplitter().
|
slot |
Create new Fixed control point.
lat | Latitude value of control point to be created. |
lon | Longitude value of control point to be created. |
Definition at line 1786 of file QnetTool.cpp.
References Isis::ControlPoint::Add(), colorizeSaveButton(), Isis::ControlPoint::Constrained, Isis::Angle::Degrees, demRadius(), Isis::SerialNumberList::fileName(), Isis::SerialNumberList::fileNameIndex(), Isis::ControlPoint::Fixed, Isis::ControlPoint::GetId(), Isis::Camera::Line(), loadPoint(), Isis::ControlMeasure::Manual, Isis::Distance::Meters, Isis::Null, Isis::Camera::Sample(), Isis::SerialNumberList::serialNumber(), Isis::ControlPoint::SetAprioriSurfacePoint(), Isis::ControlMeasure::SetCamera(), Isis::ControlMeasure::SetChooserName(), Isis::ControlPoint::SetChooserName(), Isis::ControlMeasure::SetCoordinate(), Isis::ControlMeasure::SetCubeSerialNumber(), Isis::QnetFixedPointDialog::setFiles(), Isis::ControlMeasure::SetType(), Isis::ControlPoint::SetType(), Isis::Camera::SetUniversalGround(), Isis::SerialNumberList::size(), and Isis::Application::UserName().
Referenced by mouseButtonRelease().
|
private |
Definition at line 331 of file QnetTool.cpp.
References selectLeftMeasure(), setIgnoreLeftMeasure(), and setLockLeftMeasure().
Referenced by createTopSplitter().
|
private |
Customize dropdown menus below title bar.
Definition at line 626 of file QnetTool.cpp.
Referenced by createQnetTool().
|
slot |
Create new control point.
lat | Latitude value of control point to be created. |
lon | Longitude value of control point to be created. |
Definition at line 1671 of file QnetTool.cpp.
References Isis::ControlPoint::Add(), colorizeSaveButton(), Isis::SerialNumberList::fileName(), Isis::SerialNumberList::fileNameIndex(), Isis::ControlPoint::GetId(), Isis::Camera::Line(), loadPoint(), loadTemplateFile(), Isis::ControlMeasure::Manual, Isis::Camera::Sample(), Isis::SerialNumberList::serialNumber(), Isis::ControlMeasure::SetCamera(), Isis::ControlMeasure::SetChooserName(), Isis::ControlPoint::SetChooserName(), Isis::ControlMeasure::SetCoordinate(), Isis::ControlMeasure::SetCubeSerialNumber(), Isis::NewControlPointDialog::setFiles(), Isis::ControlMeasure::SetType(), Isis::Camera::SetUniversalGround(), Isis::SerialNumberList::size(), and Isis::Application::UserName().
Referenced by mouseButtonRelease().
|
private |
create the main window for editing control points
parent | Pointer to parent QWidget |
Definition at line 131 of file QnetTool.cpp.
References addMeasure(), colorizeSaveButton(), createActions(), createMenus(), createTopSplitter(), measureSaved(), paintAllViewports(), readSettings(), and savePoint().
Referenced by QnetTool().
|
private |
Creates the right measure group box.
Definition at line 403 of file QnetTool.cpp.
References nextRightMeasure(), previousRightMeasure(), selectRightMeasure(), setIgnoreRightMeasure(), and setLockRightMeasure().
Referenced by createTopSplitter().
|
private |
Creates the Widget which contains the template editor and its toolbar.
Definition at line 475 of file QnetTool.cpp.
References setTemplateModified().
Referenced by createTopSplitter().
|
private |
Create a temporary measure to hold the ground point info for ground source.
Definition at line 2207 of file QnetTool.cpp.
References Isis::ControlMeasure::Candidate, Isis::ControlMeasure::SetCoordinate(), Isis::ControlMeasure::SetCubeSerialNumber(), and Isis::ControlMeasure::SetType().
Referenced by loadGroundMeasure(), and loadPoint().
|
protectedslot |
This method creates the widgets for the tool bar.
A "Show Nav Tool" button is created so that the navigation tool may be reopened if it has been closed.
parent | The parent QStackedWidget |
Definition at line 3607 of file QnetTool.cpp.
References showNavWindow().
|
private |
creates everything above the ControlPointEdit
Definition at line 236 of file QnetTool.cpp.
References createControlPointGroupBox(), createLeftMeasureGroupBox(), createRightMeasureGroupBox(), and createTemplateEditorWidget().
Referenced by createQnetTool().
|
inlineprotectedinherited |
Return the current 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(), Isis::MatchTool::mouseButtonRelease(), mouseButtonRelease(), Isis::RubberBandTool::mouseButtonRelease(), Isis::StretchTool::mouseButtonRelease(), Isis::AdvancedTrackTool::mouseLeave(), Isis::SunShadowTool::mouseMove(), Isis::TrackTool::mouseMove(), Isis::RubberBandTool::mouseMove(), Isis::ScatterPlotTool::mouseMove(), 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::AbstractPlotTool::updateTool(), Isis::BandTool::updateTool(), Isis::BlinkTool::updateTool(), Isis::EditTool::updateTool(), Isis::FileTool::updateTool(), Isis::FindTool::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().
|
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(), Isis::FindTool::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(), Isis::FindTool::handleLinkClicked(), Isis::WindowTool::linkWindows(), Isis::RubberBandTool::mouseButtonRelease(), Isis::RubberBandTool::mouseMove(), openGround(), Isis::ControlNetTool::paintAllViewports(), Isis::MatchTool::paintAllViewports(), Isis::StereoTool::paintAllViewports(), paintAllViewports(), Isis::FindTool::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::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().
|
slot |
Delete control point.
point | Pointer to control point (net memory) to be deleted. |
Definition at line 1960 of file QnetTool.cpp.
References colorizeSaveButton(), Isis::SerialNumberList::fileName(), Isis::ControlMeasure::GetCubeSerialNumber(), loadPoint(), loadTemplateFile(), and Isis::ControlPoint::PointLocked.
Referenced by mouseButtonRelease().
|
private |
Return a radius values from the dem using bilinear interpolation.
Definition at line 4023 of file QnetTool.cpp.
References Isis::Buffer::DoubleBuffer(), Isis::Interpolator::HotLine(), Isis::Interpolator::HotSample(), Isis::Interpolator::Interpolate(), Isis::UniversalGroundMap::Line(), Isis::Interpolator::Lines(), Isis::Null, Isis::UniversalGroundMap::Sample(), Isis::Interpolator::Samples(), Isis::Portal::SetPosition(), and Isis::UniversalGroundMap::SetUniversalGround().
Referenced by createFixedPoint().
|
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().
|
private |
Draw all measurments which are on this viewPort.
vp | Viewport whose measurements will be drawn |
painter |
Definition at line 3171 of file QnetTool.cpp.
References Isis::SerialNumber::Compose(), Isis::CubeViewport::cube(), Isis::CubeViewport::cubeToViewport(), drawGroundMeasures(), Isis::ControlPoint::Free, Isis::ControlPoint::GetType(), and Isis::SerialNumberList::hasSerialNumber().
Referenced by paintViewport().
|
private |
Draw all Fixed or Constrained points on the ground source viewport.
vp | Viewport whose measurements will be drawn |
painter |
Definition at line 3249 of file QnetTool.cpp.
References Isis::CubeViewport::cubeToViewport(), Isis::ControlPoint::Free, Isis::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLongitude(), and Isis::ControlPoint::GetType().
Referenced by drawAllMeasurments().
|
protectedvirtualinherited |
Anytime a tool is created, you may use the rubber band tool.
Enable the use of the rubberband tool.
Reimplemented in Isis::ZoomTool, Isis::StereoTool, Isis::SpectralPlotTool, Isis::SpatialPlotTool, Isis::RubberBandTool, Isis::MeasureTool, and Isis::HistogramTool.
Definition at line 339 of file Tool.cpp.
References Isis::RubberBandTool::disable().
Referenced by Isis::Tool::addViewportConnections().
|
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().
|
protected |
Event filter for QnetTool.
Determines whether to update left or right measure info.
o | Pointer to QObject |
e | Pointer to QEvent |
Definition at line 3097 of file QnetTool.cpp.
References updateLeftMeasureInfo(), and updateRightMeasureInfo().
|
private |
Attempt to find the control point's location on the ground source.
Definition at line 2161 of file QnetTool.cpp.
References Isis::Angle::degrees(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLongitude(), Isis::SerialNumberList::serialNumberIndex(), Isis::Camera::SetImage(), Isis::Sensor::UniversalLatitude(), and Isis::Sensor::UniversalLongitude().
Referenced by loadGroundMeasure(), and loadPoint().
|
privateslot |
Slot called when the ground source cube viewport is closed.
Definition at line 3955 of file QnetTool.cpp.
Referenced by openGround().
|
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.
[in] | serialNumber | (QString) Serial number of measure to be checked |
Definition at line 4089 of file QnetTool.cpp.
Referenced by loadMeasureTable(), updateLeftMeasureInfo(), and updateRightMeasureInfo().
|
private |
Load ground measure into right side and add to file combo boxes.
Definition at line 1185 of file QnetTool.cpp.
References createTemporaryGroundMeasure(), Isis::SerialNumberList::fileName(), findPointLocation(), Isis::ControlMeasure::GetCubeSerialNumber(), loadMeasureTable(), Isis::FileName::name(), selectRightMeasure(), and updateSurfacePointInfo().
Referenced by setPointType().
|
private |
Load measure information into the measure table.
Definition at line 2378 of file QnetTool.cpp.
References Isis::SerialNumberList::fileName(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::ControlMeasureLogData::GetNumericalValue(), Isis::ControlMeasure::GetResidualMagnitude(), Isis::ControlMeasureLogData::GoodnessOfFit, IsMeasureLocked(), Isis::ControlMeasure::MeasureTypeToString(), and Isis::Null.
Referenced by loadGroundMeasure(), loadPoint(), and measureSaved().
|
private |
Load point into QnetTool.
Definition at line 2244 of file QnetTool.cpp.
References createTemporaryGroundMeasure(), Isis::SerialNumberList::fileName(), findPointLocation(), Isis::ControlPoint::Free, Isis::ControlMeasure::GetCubeSerialNumber(), loadMeasureTable(), Isis::FileName::name(), openReferenceRadius(), selectLeftMeasure(), selectRightMeasure(), and updateSurfacePointInfo().
Referenced by addMeasure(), createFixedPoint(), createPoint(), deletePoint(), modifyPoint(), openGround(), and setPointType().
|
private |
Updates the current template file being used.
fn | The file path of the new template file |
Definition at line 3348 of file QnetTool.cpp.
Referenced by addMeasure(), createPoint(), deletePoint(), modifyPoint(), and openTemplateFile().
|
privateslot |
This method is connected with the measureSaved() signal from ControlPointEdit.
Definition at line 724 of file QnetTool.cpp.
References checkReference(), colorizeSaveButton(), Isis::ControlPoint::Free, Isis::ControlMeasure::IsEditLocked(), loadMeasureTable(), updateLeftMeasureInfo(), updateRightMeasureInfo(), and Isis::Application::UserName().
Referenced by createQnetTool().
|
inlinevirtualinherited |
Anytime a tool is created, you must give it a name for the menu.
Reimplemented in Isis::ZoomTool, Isis::WindowTool, Isis::StretchTool, Isis::SpecialPixelTool, Isis::PanTool, Isis::MeasureTool, Isis::HelpTool, Isis::FindTool, Isis::FileTool, Isis::FeatureNomenclatureTool, Isis::BlinkTool, Isis::BandTool, and Isis::AdvancedTrackTool.
Definition at line 83 of file Tool.h.
Referenced by Isis::Tool::addTo(), and Isis::Workspace::Workspace().
|
slot |
Modify control point.
point | Pointer to control point to be modified. |
Definition at line 2109 of file QnetTool.cpp.
References loadPoint(), and loadTemplateFile().
Referenced by mouseButtonRelease().
|
protectedvirtualinherited |
p | |
s |
Definition at line 367 of file Tool.cpp.
Referenced by Isis::Tool::addViewportConnections(), and Isis::Tool::removeViewportConnections().
|
protectedslot |
Handle mouse events on CubeViewport.
p[in] | (QPoint) Point under cursor in cubeviewport |
s[in] | (Qt::MouseButton) Which mouse button was pressed |
Definition at line 1519 of file QnetTool.cpp.
References createFixedPoint(), createPoint(), Isis::CubeViewport::cube(), Isis::Tool::cubeViewport(), deletePoint(), Isis::Cube::fileName(), modifyPoint(), Isis::SerialNumberList::serialNumber(), Isis::UniversalGroundMap::SetImage(), Isis::IException::toString(), Isis::CubeViewport::universalGroundMap(), Isis::UniversalGroundMap::UniversalLatitude(), Isis::UniversalGroundMap::UniversalLongitude(), 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().
|
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.
Definition at line 2724 of file QnetTool.cpp.
References selectRightMeasure().
Referenced by createRightMeasureGroupBox().
|
private |
Allows user to set a new template file.
void QnetTool::setTemplateFile() { m_pointEditor->setTemplateFile(); }
Definition at line 3301 of file QnetTool.cpp.
References saveTemplateFileAs().
Referenced by openTemplateFile().
|
privateslot |
Open a DEM for ground source radii.
Definition at line 3830 of file QnetTool.cpp.
Referenced by createActions().
|
privateslot |
Open a ground source for selecting fixed points.
This file could be a DEM, a shaded version of a DEM or a level1 image with corrected pointing or some other type of basemap.
Definition at line 3648 of file QnetTool.cpp.
References Isis::SerialNumberList::add(), Isis::SerialNumber::Compose(), Isis::CameraFactory::Create(), Isis::ProjectionFactory::CreateFromCube(), Isis::CubeViewport::cube(), Isis::Tool::cubeViewportList(), Isis::Cube::fileName(), Isis::ControlPoint::Free, groundViewportClosed(), Isis::SerialNumberList::hasSerialNumber(), loadPoint(), Isis::FileName::name(), openReferenceRadius(), and Isis::IException::toString().
Referenced by createActions().
|
privateslot |
Open a radius source using the shape model of the reference measure of m_editPoint.
Definition at line 3858 of file QnetTool.cpp.
References Isis::SerialNumberList::fileName(), and Isis::Spice::radii().
Referenced by loadPoint(), and openGround().
|
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 3325 of file QnetTool.cpp.
References loadTemplateFile(), and okToContinue().
Referenced by createActions().
|
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 (QnetTool::editPointChanged connected to this slot is also connected to another slot (QnetNavTool::updateEditPoint which needs the point Id.
TODO: Clean this up, use 2 different signals?
pointId |
Definition at line 3137 of file QnetTool.cpp.
References Isis::Tool::cubeViewportList().
Referenced by createQnetTool(), and refresh().
|
virtual |
Take care of drawing things on a viewPort.
This is overiding the parents paintViewport member.
vp | Pointer to Viewport to be painted |
painter |
Reimplemented from Isis::Tool.
Definition at line 3118 of file QnetTool.cpp.
References drawAllMeasurments().
|
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.
Definition at line 2743 of file QnetTool.cpp.
References selectRightMeasure().
Referenced by createRightMeasureGroupBox().
|
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 4112 of file QnetTool.cpp.
References Isis::FileName::expanded().
Referenced by createQnetTool().
|
slot |
Refresh all necessary widgets in QnetTool including the PointEditor and CubeViewports.
Definition at line 3555 of file QnetTool.cpp.
References paintAllViewports().
|
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::WindowTool, Isis::TrackTool, and Isis::MeasureTool.
Definition at line 247 of file Tool.h.
Referenced by Isis::Tool::removeViewportConnections().
|
privateinherited |
Removes all the connections from the tool.
Definition at line 238 of file Tool.cpp.
References Isis::Tool::m_cvp, Isis::Tool::mouseButtonPress(), Isis::Tool::mouseButtonRelease(), Isis::Tool::mouseDoubleClick(), Isis::Tool::mouseMove(), Isis::Tool::removeConnections(), and Isis::Tool::screenPixelsChanged().
Referenced by Isis::Tool::activate(), and Isis::Tool::setCubeViewport().
|
privateslot |
Signal to save the control net.
Definition at line 1420 of file QnetTool.cpp.
Referenced by createActions().
|
privateslot |
Slot which calls ControlPointEditor slot to save chips.
Definition at line 3488 of file QnetTool.cpp.
Referenced by createActions().
|
privateslot |
Signal to save control net.
Definition at line 1404 of file QnetTool.cpp.
Referenced by createActions().
|
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.
Definition at line 1060 of file QnetTool.cpp.
References Isis::ControlPoint::Delete(), Isis::ControlPoint::Free, Isis::ControlPoint::GetId(), Isis::ControlPoint::GetType(), and Isis::ControlPoint::HasSerialNumber().
Referenced by createQnetTool().
|
privateslot |
save the file opened in the template editor
Definition at line 3378 of file QnetTool.cpp.
References writeTemplateFile().
Referenced by createActions().
|
privateslot |
save the contents of template editor to a file chosen by the user
Definition at line 3390 of file QnetTool.cpp.
References writeTemplateFile().
Referenced by createActions(), and okToContinue().
|
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().
|
privateslot |
Select left measure.
index | Index of file from the point files vector |
Definition at line 2765 of file QnetTool.cpp.
References Isis::SerialNumberList::serialNumber(), and updateLeftMeasureInfo().
Referenced by checkReference(), createLeftMeasureGroupBox(), and loadPoint().
|
privateslot |
Select right measure.
index | Index of file from the point files vector |
Definition at line 2800 of file QnetTool.cpp.
References Isis::SerialNumberList::serialNumber(), and updateRightMeasureInfo().
Referenced by checkReference(), createRightMeasureGroupBox(), loadGroundMeasure(), loadPoint(), nextRightMeasure(), and previousRightMeasure().
|
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 |
Set the "Ignore" keyword of the measure shown in the left viewport to the value of the input parameter.
ignore | Boolean value that determines the Ignore value for the left measure. |
Definition at line 1313 of file QnetTool.cpp.
Referenced by createLeftMeasureGroupBox().
|
privateslot |
Set point's "Ignore" keyword to the value of the input parameter.
ignore | Boolean value that determines the Ignore value for this point. |
Definition at line 1239 of file QnetTool.cpp.
References colorizeSaveButton(), and Isis::ControlPoint::PointLocked.
Referenced by createControlPointGroupBox().
|
privateslot |
Set the "Ignore" keyword of the measure shown in the right viewport to the value of the input parameter.
ignore | Boolean value that determines the Ignore value for the right measure. |
Definition at line 1383 of file QnetTool.cpp.
Referenced by createRightMeasureGroupBox().
|
privateslot |
Set the "EditLock" keyword of the measure shown in the left viewport to the value of the input parameter.
ignore | Boolean value that determines the EditLock value for the left measure. |
Definition at line 1272 of file QnetTool.cpp.
Referenced by createLeftMeasureGroupBox().
|
privateslot |
Set point's "EditLock" keyword to the value of the input parameter.
ignore | Boolean value that determines the EditLock value for this point. |
Definition at line 1220 of file QnetTool.cpp.
References colorizeSaveButton().
Referenced by createControlPointGroupBox().
|
privateslot |
Set the "EditLock" keyword of the measure shown in the right viewport to the value of the input parameter.
ignore | Boolean value that determines the EditLock value for the right measure. |
Definition at line 1343 of file QnetTool.cpp.
Referenced by createRightMeasureGroupBox().
|
privateslot |
Set the point type.
pointType | int Index from point type combo box |
Definition at line 1119 of file QnetTool.cpp.
References colorizeSaveButton(), Isis::ControlPoint::Free, loadGroundMeasure(), loadPoint(), and Isis::ControlPoint::PointLocked.
Referenced by createControlPointGroupBox().
|
privateslot |
called when the template file is modified by the template editor
Definition at line 3371 of file QnetTool.cpp.
Referenced by createTemplateEditorWidget().
|
privateslot |
Emits a signal to displays the Navigation window.
This signal is connected to QnetNavTool.
Definition at line 3590 of file QnetTool.cpp.
Referenced by createToolBarWidget(), and toolPadAction().
|
inlineinherited |
returns the path to the icon directory.
Definition at line 113 of file Tool.h.
References Isis::Tool::m_toolIconDir.
Referenced by Isis::AdvancedTrackTool::AdvancedTrackTool(), Isis::BlinkTool::BlinkTool(), Isis::MatchTool::createActions(), createActions(), Isis::StereoTool::createMenus(), Isis::BandTool::createToolBarWidget(), Isis::EditTool::createToolBarWidget(), Isis::FindTool::createToolBarWidget(), Isis::PanTool::createToolBarWidget(), Isis::StereoTool::createToolBarWidget(), Isis::StretchTool::createToolBarWidget(), Isis::ZoomTool::createToolBarWidget(), Isis::FileTool::FileTool(), Isis::FindTool::FindTool(), Isis::HistogramTool::HistogramTool(), Isis::SpecialPixelTool::SpecialPixelTool(), Isis::RubberBandComboBox::toolIconDir(), Isis::BandTool::toolPadAction(), Isis::ControlNetTool::toolPadAction(), Isis::EditTool::toolPadAction(), Isis::FeatureNomenclatureTool::toolPadAction(), Isis::HistogramTool::toolPadAction(), Isis::MatchTool::toolPadAction(), Isis::MeasureTool::toolPadAction(), Isis::PanTool::toolPadAction(), toolPadAction(), Isis::ScatterPlotTool::toolPadAction(), Isis::SpatialPlotTool::toolPadAction(), Isis::SpectralPlotTool::toolPadAction(), Isis::StereoTool::toolPadAction(), Isis::StretchTool::toolPadAction(), Isis::SunShadowTool::toolPadAction(), Isis::FindTool::toolPadAction(), Isis::StatisticsTool::toolPadAction(), Isis::ZoomTool::toolPadAction(), Isis::WindowTool::WindowTool(), and Isis::ZoomTool::ZoomTool().
Adds the Tie tool action to the tool pad.
When the Tie tool is selected, the Navigation Tool will automatically open.
pad | Tool pad |
Reimplemented from Isis::Tool.
Definition at line 1474 of file QnetTool.cpp.
References showNavWindow(), and Isis::Tool::toolIconDir().
|
privateslot |
Definition at line 2843 of file QnetTool.cpp.
References Isis::ControlMeasure::Candidate, Isis::ControlMeasureLogData::GoodnessOfFit, IsMeasureLocked(), Isis::ControlMeasure::Manual, Isis::Null, Isis::ControlMeasure::RegisteredPixel, and Isis::ControlMeasure::RegisteredSubPixel.
Referenced by eventFilter(), measureSaved(), and selectLeftMeasure().
|
slot |
Updates the Control Network displayed in the Qnet Tool title bar.
This slot is connected to QnetFileTool's controlNetworkUpdated(QString cNetFileName) signal.
cNetFileName | FileName of the most recently selected control network. |
Definition at line 1453 of file QnetTool.cpp.
|
slot |
Update the current editPoint information in the Point Editor labels.
@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 QnetTool, this method will need to be updated. *** THIS METHOD SHOULD GO AWAY WHEN CONTROLpOINTEDITOR IS INCLUDED IN QNET ***
Definition at line 3515 of file QnetTool.cpp.
References updateSurfacePointInfo().
|
privateslot |
Definition at line 2931 of file QnetTool.cpp.
References Isis::ControlMeasure::Candidate, Isis::ControlMeasureLogData::GoodnessOfFit, IsMeasureLocked(), Isis::ControlMeasure::Manual, Isis::Null, Isis::ControlMeasure::RegisteredPixel, and Isis::ControlMeasure::RegisteredSubPixel.
Referenced by eventFilter(), measureSaved(), and selectRightMeasure().
|
privateslot |
Update the Surface Point Information in the QnetTool window.
Definition at line 2615 of file QnetTool.cpp.
References Isis::Angle::degrees(), Isis::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLatSigmaDistance(), Isis::SurfacePoint::GetLocalRadius(), Isis::SurfacePoint::GetLongitude(), Isis::SurfacePoint::GetLonSigmaDistance(), Isis::Distance::meters(), and Isis::Null.
Referenced by loadGroundMeasure(), loadPoint(), and updatePointInfo().
|
virtualslotinherited |
Updates the tool.
Reimplemented in Isis::ZoomTool, Isis::WindowTool, Isis::SunShadowTool, Isis::StretchTool, Isis::SpectralPlotTool, Isis::SpecialPixelTool, Isis::SpatialPlotTool, Isis::MeasureTool, Isis::HistogramTool, Isis::FindTool, Isis::FileTool, Isis::FeatureNomenclatureTool, Isis::EditTool, Isis::BlinkTool, Isis::BandTool, and Isis::AbstractPlotTool.
Definition at line 318 of file Tool.cpp.
Referenced by Isis::Tool::enableToolBar(), and Isis::Tool::setCubeViewport().
|
privateslot |
Allows the user to view the template file that is currently set.
Definition at line 3462 of file QnetTool.cpp.
References Isis::PvlContainer::fileName(), and Isis::IException::toString().
|
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 4128 of file QnetTool.cpp.
References Isis::FileName::expanded().
|
privateslot |
write the contents of the template editor to the file provided.
fn | The filename to write to |
Definition at line 3408 of file QnetTool.cpp.
References Isis::IException::toString().
Referenced by saveTemplateFile(), and saveTemplateFileAs().
|
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().
|
privateinherited |
current cubeviewport
Definition at line 261 of file Tool.h.
Referenced by Isis::Tool::addViewportConnections(), Isis::Tool::cubeViewport(), Isis::Tool::registerTool(), Isis::Tool::removeViewportConnections(), Isis::Tool::setCubeViewport(), and Isis::Tool::Tool().
|
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().
|
privateinherited |
The pathway to the icon directory.
Definition at line 267 of file Tool.h.
Referenced by Isis::Tool::Tool(), and Isis::Tool::toolIconDir().
|
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().