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::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(), 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(), and Isis::IException::Io.
|
signal |
|
inline |
Referenced by Isis::MatchTool::deletePoint(), and Isis::MatchTool::modifyPoint().
|
signal |
|
signal |