1#ifndef ControlPointEdit_h
2#define ControlPointEdit_h
41 class UniversalGroundMap;
162 QString templateFileName() {
163 return p_templateFileName;
169 void updateLeftView(
double sample,
double line);
170 void updateRightView(
double sample,
double line);
177 Cube *leftCube, QString pointId);
179 Cube *rightCube, QString pointId);
209 bool p_allowLeftMouse;
212 QString p_templateFileName;
213 QLabel *p_leftZoomFactor;
214 QLabel *p_rightZoomFactor;
215 QLabel *p_leftSampLinePosition;
216 QLabel *p_rightSampLinePosition;
217 QLabel *p_leftLatLonPosition;
218 QLabel *p_rightLatLonPosition;
219 QRadioButton *p_nogeom;
220 QRadioButton *p_geom;
221 QToolButton *p_rightZoomIn;
222 QToolButton *p_rightZoomOut;
223 QToolButton *p_rightZoom1;
228 std::vector<ChipViewport *> p_blinkList;
229 unsigned char p_blinkIndex;
232 QLCDNumber *p_dialNumber;
233 QDoubleSpinBox *p_blinkTimeBox;
236 QScrollBar *p_slider;
238 QPushButton *p_autoReg;
240 QLabel *p_oldPosition;
243 bool p_autoRegAttempted;
245 QPushButton *p_saveMeasure;
246 QPalette p_saveDefaultPalette;
A small chip of data used for pattern matching.
void setZoomLink(bool)
Turn linking of zoom on or off.
void registerPoint()
Sub-pixel register point in right chipViewport with point in left.
void setGeom()
Turn geom on.
bool setTemplateFile(QString)
Allows user to choose a new template file by opening a window from which to select a filename.
void updateRightGeom()
Slot to update the geomed right ChipViewport for zoom operations.
void findPoint()
Find point from left ChipViewport in the right ChipViewport.
void updateLeftPositionLabel(double zoomFactor)
Update sample/line, lat/lon and zoom factor of left measure.
void setCircle(bool)
Turn circle widgets on/off.
void updateBlink()
Slot to cause the blink to happen coinciding with the timer.
void setRightMeasure(ControlMeasure *rightMeasure, Cube *rightCube, QString pointId)
Set the measure displayed in the right ChipViewport.
void setNoGeom()
Slot to turn off geom.
void saveMeasure()
Save control measure under the crosshair in right ChipViewport.
void allowLeftMouse(bool allowMouse)
Set the option that allows mouse movements in the left ChipViewport.
void blinkStop()
Slot to stop blink function.
void colorizeSaveButton()
Turn "Save Measure" button text to red.
void updateRightPositionLabel(double zoomFactor)
Update sample/line, lat/lon and zoom factor of right measure.
ControlPointEdit(ControlNet *cnet, QWidget *parent=0, bool allowLeftMouse=false, bool useGeometry=true)
Constructs a ControlPointEdit widget.
void createPointEditor(QWidget *parent)
Design the PointEdit widget.
void setLeftMeasure(ControlMeasure *leftMeasure, Cube *leftCube, QString pointId)
Set the measure displayed in the left ChipViewport.
void blinkStart()
Slot to start blink function.
void changeBlinkTime(double interval)
Set blink rate.
void saveChips()
Slot to save registration chips to files and fire off qview.
IO Handler for Isis Cubes.
Widget to display Isis cubes for qt apps.
This is free and unencumbered software released into the public domain.