USGS

Isis 3.0 Application Source Code Reference

Home

QnetPointGoodnessFilter.h

Go to the documentation of this file.
00001 #ifndef QnetPointGoodnessFilter_h
00002 #define QnetPointGoodnessFilter_h
00003 
00004 #include <QAction>
00005 #include <QDialog>
00006 #include <QWidget>
00007 #include <QLabel>
00008 #include <QLineEdit>
00009 #include <QCheckBox>
00010 #include <QList>
00011 #include "QnetFilter.h"
00012 
00013 
00014 namespace Isis {
00015   /**
00016    * Defines the Goodness of Fit filter for the QnetNavTool's 
00017    * Points section. The user may enter Less Than and Greater 
00018    * Than.  This class is designed to remove points from the 
00019    * current filtered list if all measures have goodness of fit 
00020    * values that lie outside the given range. 
00021    *  
00022    * @author 2008-11-26 Jeannie Walldren
00023    * @internal
00024    *   @history 2008-11-26 Jeannie Walldren - Original Version
00025    *   @history 2009-01-08 Jeannie Walldren - Modified filter()
00026    *                          method to remove new filter points
00027    *                          from the existing filtered list.
00028    *   @history 2010-06-02 Jeannie Walldren - Modified clearEdit()
00029    *                          method to disable the line edit if
00030    *                          the corresponding check box is not
00031    *                          checked.
00032    *   @history 2010-06-03 Jeannie Walldren - Initialized pointers
00033    *                          to null in constructor.
00034    *   @history 2011-03-04 Tracie Sucharski - Updated for new version of
00035    *                          binary control networks.  The GoodnessOfFit
00036    *                          is now stored in the Log section of the control
00037    *                          net, not as a keyword within the ControlMeasure.
00038    */
00039 
00040   class QnetPointGoodnessFilter : public QnetFilter {
00041     Q_OBJECT
00042 
00043     public:
00044       QnetPointGoodnessFilter (QWidget *parent=0);
00045       virtual void filter();
00046 
00047     public slots:
00048 
00049     private:
00050       QCheckBox *p_lessThanCB; 
00051       QCheckBox *p_greaterThanCB;  
00052       QLineEdit *p_maxValueEdit;
00053       QLineEdit *p_minValueEdit;
00054 
00055     private slots:
00056       void clearEdit();
00057   };
00058 };
00059 
00060 #endif