Isis 3.0 Programmer Reference
Back | Home
Isis::NewControlPointDialog Class Reference

#include <NewControlPointDialog.h>

Inheritance diagram for Isis::NewControlPointDialog:
Inheritance graph
Collaboration diagram for Isis::NewControlPointDialog:
Collaboration graph

Public Member Functions

 NewControlPointDialog (ControlNet *controlNet, SerialNumberList *serialNumberList, QString defaultPointId, QWidget *parent=0)
 NewControlPointDialog constructor. More...
 
QString pointId () const
 
int pointType () const
 
void setGroundSource (QStringList groundFiles, int numberShapesWithPoint)
 
QString groundSource () const
 
QStringList selectedFiles () const
 
void setFiles (QStringList pointFiles)
 
bool subpixelRegisterPoint ()
 

Private Slots

void pointTypeChanged (int pointType)
 
void enableOkButton (const QString &text)
 

Private Attributes

ControlNetm_controlNet
 
SerialNumberListm_serialNumberList
 
QLabel * m_ptIdLabel
 
QComboBoxm_pointTypeCombo
 
QComboBoxm_groundSourceCombo
 
QHBoxLayout * m_groundSourceLayout
 
QRadioButton * m_subpixelRegisterButton
 
QPushButton * m_okButton
 
QLineEdit * m_ptIdEdit
 
QListWidget * m_fileList
 
QStringListm_pointFiles
 

Detailed Description

Author
????-??-?? Tracie Sucharski
History:

2008-11-26 Jeannie Walldren - Added functionality to show the last Point ID entered into a new point dialog box.

2010-06-03 Jeannie Walldren - Initialized pointers in constructor. Removed "std::" in header and .cpp files.

2010-12-03 Eric Hyer - Selected points now go to the top!

2016-09-16 Tracie Sucharski - Renamed to NewControlPointDialog in anticipation of creating a parent class that QnetNewPointDialog and MatchToolNewPointDialog can inherit.

2016-10-18 Tracie Sucharski - Added method to return value of the subpixelRegister radio button. If set, all measures in the control point created will be subpixel registered.

Definition at line 37 of file NewControlPointDialog.h.

Constructor & Destructor Documentation

Isis::NewControlPointDialog::NewControlPointDialog ( ControlNet controlNet,
SerialNumberList serialNumberList,
QString  defaultPointId,
QWidget parent = 0 
)

NewControlPointDialog constructor.

Parameters
parentThe parent widget for the cube points filter
History:

2008-11-26 Jeannie Walldren - Set lastPointIdValue

2010-06-03 Jeannie Walldren - Initialized pointers to null.

2011-03-08 Tracie Sucharski - If there is a saved ID and there is no point in the network with that id, do not disable "ok" button. This allows user to use the same id from a previous point creation if the point was never saved.

Definition at line 38 of file NewControlPointDialog.cpp.

References enableOkButton(), and Isis::ControlPoint::PointTypeToString().

Member Function Documentation

void Isis::NewControlPointDialog::enableOkButton ( const QString &  text)
privateslot
History:
2008-11-26 Jeannie Walldren - Set lastPointIdValue to the ptIdValue

Definition at line 208 of file NewControlPointDialog.cpp.

References Isis::ControlNet::ContainsPoint().

Referenced by NewControlPointDialog().

void Isis::NewControlPointDialog::setFiles ( QStringList  pointFiles)
History:

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2010-10-29 Tracie Sucharski - Changed std::vector<std::string> to QSringList

Definition at line 177 of file NewControlPointDialog.cpp.

References Isis::SerialNumberList::fileName(), and Isis::SerialNumberList::size().


The documentation for this class was generated from the following files:

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 ISIS Support Center
File Modified: 07/13/2023 00:03:16