|
Isis 3.0 Application Source Code Reference |
Home |
#include <QnetTool.h>
Public Types | |
| enum | MeasureColumns { FILENAME, CUBESN, SAMPLE, LINE, APRIORISAMPLE, APRIORILINE, SAMPLERESIDUAL, LINERESIDUAL, RESIDUALMAGNITUDE, SAMPLESHIFT, LINESHIFT, PIXELSHIFT, GOODNESSOFFIT, IGNORED, EDITLOCK, TYPE } |
Public Slots | |
| void | updateList () |
| void | updateNet (QString cNetFileName) |
| Updates the Control Network displayed in the Qnet Tool title bar. | |
| void | createPoint (double lat, double lon) |
| Create new control point. | |
| void | createFixedPoint (double lat, double lon) |
| Create new Fixed control point. | |
| 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 QnetTool including the PointEditor and CubeViewports. | |
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 () |
Public Member Functions | |
| QnetTool (QWidget *parent) | |
| Consructs the Qnet Tool window. | |
| virtual | ~QnetTool () |
| void | paintViewport (MdiCubeViewport *cvp, QPainter *painter) |
| Take care of drawing things on a viewPort. | |
| QString | measureColumnToString (MeasureColumns column) |
Static Public Attributes | |
| static const int | NUMCOLUMNS = 16 |
Protected Slots | |
| void | mouseButtonRelease (QPoint p, Qt::MouseButton s) |
| Handle mouse events on CubeViewport. | |
| QWidget * | createToolBarWidget (QStackedWidget *parent) |
| This method creates the widgets for the tool bar. | |
Protected Member Functions | |
| QAction * | toolPadAction (ToolPad *pad) |
| Adds the Tie tool action to the tool pad. | |
| bool | eventFilter (QObject *o, QEvent *e) |
| Event filter for QnetTool. | |
Qnet tool operations.
Definition at line 196 of file QnetTool.h.
| enum MeasureColumns |
| FILENAME | |
| CUBESN | |
| SAMPLE | |
| LINE | |
| APRIORISAMPLE | |
| APRIORILINE | |
| SAMPLERESIDUAL | |
| LINERESIDUAL | |
| RESIDUALMAGNITUDE | |
| SAMPLESHIFT | |
| LINESHIFT | |
| PIXELSHIFT | |
| GOODNESSOFFIT | |
| IGNORED | |
| EDITLOCK | |
| TYPE |
Definition at line 205 of file QnetTool.h.
Consructs the Qnet Tool window.
| parent | Pointer to the parent widget for the Qnet tool |
Definition at line 61 of file QnetTool.cpp.
| ~QnetTool | ( | ) | [virtual] |
Definition at line 113 of file QnetTool.cpp.
| void paintViewport | ( | MdiCubeViewport * | vp, | |
| QPainter * | painter | |||
| ) |
Take care of drawing things on a viewPort.
This is overiding the parents paintViewport member.
| vp | Pointer to Viewport to be painted | |
| painter |
Definition at line 2888 of file QnetTool.cpp.
| QString measureColumnToString | ( | QnetTool::MeasureColumns | column | ) |
Definition at line 2364 of file QnetTool.cpp.
| void qnetToolSave | ( | ) | [signal] |
| void qnetToolSaveAs | ( | ) | [signal] |
| void refreshNavList | ( | ) | [signal] |
| void editPointChanged | ( | QString | pointId | ) | [signal] |
| void netChanged | ( | ) | [signal] |
| void ignorePointChanged | ( | ) | [signal] |
| void ignoreLeftChanged | ( | ) | [signal] |
| void ignoreRightChanged | ( | ) | [signal] |
| void showNavTool | ( | ) | [signal] |
| void newControlNetwork | ( | ControlNet * | ) | [signal] |
| void stretchChipViewport | ( | Stretch * | , | |
| CubeViewport * | ||||
| ) | [signal] |
| void measureChanged | ( | ) | [signal] |
| void updateList | ( | ) | [slot] |
Definition at line 1365 of file QnetTool.cpp.
| void updateNet | ( | QString | cNetFileName | ) | [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 1388 of file QnetTool.cpp.
| void createPoint | ( | double | lat, | |
| double | lon | |||
| ) | [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 1561 of file QnetTool.cpp.
| void createFixedPoint | ( | double | lat, | |
| double | lon | |||
| ) | [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 1676 of file QnetTool.cpp.
| void modifyPoint | ( | ControlPoint * | point | ) | [slot] |
Modify control point.
| point | Pointer to control point to be modified. |
Definition at line 1972 of file QnetTool.cpp.
| void deletePoint | ( | ControlPoint * | point | ) | [slot] |
Delete control point.
| point | Pointer to control point (net memory) to be deleted. |
Definition at line 1848 of file QnetTool.cpp.
| void updatePointInfo | ( | QString | pointId | ) | [slot] |
Update the current editPoint information in the Point Editor labels.
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 3287 of file QnetTool.cpp.
| void refresh | ( | ) | [slot] |
Refresh all necessary widgets in QnetTool including the PointEditor and CubeViewports.
Definition at line 3327 of file QnetTool.cpp.
| QAction * toolPadAction | ( | ToolPad * | pad | ) | [protected] |
Adds the Tie tool action to the tool pad.
When the Tie tool is selected, the Navigation Tool will automatically open.
| pad | Tool pad |
Definition at line 1409 of file QnetTool.cpp.
| bool eventFilter | ( | QObject * | o, | |
| QEvent * | e | |||
| ) | [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 2867 of file QnetTool.cpp.
| void mouseButtonRelease | ( | QPoint | p, | |
| Qt::MouseButton | s | |||
| ) | [protected, slot] |
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 1444 of file QnetTool.cpp.
| QWidget * createToolBarWidget | ( | QStackedWidget * | parent | ) | [protected, slot] |
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 3379 of file QnetTool.cpp.
const int NUMCOLUMNS = 16 [static] |
Definition at line 223 of file QnetTool.h.