An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Isis Developer Reference
|
Point Editor Widget. More...
#include <ControlPointEdit.h>
Public Slots | |
void | setLeftMeasure (ControlMeasure *leftMeasure, Cube *leftCube, QString pointId) |
Set the measure displayed in the left ChipViewport. | |
void | setRightMeasure (ControlMeasure *rightMeasure, Cube *rightCube, QString pointId) |
Set the measure displayed in the right ChipViewport. | |
void | colorizeSaveButton () |
Turn "Save Measure" button text to red. | |
void | refreshChips () |
void | saveChips () |
Slot to save registration chips to files and fire off qview. | |
Signals | |
void | updateLeftView (double sample, double line) |
void | updateRightView (double sample, double line) |
void | measureSaved () |
void | newControlNetwork (ControlNet *) |
void | stretchChipViewport (Stretch *, CubeViewport *) |
Public Member Functions | |
ControlPointEdit (ControlNet *cnet, QWidget *parent=0, bool allowLeftMouse=false, bool useGeometry=true) | |
Constructs a ControlPointEdit widget. | |
~ControlPointEdit () | |
QString | templateFileName () |
bool | setTemplateFile (QString) |
Allows user to choose a new template file by opening a window from which to select a filename. | |
void | allowLeftMouse (bool allowMouse) |
Set the option that allows mouse movements in the left ChipViewport. | |
Point Editor Widget.
Isis::ControlPointEdit::ControlPointEdit | ( | ControlNet * | cnet, |
QWidget * | parent = 0, | ||
bool | allowLeftMouse = false, | ||
bool | useGeometry = true ) |
Constructs a ControlPointEdit widget.
parent | Input Parent of widget |
allowLeftMouse | Input Allow/Disallow mouse events on Left ChipViewport |
References allowLeftMouse(), and newControlNetwork().
Isis::ControlPointEdit::~ControlPointEdit | ( | ) |
void Isis::ControlPointEdit::allowLeftMouse | ( | bool | allowMouse | ) |
Set the option that allows mouse movements in the left ChipViewport.
Referenced by ControlPointEdit().
|
slot |
Turn "Save Measure" button text to red.
|
signal |
|
signal |
Referenced by ControlPointEdit().
|
slot |
|
slot |
Slot to save registration chips to files and fire off qview.
References Isis::ProgramLauncher::RunSystemCommand(), and Isis::toString().
|
slot |
Set the measure displayed in the left ChipViewport.
leftMeasure | Input Measure displayed in left ChipViewport |
leftCube | Input Cube of measure displayed in left ChipViewport |
|
slot |
Set the measure displayed in the right ChipViewport.
rightMeasure | Input Measure displayed in right ChipViewport |
rightCube | Input Cube of measure displayed in right ChipViewport |
References _FILEINFO_, Isis::IException::toString(), and Isis::IException::User.
bool Isis::ControlPointEdit::setTemplateFile | ( | QString | fn | ) |
Allows user to choose a new template file by opening a window from which to select a filename.
This file is then registered and set as the new template.
References _FILEINFO_, Isis::AutoRegFactory::Create(), Isis::IException::Io, and Isis::IException::toString().
|
signal |
|
inline |
|
signal |
|
signal |