|
Isis Developer Reference
|
Go to the documentation of this file.
13 #include <QStringList>
36 class ControlPointEdit;
40 class MatchToolNewPointDialog;
41 class MdiCubeViewport;
42 class MatchHoldPointDialog;
43 class SerialNumberList;
46 class UniversalGroundMap;
276 void enterWhatsThisMode();
277 void paintAllViewports ();
282 void setLockPoint (
bool ignore);
283 void setIgnorePoint (
bool ignore);
284 void setLockLeftMeasure (
bool ignore);
285 void setIgnoreLeftMeasure (
bool ignore);
286 void setLockRightMeasure (
bool ignore);
287 void setIgnoreRightMeasure (
bool ignore);
289 void nextRightMeasure();
290 void previousRightMeasure();
291 void selectLeftMeasure (
int index);
292 void selectRightMeasure (
int index);
293 void updateLeftMeasureInfo ();
294 void updateRightMeasureInfo ();
297 void checkReference();
299 void colorizeSaveButton();
301 void cancelNewPoint();
302 void doneWithMeasures();
304 void openTemplateFile();
305 void viewTemplateFile();
307 void showHideTemplateEditor();
308 void saveTemplateFile();
309 void saveTemplateFileAs();
310 void setTemplateModified();
311 void writeTemplateFile(QString);
312 void clearEditPoint();
317 void createActions();
319 void createToolBars();
322 void loadMeasureTable();
324 void createMatchTool(
QWidget *parent);
325 QSplitter * createTopSplitter();
326 QGroupBox * createControlPointGroupBox();
327 QGroupBox * createLeftMeasureGroupBox();
328 QGroupBox * createRightMeasureGroupBox();
329 void createTemplateEditorWidget();
330 void loadTemplateFile(QString);
332 bool IsMeasureLocked(QString serialNumber);
344 void writeSettings()
const;
351 QStatusBar *m_statusBar;
353 QString m_cnetFileName;
354 QLabel *m_cnetFileNameLabel;
356 QString m_coregReferenceSN;
368 QAction *m_showHideTemplateEditor;
378 QPushButton *m_savePoint;
379 QPalette m_saveDefaultPalette;
381 QTextEdit *m_templateEditor;
382 QWidget *m_templateEditorWidget;
383 bool m_templateModified;
385 QLabel *m_templateFileNameLabel;
387 QLabel *m_numMeasures;
389 QCheckBox *m_lockPoint;
390 QCheckBox *m_ignorePoint;
391 QLabel *m_leftReference;
392 QLabel *m_leftMeasureType;
393 QLabel *m_leftSampShift;
394 QLabel *m_leftLineShift;
395 QLabel *m_leftGoodness;
396 QLabel *m_rightGoodness;
397 QLabel *m_rightReference;
398 QLabel *m_rightMeasureType;
399 QLabel *m_rightSampShift;
400 QLabel *m_rightLineShift;
401 QCheckBox *m_lockLeftMeasure;
402 QCheckBox *m_ignoreLeftMeasure;
403 QCheckBox *m_lockRightMeasure;
404 QCheckBox *m_ignoreRightMeasure;
410 QTableWidget *m_measureTable;
412 QPointer<ControlNet> m_controlNet;
416 QString m_lastUsedPointId;
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:39
@ RegisteredPixel
Registered to whole pixel (e.g.,pointreg)
Definition: ControlMeasure.h:212
@ RegisteredSubPixel
Registered to sub-pixel (e.g., pointreg)
Definition: ControlMeasure.h:214
virtual QString fileName() const
Returns the opened cube's filename.
Definition: Cube.cpp:1563
@ MeasureLocked
Definition: ControlMeasure.h:219
const ControlMeasure * GetMeasure(QString serialNumber) const
Get a control measure based on its cube's serial number.
Definition: ControlPoint.cpp:416
double GetNumericalValue() const
Get the value associated with this log data.
Definition: ControlMeasureLogData.cpp:123
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Status SetIgnored(bool newIgnoreStatus)
Set whether to ignore or use control point.
Definition: ControlPoint.cpp:653
Status SetCubeSerialNumber(QString newSerialNumber)
Set cube serial number.
Definition: ControlMeasure.cpp:187
void setLeftMeasure(ControlMeasure *leftMeasure, Cube *leftCube, QString pointId)
Set the measure displayed in the left ChipViewport.
Definition: ControlPointEdit.cpp:663
Status SetChooserName(QString name)
Set the point's chooser name.
Definition: ControlPoint.cpp:487
QString name() const
Returns the name of the file excluding the path and the attributes in the file name.
Definition: FileName.cpp:162
@ PointLocked
This is returned when the operation requires Edit Lock to be false but it is currently true.
Definition: ControlPoint.h:408
Status SetEditLock(bool editLock)
Set the EditLock state.
Definition: ControlPoint.cpp:522
File name manipulation and expansion.
Definition: FileName.h:100
QString GetReferenceSN() const
Definition: ControlPoint.cpp:1763
Pixel value mapper.
Definition: Stretch.h:58
int GetNumMeasures() const
Definition: ControlPoint.cpp:1702
void saveChips()
Slot to save registration chips to files and fire off qview.
Definition: ControlPointEdit.cpp:1590
static QString Compose(Pvl &label, bool def2filename=false)
Compose a SerialNumber from a PVL.
Definition: SerialNumber.cpp:38
Status SetEditLock(bool editLock)
Definition: ControlMeasure.cpp:281
bool IsEditLocked() const
Definition: ControlPoint.cpp:1272
QString GetId() const
Return the Id of the control point.
Definition: ControlPoint.cpp:1306
ControlMeasureLogData GetLogData(long dataType) const
Definition: ControlMeasure.cpp:773
@ Candidate
(e.g., autoseed, interest) AKA predicted, unmeasured, unverified
Definition: ControlMeasure.h:208
Status SetDateTime()
Date Time - Creation Time.
Definition: ControlMeasure.cpp:247
void setRightMeasure(ControlMeasure *rightMeasure, Cube *rightCube, QString pointId)
Set the measure displayed in the right ChipViewport.
Definition: ControlPointEdit.cpp:724
Serial Number list generator.
Definition: SerialNumberList.h:64
bool IsIgnored() const
Definition: ControlMeasure.cpp:630
QString serialNumber(const QString &filename)
Return a serial number given a filename.
Definition: SerialNumberList.cpp:426
QString GetCubeSerialNumber() const
Return the serial number of the cube containing the coordinate.
Definition: ControlMeasure.cpp:557
A single control point.
Definition: ControlPoint.h:354
double GetSampleShift() const
Definition: ControlMeasure.cpp:753
Status SetRefMeasure(ControlMeasure *cm)
Set the point's reference measure.
Definition: ControlPoint.cpp:570
This was called the Qisis MainWindow.
Definition: ViewportMainWindow.h:43
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
MeasureType GetType() const
Definition: ControlMeasure.cpp:738
Status SetType(PointType newType)
Updates the control point's type.
Definition: ControlPoint.cpp:709
QString toString() const
Returns a string representation of this exception.
Definition: IException.cpp:537
bool setTemplateFile(QString)
Allows user to choose a new template file by opening a window from which to select a filename.
Definition: ControlPointEdit.cpp:1506
Status SetIgnored(bool newIgnoredStatus)
Definition: ControlMeasure.cpp:350
@ Manual
Hand Measured (e.g., qnet)
Definition: ControlMeasure.h:210
QString templateFileName()
Definition: ControlPointEdit.h:162
Status SetId(QString id)
Sets the Id of the control point.
Definition: ControlPoint.cpp:552
static QString MeasureTypeToString(MeasureType type)
Return the String Control Measure type.
Definition: ControlMeasure.cpp:951
Status SetChooserName()
Set chooser name to a user who last changed the coordinate.
Definition: ControlMeasure.cpp:196
double GetLineShift() const
Definition: ControlMeasure.cpp:759
bool IsEditLocked() const
Return value for p_editLock or implicit lock on reference measure.
Definition: ControlMeasure.cpp:601
int IndexOfRefMeasure() const
Definition: ControlPoint.cpp:1817
a control network
Definition: ControlNet.h:257
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis exception class.
Definition: IException.h:91
Widget to display Isis cubes for qt apps.
Definition: CubeViewport.h:122
ControlNet * Parent()
Definition: ControlPoint.h:466
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Namespace for the standard library.
const ControlMeasure * GetRefMeasure() const
Get the reference control measure.
Definition: ControlPoint.cpp:457
@ Free
A Free point is a Control Point that identifies common measurements between two or more cubes.
Definition: ControlPoint.h:384
int Delete(ControlMeasure *measure)
Remove a measurement from the control point, deleting reference measure is allowed.
Definition: ControlPoint.cpp:354
bool IsIgnored() const
Definition: ControlPoint.cpp:1311
@ GoodnessOfFit
GoodnessOfFit is pointreg information for reference measures.
Definition: ControlMeasureLogData.h:67
Point Editor Widget.
Definition: ControlPointEdit.h:155
void viewportToCube(int x, int y, double &sample, double &line) const
Turns a viewport into a cube.
Definition: CubeViewport.cpp:815
Status SetType(MeasureType type)
Set how the coordinate was obtained.
Definition: ControlMeasure.cpp:420
Status
This is a return status for many of the mutating (setter) method calls.
Definition: ControlPoint.h:393
QString fileName(const QString &sn)
Return a filename given a serial number.
Definition: SerialNumberList.cpp:399
bool HasSerialNumber(QString serialNumber) const
Return true if given serial number exists in point.
Definition: ControlPoint.cpp:1746
static QString UserName()
Returns the user name.
Definition: Application.cpp:816
void open(const QString &cfile, QString access="r")
This method will open an isis cube for reading or reading/writing.
Definition: Cube.cpp:627
bool IsReferenceExplicit() const
Definition: ControlPoint.cpp:1755
Cube * cube() const
Definition: CubeViewport.h:338
void Add(ControlMeasure *measure)
Add a measurement to the control point, taking ownership of the measure in the process.
Definition: ControlPoint.cpp:223
void refreshChips()
Definition: ControlPointEdit.cpp:1576
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Status SetCoordinate(double sample, double line)
Set the coordinate of the measurement.
Definition: ControlMeasure.cpp:219
a control measurement
Definition: ControlMeasure.h:175