Isis 3.0 Application Source Code Reference |
Home |
00001 #ifndef QnetPointRegistrationErrorFilter_h 00002 #define QnetPointRegistrationErrorFilter_h 00003 /** 00004 * @file 00005 * $Date: 2010/06/03 20:13:53 $ 00006 * $Revision: 1.6 $ 00007 * 00008 * Unless noted otherwise, the portions of Isis written by the USGS are public domain. See 00009 * individual third-party library and package descriptions for intellectual property information, 00010 * user agreements, and related information. 00011 * 00012 * Although Isis has been used by the USGS, no warranty, expressed or implied, is made by the 00013 * USGS as to the accuracy and functioning of such software and related material nor shall the 00014 * fact of distribution constitute any such warranty, and no responsibility is assumed by the 00015 * USGS in connection therewith. 00016 * 00017 * For additional information, launch $ISISROOT/doc//documents/Disclaimers/Disclaimers.html 00018 * in a browser or see the Privacy & Disclaimers page on the Isis website, 00019 * http://isis.astrogeology.usgs.gov, and the USGS privacy and disclaimers on 00020 * http://www.usgs.gov/privacy.html. 00021 */ 00022 #include "QnetFilter.h" 00023 00024 class QCheckBox; 00025 class QLineEdit; 00026 00027 namespace Isis { 00028 class ControlPoint; 00029 } 00030 00031 namespace Isis { 00032 /** 00033 * Defines the Registration Error filter for the QnetNavTool's Points section. 00034 * The user may enter values for Less Than and/or Greater Than. This class is 00035 * designed to remove points from the current filtered list that lie outside 00036 * of the given range. 00037 * 00038 * @author ????-??-?? Unknown 00039 * 00040 * @internal 00041 * @history 2009-01-08 Jeannie Walldren - Modified filter() 00042 * method to remove new filter points 00043 * from the existing filtered list. 00044 * @history 2010-06-02 Jeannie Walldren - Modified clearEdit() 00045 * method to disable the line edit if 00046 * the corresponding check box is not 00047 * checked. 00048 * @history 2010-06-03 Jeannie Walldren - Initialized pointers 00049 * to null in constructor. 00050 * @history 2010-07-14 Tracie Sucharski - ControlPoint::MaximumError 00051 * renamed to MaximumResiudal. 00052 * @history 2011-07-11 Tracie Sucharski - Created from 00053 * QnetPointJigsawErrorFilter 00054 */ 00055 class QnetPointRegistrationErrorFilter : public QnetFilter { 00056 Q_OBJECT 00057 00058 public: 00059 QnetPointRegistrationErrorFilter(QWidget *parent = 0); 00060 virtual void filter(); 00061 00062 public slots: 00063 00064 private: 00065 QCheckBox *p_lessThanCB; 00066 QCheckBox *p_greaterThanCB; 00067 QLineEdit *p_lessErrorEdit; 00068 QLineEdit *p_greaterErrorEdit; 00069 00070 private slots: 00071 void clearEdit(); 00072 }; 00073 }; 00074 00075 #endif