USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::QnetPointRangeFilter Class Reference

Defines the Range filter for the QnetNavTool's Points section. More...

#include <QnetPointRangeFilter.h>

Inheritance diagram for Isis::QnetPointRangeFilter:
Inheritance graph
Collaboration diagram for Isis::QnetPointRangeFilter:
Collaboration graph

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
ControlNetcontrolNet ()
const ControlNetcontrolNet () const
SerialNumberListserialNumberList ()
const SerialNumberListserialNumberList () const

Private Attributes

QLineEdit * m_minlat
QLineEdit * m_maxlat
QLineEdit * m_minlon
QLineEdit * m_maxlon

Detailed Description

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.

Author
????-??-?? Unknown
History:
2009-01-08 Jeannie Walldren - Modified filter() method to remove new filter points from the existing filtered list.
History:
2010-06-03 Jeannie Walldren - Initialized pointers to null in constructor. Removed "std::" in .cpp file.

Definition at line 27 of file QnetPointRangeFilter.h.

Constructor & Destructor Documentation

Isis::QnetPointRangeFilter::QnetPointRangeFilter ( QnetNavTool navTool,
QWidget parent = 0 
)

Contructor for the Point Range filter.

It creates the Range filter window found in the navtool

Parameters
parentThe parent widget for the point Range filter
History:
2010-06-03 Jeannie Walldren - Initialized pointers to null.

Definition at line 29 of file QnetPointRangeFilter.cpp.

Member Function Documentation

void Isis::QnetPointRangeFilter::filter ( )
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.

History:
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.
History:
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().


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