1 #ifndef ControlPointEdit_h 2 #define ControlPointEdit_h 33 class UniversalGroundMap;
154 QString templateFileName() {
155 return p_templateFileName;
161 void updateLeftView(
double sample,
double line);
162 void updateRightView(
double sample,
double line);
169 Cube *leftCube, QString pointId);
171 Cube *rightCube, QString pointId);
201 bool p_allowLeftMouse;
204 QString p_templateFileName;
205 QLabel *p_leftZoomFactor;
206 QLabel *p_rightZoomFactor;
207 QLabel *p_leftSampLinePosition;
208 QLabel *p_rightSampLinePosition;
209 QLabel *p_leftLatLonPosition;
210 QLabel *p_rightLatLonPosition;
211 QRadioButton *p_nogeom;
212 QRadioButton *p_geom;
213 QToolButton *p_rightZoomIn;
214 QToolButton *p_rightZoomOut;
215 QToolButton *p_rightZoom1;
220 std::vector<ChipViewport *> p_blinkList;
221 unsigned char p_blinkIndex;
224 QLCDNumber *p_dialNumber;
225 QDoubleSpinBox *p_blinkTimeBox;
228 QScrollBar *p_slider;
230 QPushButton *p_autoReg;
232 QLabel *p_oldPosition;
235 bool p_autoRegAttempted;
237 QPushButton *p_saveMeasure;
238 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.
Namespace for ISIS/Bullet specific routines.
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.