|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef ControlMeasureEditWidget_h
2 #define ControlMeasureEditWidget_h
41 class SerialNumberList;
44 class UniversalGroundMap;
179 bool useGeometry =
true);
187 return m_templateFileName;
206 Cube *leftCube, QString pointId);
208 Cube *rightCube, QString pointId);
220 void setCircle(
bool);
221 void setZoomLink(
bool);
224 void registerPoint();
226 void updateLeftPositionLabel(
double zoomFactor);
227 void updateRightGeom();
228 void updateRightPositionLabel(
double zoomFactor);
232 void changeBlinkTime(
double interval);
235 void showBlinkExtension();
236 void blinkStartRight();
237 void blinkStopRight();
238 void changeBlinkTimeRight(
double interval);
239 void updateBlinkRight();
243 void createMeasureEditor(
QWidget *parent);
245 bool m_allowLeftMouse;
248 QString m_templateFileName;
249 QLabel *m_leftZoomFactor;
250 QLabel *m_rightZoomFactor;
251 QLabel *m_leftSampLinePosition;
252 QLabel *m_rightSampLinePosition;
253 QLabel *m_leftLatLonPosition;
254 QLabel *m_rightLatLonPosition;
255 QRadioButton *m_nogeom;
256 QRadioButton *m_geom;
257 QToolButton *m_rightZoomIn;
258 QToolButton *m_rightZoomOut;
259 QToolButton *m_rightZoom1;
264 unsigned char m_blinkIndex;
267 QLCDNumber *m_dialNumber;
268 QDoubleSpinBox *m_blinkTimeBox;
271 QScrollBar *m_slider;
273 QPushButton *m_autoReg;
275 QLabel *m_oldPosition;
278 bool m_autoRegAttempted;
280 QPushButton *m_saveMeasure;
281 QPalette m_saveDefaultPalette;
307 QListWidget *m_blinkListWidget;
310 QDoubleSpinBox *m_blinkTimeBoxRight;
312 QTimer *m_timerRight;
314 unsigned char m_blinkIndexRight;
double GoodnessOfFit() const
Return the goodness of fit of the match algorithm.
Definition: AutoReg.h:323
@ RegisteredSubPixel
Registered to sub-pixel (e.g., pointreg)
Definition: ControlMeasure.h:214
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:155
double MinimumZScore() const
Return minimumPatternZScore.
Definition: AutoReg.h:350
void zoom(double zoomFactor)
Zoom by a specified factor.
Definition: ChipViewport.cpp:454
Universal Ground Map.
Definition: UniversalGroundMap.h:69
const int VIEWSIZE
Constant representing the length and width of the chip viewports.
Definition: ChipViewportsWidget.cpp:48
double Sample() const
Returns the current line value of the camera model or projection.
Definition: UniversalGroundMap.cpp:200
double UniversalLatitude() const
Returns the universal latitude of the camera model or projection.
Definition: UniversalGroundMap.cpp:247
const ControlMeasure * GetMeasure(QString serialNumber) const
Get a control measure based on its cube's serial number.
Definition: ControlPoint.cpp:416
static void RunSystemCommand(QString commandLine)
This runs arbitrary system commands.
Definition: ProgramLauncher.cpp:207
void SetLogData(ControlMeasureLogData)
This adds or updates the log data information associated with data's type.
Definition: ControlMeasure.cpp:435
void ZScores(double &score1, double &score2) const
Return the ZScores of the pattern chip.
Definition: AutoReg.h:360
@ PatternZScoreNotMet
Pattern data max or min does not pass the z-score test.
Definition: AutoReg.h:188
File name manipulation and expansion.
Definition: FileName.h:100
Status SetAprioriSample(double aprioriSample)
Definition: ControlMeasure.cpp:144
@ AdaptiveAlgorithmFailed
Error occured in Adaptive algorithm.
Definition: AutoReg.h:189
void TackCube(const double cubeSample, const double cubeLine)
This sets which cube position will be located at the chip tack position.
Definition: Chip.cpp:182
Pixel value mapper.
Definition: Stretch.h:58
@ MaximumPixelZScore
Definition: ControlMeasureLogData.h:81
int GetNumMeasures() const
Definition: ControlPoint.cpp:1702
Chip * RegistrationSearchChip()
Return pointer to search chip used in registration.
Definition: AutoReg.h:227
AutoReg::RegisterStatus Register()
Walk the pattern chip through the search chip to find the best registration.
Definition: AutoReg.cpp:587
Container for cube-like labels.
Definition: Pvl.h:119
Chip * SearchChip()
Return pointer to search chip.
Definition: AutoReg.h:207
double tackSample()
Return the position of cube under cross hair.
Definition: ChipViewport.cpp:353
void DeleteLogData(long dataType)
This deletes log data of the specified type.
Definition: ControlMeasure.cpp:455
Status SetDateTime()
Date Time - Creation Time.
Definition: ControlMeasure.cpp:247
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
Serial Number list generator.
Definition: SerialNumberList.h:64
double tackLine()
Returns tack line.
Definition: ChipViewport.cpp:364
QString serialNumber(const QString &filename)
Return a serial number given a filename.
Definition: SerialNumberList.cpp:426
void Load(Cube &cube, const double rotation=0.0, const double scale=1.0, const int band=1)
Load cube data into the Chip.
Definition: Chip.cpp:203
Auto Registration class.
Definition: AutoReg.h:167
@ SurfaceModelSolutionInvalid
Could not model surface for sub-pixel accuracy.
Definition: AutoReg.h:186
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
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
@ PatternChipNotEnoughValidData
Not enough valid data in pattern chip.
Definition: AutoReg.h:182
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
@ MinimumPixelZScore
Control measures store z-scores in pairs.
Definition: ControlMeasureLogData.h:76
QString toString() const
Returns a string representation of this exception.
Definition: IException.cpp:537
void Write(const QString &filename)
Writes the contents of the Chip to a cube.
Definition: Chip.cpp:985
void geomChip(Chip *matchChip, Cube *matchChipCube)
Slot to geom chip (apply geometry transformation)
Definition: ChipViewport.cpp:621
@ Manual
Hand Measured (e.g., qnet)
Definition: ControlMeasure.h:210
double CubeSample() const
Return the search chip cube sample that best matched.
Definition: AutoReg.h:340
Status SetChooserName()
Set chooser name to a user who last changed the coordinate.
Definition: ControlMeasure.cpp:196
double zoomFactor()
Return the zoom factor.
Definition: ChipViewport.cpp:465
Chip * PatternChip()
Return pointer to pattern chip.
Definition: AutoReg.h:202
bool IsEditLocked() const
Return value for p_editLock or implicit lock on reference measure.
Definition: ControlMeasure.cpp:601
double GetSample() const
Definition: ControlMeasure.cpp:723
@ SurfaceModelDistanceInvalid
Surface model moves registration more than one pixel.
Definition: AutoReg.h:187
a control network
Definition: ControlNet.h:257
double PatternValidPercent() const
Return pattern chip valid percent. The default value is.
Definition: AutoReg.h:280
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
RegisterStatus
Enumeration of the Register() method's return status.
Definition: AutoReg.h:179
double Tolerance() const
Return match algorithm tolerance.
Definition: AutoReg.h:290
Viewport for Isis Chips.
Definition: ChipViewport.h:71
@ FitChipToleranceNotMet
Goodness of fit tolerance not satisfied.
Definition: AutoReg.h:184
Chip * FitChip()
Return pointer to fit chip.
Definition: AutoReg.h:212
void setChip(Chip *chip, Cube *chipCube)
Set chip.
Definition: ChipViewport.cpp:110
@ SurfaceModelNotEnoughValidData
Not enough points to fit a surface model for sub-pixel accuracy.
Definition: AutoReg.h:185
static AutoReg * Create(Pvl &pvl)
Create an AutoReg object using a PVL specification.
Definition: AutoRegFactory.cpp:45
@ FitChipNoData
Fit chip did not have any valid data.
Definition: AutoReg.h:183
A small chip of data used for pattern matching.
Definition: Chip.h:86
double GetLine() const
Definition: ControlMeasure.cpp:690
void setCircle(bool checked)
Slot to change state of circle.
Definition: ChipViewport.cpp:588
bool SetUniversalGround(double lat, double lon)
Returns whether the lat/lon position was set successfully in the camera model or projection.
Definition: UniversalGroundMap.cpp:102
bool SetImage(double sample, double line)
Returns whether the sample/line postion was set successfully in the camera model or projection.
Definition: UniversalGroundMap.cpp:233
double CubeLine() const
Return the search chip cube line that best matched.
Definition: AutoReg.h:345
@ GoodnessOfFit
GoodnessOfFit is pointreg information for reference measures.
Definition: ControlMeasureLogData.h:67
Status SetType(MeasureType type)
Set how the coordinate was obtained.
Definition: ControlMeasure.cpp:420
void Distance(double &sampDistance, double &lineDistance)
Return the distance point moved.
Definition: AutoReg.h:310
void loadView(ChipViewport &newView)
Load with another ChipViewport, used for blinking.
Definition: ChipViewport.cpp:342
QString fileName(const QString &sn)
Return a filename given a serial number.
Definition: SerialNumberList.cpp:399
static QString UserName()
Returns the user name.
Definition: Application.cpp:816
Status SetAprioriLine(double aprioriLine)
Definition: ControlMeasure.cpp:134
void nogeomChip()
Slot to un-geom chip (revert geometry transformation)
Definition: ChipViewport.cpp:649
double Line() const
Returns the current line value of the camera model or projection.
Definition: UniversalGroundMap.cpp:214
bool Success() const
Return whether the match algorithm succeeded or not.
Definition: AutoReg.h:318
double UniversalLongitude() const
Returns the universal longitude of the camera model or projection.
Definition: UniversalGroundMap.cpp:270
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Chip * RegistrationPatternChip()
Return pointer to pattern chip used in registration.
Definition: AutoReg.h:217
Status SetCoordinate(double sample, double line)
Set the coordinate of the measurement.
Definition: ControlMeasure.cpp:219
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126
double DistanceTolerance() const
Return distance tolerance.
Definition: AutoReg.h:300
a control measurement
Definition: ControlMeasure.h:175