Isis 3.0 Object Programmers' Reference |
Home |
Defines the Range filter for the QnetNavTool's Points section. More...
#include <QnetPointRangeFilter.h>
Signals | |
void | filteredListModified () |
Public Member Functions | |
QnetPointRangeFilter (QnetNavTool *navTool, QWidget *parent=0) | |
Contructor for the Point Range filter. | |
virtual void | filter () |
Filters a list of points for points that are of the selected Range or in the given range. | |
Protected Member Functions | |
QList< int > & | filteredImages () |
const QList< int > & | filteredImages () const |
QList< int > & | filteredPoints () |
const QList< int > & | filteredPoints () const |
ControlNet * | controlNet () |
const ControlNet * | controlNet () const |
SerialNumberList * | serialNumberList () |
const SerialNumberList * | serialNumberList () const |
Private Attributes | |
QLineEdit * | m_minlat |
QLineEdit * | m_maxlat |
QLineEdit * | m_minlon |
QLineEdit * | m_maxlon |
Defines the Range filter for the QnetNavTool's Points section.
The user must enter values for Minimum Latitude, Maximum Latitude, Minimum Longitude, and Maximum Longitude. This class is designed to remove points from the current filtered list that lie outside of the given range.
2009-01-08 Jeannie Walldren - Modified filter() method to remove new filter points from the existing filtered list.
2010-06-03 Jeannie Walldren - Initialized pointers to null in constructor. Removed "std::" in .cpp file.
Definition at line 27 of file QnetPointRangeFilter.h.
Isis::QnetPointRangeFilter::QnetPointRangeFilter | ( | QnetNavTool * | navTool, |
QWidget * | parent = 0 |
||
) |
Contructor for the Point Range filter.
It creates the Range filter window found in the navtool
parent | The parent widget for the point Range filter |
Definition at line 29 of file QnetPointRangeFilter.cpp.
|
virtual |
Filters a list of points for points that are of the selected Range or in the given range.
The filtered list will appear in the navtools point list display.
2009-01-08 Jeannie Walldren - Modified to remove new filter points from the existing filtered list. Previously, a new filtered list was created from the entire control net each time.
2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"
Reimplemented from Isis::QnetFilter.
Definition at line 84 of file QnetPointRangeFilter.cpp.
References Isis::Angle::Degrees, Isis::ControlPoint::GetBestSurfacePoint(), Isis::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLongitude(), Isis::Longitude::inRange(), and Isis::Latitude::inRange().
Referenced by Isis::QnetNavTool::filter().