1 #ifndef ControlPointEdit_h
2 #define ControlPointEdit_h
33 class UniversalGroundMap;
151 QString templateFileName() {
152 return p_templateFileName;
158 void updateLeftView(
double sample,
double line);
159 void updateRightView(
double sample,
double line);
166 Cube *leftCube, QString pointId);
168 Cube *rightCube, QString pointId);
198 bool p_allowLeftMouse;
201 QString p_templateFileName;
202 QLabel *p_leftZoomFactor;
203 QLabel *p_rightZoomFactor;
204 QLabel *p_leftSampLinePosition;
205 QLabel *p_rightSampLinePosition;
206 QLabel *p_leftLatLonPosition;
207 QLabel *p_rightLatLonPosition;
208 QRadioButton *p_nogeom;
209 QRadioButton *p_geom;
210 QToolButton *p_rightZoomIn;
211 QToolButton *p_rightZoomOut;
212 QToolButton *p_rightZoom1;
217 std::vector<ChipViewport *> p_blinkList;
218 unsigned char p_blinkIndex;
221 QLCDNumber *p_dialNumber;
222 QDoubleSpinBox *p_blinkTimeBox;
225 QScrollBar *p_slider;
227 QPushButton *p_autoReg;
229 QLabel *p_oldPosition;
232 bool p_autoRegAttempted;
234 QPushButton *p_saveMeasure;
235 QPalette p_saveDefaultPalette;
void allowLeftMouse(bool allowMouse)
Set the option that allows mouse movements in the left ChipViewport.
void findPoint()
Find point from left ChipViewport in the right ChipViewport.
A small chip of data used for pattern matching.
void setNoGeom()
Slot to turn off geom.
void updateRightPositionLabel(double zoomFactor)
Update sample/line, lat/lon and zoom factor of right measure.
void registerPoint()
Sub-pixel register point in right chipViewport with point in left.
void updateLeftPositionLabel(double zoomFactor)
Update sample/line, lat/lon and zoom factor of left measure.
void saveChips()
Slot to save registration chips to files and fire off qview.
Widget to display Isis cubes for qt apps.
void colorizeSaveButton()
Turn "Save Measure" button text to red.
void setRightMeasure(ControlMeasure *rightMeasure, Cube *rightCube, QString pointId)
Set the measure displayed in the right ChipViewport.
ControlPointEdit(ControlNet *cnet, QWidget *parent=0, bool allowLeftMouse=false, bool useGeometry=true)
Constructs a ControlPointEdit widget.
bool setTemplateFile(QString)
Allows user to choose a new template file by opening a window from which to select a filename...
void setGeom()
Turn geom on.
void changeBlinkTime(double interval)
Set blink rate.
void blinkStart()
Slot to start blink function.
void saveMeasure()
Save control measure under the crosshair in right ChipViewport.
void updateBlink()
Slot to cause the blink to happen coinciding with the timer.
void updateRightGeom()
Slot to update the geomed right ChipViewport for zoom operations.
void blinkStop()
Slot to stop blink function.
void createPointEditor(QWidget *parent)
Design the PointEdit widget.
void setRotate()
Slot to update the right ChipViewport for zoom operations.
void setZoomLink(bool)
Turn linking of zoom on or off.
void setCircle(bool)
Turn circle widgets on/off.
void setLeftMeasure(ControlMeasure *leftMeasure, Cube *leftCube, QString pointId)
Set the measure displayed in the left ChipViewport.
IO Handler for Isis Cubes.