![]() |
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. More... | |
void | setRightMeasure (ControlMeasure *rightMeasure, Cube *rightCube, QString pointId) |
Set the measure displayed in the right ChipViewport. More... | |
void | colorizeSaveButton () |
Turn "Save Measure" button text to red. More... | |
void | refreshChips () |
void | saveChips () |
Slot to save registration chips to files and fire off qview. More... | |
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. More... | |
~ControlPointEdit () | |
QString | templateFileName () |
bool | setTemplateFile (QString) |
Allows user to choose a new template file by opening a window from which to select a filename. More... | |
void | allowLeftMouse (bool allowMouse) |
Set the option that allows mouse movements in the left ChipViewport. More... | |
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::AutoReg::FitChip(), Isis::ControlMeasure::GetLine(), Isis::ControlMeasure::GetSample(), Isis::AutoReg::RegistrationPatternChip(), Isis::AutoReg::RegistrationSearchChip(), Isis::ProgramLauncher::RunSystemCommand(), Isis::toString(), and Isis::Chip::Write().
|
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 |
References Isis::ControlMeasure::GetLine(), Isis::ControlMeasure::GetSample(), Isis::Chip::Load(), Isis::ChipViewport::setChip(), and Isis::Chip::TackCube().
|
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::ControlMeasure::GetLine(), Isis::ControlMeasure::GetSample(), Isis::Chip::Load(), Isis::ChipViewport::setChip(), Isis::Chip::TackCube(), 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 |
Referenced by Isis::MatchTool::deletePoint(), and Isis::MatchTool::modifyPoint().
|
signal |
|
signal |
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 03/21/2022 06:52:01 |