Isis Developer Reference
|
Gui for editing ControlPoints in ipce application. More...
#include <ControlPointEditWidget.h>
Public Slots | |
void | setSerialNumberList (SerialNumberList *snList) |
Set the serial number list. | |
void | setControl (Control *control) |
New control network being edited. | |
void | setControlFromActive () |
New active control was set from ipce. | |
void | setEditPoint (ControlPoint *controlPoint, QString serialNumber="") |
Slot called by Directory to set the control point for editing. | |
void | deletePoint (ControlPoint *controlPoint) |
Gives user options for deleting a control point from the control network. | |
void | createControlPoint (double latitude, double longitude, Cube *cube=0, bool isGroundSource=false) |
Create a new control point at the given latitude, longitude. | |
void | colorizeSaveNetButton (bool reset=false) |
Turn "Save Net" button text to red. | |
void | addTemplates (TemplateList *templateList) |
Add registration TemplateList to combobox when imported to project. | |
Signals | |
void | controlPointChanged (QString pointId) |
void | controlPointAdded (QString pointId) |
void | ignorePointChanged () |
void | ignoreLeftChanged () |
void | ignoreRightChanged () |
void | cnetModified () |
void | newControlNetwork (ControlNet *) |
void | stretchChipViewport (Stretch *, CubeViewport *) |
void | measureChanged () |
void | saveControlNet () |
Public Member Functions | |
ControlPointEditWidget (Directory *directory, QWidget *parent, bool addMeasures=false) | |
Consructs the ControlPointEditWidget widget. | |
virtual | ~ControlPointEditWidget () |
QString | editPointId () |
ControlPoint * | editPoint () |
Protected Member Functions | |
bool | eventFilter (QObject *o, QEvent *e) |
Event filter for ControlPointEditWidget. | |
Gui for editing ControlPoints in ipce application.
Isis::ControlPointEditWidget::ControlPointEditWidget | ( | Directory * | directory, |
QWidget * | parent, | ||
bool | addMeasures = false ) |
Consructs the ControlPointEditWidget widget.
parent | Pointer to the parent widget for the ControlPointEditWidget |
addMeasures | Whether or not to add the Add Measure to Point button |
References addTemplates(), newControlNetwork(), and Isis::Directory::project().
|
virtual |
|
slot |
Add registration TemplateList to combobox when imported to project.
templateList | Reference to TemplateList that was imported |
References Isis::FileName::name(), and Isis::TemplateList::type().
Referenced by ControlPointEditWidget().
|
signal |
Referenced by deletePoint().
|
slot |
Turn "Save Net" button text to red.
TODO Need whoever is actually saving network to emit signal when net has been saved, so that button can be set back to black.
Referenced by deletePoint().
|
signal |
Referenced by createControlPoint().
|
signal |
|
slot |
Create a new control point at the given latitude, longitude.
latitude | The latitude position for the new control point |
longitude | The longitude position for the new control point |
cube | The cube that the user used to select position for new control point |
isGroundSource | Boolean indicating whether the cube used to choose position is a ground source |
References Isis::ControlPoint::Add(), controlPointAdded(), createControlPoint(), Isis::Shape::cube(), Isis::ControlPoint::RadiusSource::DEM, Isis::FileName::expanded(), Isis::Cube::externalCubeFileName(), Isis::Shape::fileName(), Isis::SerialNumberList::fileName(), Isis::SerialNumberList::fileNameIndex(), Isis::ControlPoint::Free, Isis::ControlPoint::GetId(), Isis::ControlMeasure::Manual, Isis::ControlPoint::SurfacePointSource::None, Isis::Shape::radiusSource(), Isis::SerialNumberList::serialNumber(), Isis::ControlPoint::SetAprioriSurfacePointSource(), Isis::ControlPoint::SetAprioriSurfacePointSourceFile(), Isis::ControlPoint::SetChooserName(), setEditPoint(), Isis::ControlPoint::SetType(), Isis::SerialNumberList::size(), Isis::Shape::surfacePointSource(), and Isis::Application::UserName().
Referenced by createControlPoint(), and Isis::Directory::createControlPoint().
|
slot |
Gives user options for deleting a control point from the control network.
controlPoint | (ControlPoint *) Control point to be deleted |
References cnetModified(), colorizeSaveNetButton(), Isis::SerialNumberList::fileName(), Isis::ControlMeasure::MeasureLocked, and Isis::ControlPoint::PointLocked.
Referenced by Isis::Directory::deleteControlPoint().
ControlPoint * Isis::ControlPointEditWidget::editPoint | ( | ) |
QString Isis::ControlPointEditWidget::editPointId | ( | ) |
Referenced by Isis::Directory::createControlPoint().
|
protected |
Event filter for ControlPointEditWidget.
Determines whether to update left or right measure info.
o | Pointer to QObject |
e | Pointer to QEvent |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
Referenced by ControlPointEditWidget(), setControl(), and setControlFromActive().
|
signal |
|
slot |
New control network being edited.
cnet | (Control *) The control network to edit |
References Isis::Control::controlNet(), Isis::Control::fileName(), and newControlNetwork().
Referenced by Isis::Directory::addControlPointEditView().
|
slot |
New active control was set from ipce.
TODO: This will need to be redesigned with the setControl method to better handle editing points from different cnets.
References Isis::Project::activeControl(), newControlNetwork(), and Isis::Directory::project().
|
slot |
Slot called by Directory to set the control point for editing.
controlPoint | (ControlPoint *) ControlPoint that will be loaded into editor |
serialNumber | (QString) Optional parameter indicating the serial number of the cube that the point was chosen from |
References Isis::ControlPoint::Parent().
Referenced by createControlPoint(), and Isis::Directory::modifyControlPoint().
|
slot |
Set the serial number list.
snList | Pointer to the SerialNumberList |
Referenced by Isis::Directory::addControlPointEditView().
|
signal |