Isis 3 Programmer Reference
Isis::QnetPointDistanceFilter Class Reference

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

#include <QnetPointDistanceFilter.h>

Inheritance diagram for Isis::QnetPointDistanceFilter:
Inheritance graph
Collaboration diagram for Isis::QnetPointDistanceFilter:
Collaboration graph

Signals

void filteredListModified ()
 

Public Member Functions

 QnetPointDistanceFilter (QnetNavTool *navTool, QWidget *parent=0)
 Contructor for the Point Distance filter.
 
virtual void filter ()
 Filters a list of points for points that are less than the user entered distance from another point in the control net.
 

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_lineEdit
 
QnetNavToolm_navTool
 

Detailed Description

Defines the Distance filter for the QnetNavTool's Points section.

The user must enter a Minimum Distance value. This class is designed to remove points from the current filtered list whose distance from all other points in the control net is greater than or equal to the given value.

Author
????-??-?? Unknown
History

2008-11-26 Jeannie Walldren - Changed variable names and labels for clarity. Modified filter() to handle case in which the lat/lon of the point is Null. And to increase efficiency.

2009-01-08 Jeannie Walldren - Modified filter() method to create new filtered list from points in the existing filtered list.

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

Definition at line 31 of file QnetPointDistanceFilter.h.

Constructor & Destructor Documentation

◆ QnetPointDistanceFilter()

Isis::QnetPointDistanceFilter::QnetPointDistanceFilter ( QnetNavTool * navTool,
QWidget * parent = 0 )

Contructor for the Point Distance filter.

It creates the Distance filter window found in the navtool

Parameters
parentThe parent widget for the point distance filter
History

2008-11-26 Jeannie Walldren - Clarified label for distance filter value.

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

2011-03-17 Tracie Sucharski - Changed text on filter gui.

Definition at line 35 of file QnetPointDistanceFilter.cpp.

Member Function Documentation

◆ controlNet() [1/2]

ControlNet * Isis::QnetFilter::controlNet ( )
protectedinherited

Definition at line 43 of file QnetFilter.cpp.

◆ controlNet() [2/2]

const ControlNet * Isis::QnetFilter::controlNet ( ) const
protectedinherited

Definition at line 48 of file QnetFilter.cpp.

◆ filter()

void Isis::QnetPointDistanceFilter::filter ( )
virtual

Filters a list of points for points that are less than the user entered distance from another point in the control net.

The filtered list will appear in the navtools point list display.

History

2008-11-26 Jeannie Walldren - Modified code to handle case in which the lat/lon of the point is Null. In this event, the Camera class will be used to determine lat/lon/rad for the reference measure or for the first measure. Changed variable names for clarity. Adjusted inner "for" loop to reduce number of iterations.

2009-01-08 Jeannie Walldren - Modified to replace existing filtered list with a subset of that list. Previously, a new filtered list was created from the entire control net each time.

2011-03-17 Tracie Sucharski - Use surface point from camera and updated for changes to SurfacePoint.

Reimplemented from Isis::QnetFilter.

Definition at line 79 of file QnetPointDistanceFilter.cpp.

References Isis::ControlNet::Camera(), Isis::ControlNet::GetNumPoints(), Isis::SerialNumberList::serialNumberIndex(), and Isis::Camera::SetImage().

Referenced by Isis::QnetNavTool::filter().

◆ filteredImages() [1/2]

QList< int > & Isis::QnetFilter::filteredImages ( )
protectedinherited

Definition at line 23 of file QnetFilter.cpp.

◆ filteredImages() [2/2]

const QList< int > & Isis::QnetFilter::filteredImages ( ) const
protectedinherited

Definition at line 28 of file QnetFilter.cpp.

◆ filteredPoints() [1/2]

QList< int > & Isis::QnetFilter::filteredPoints ( )
protectedinherited

Definition at line 33 of file QnetFilter.cpp.

◆ filteredPoints() [2/2]

const QList< int > & Isis::QnetFilter::filteredPoints ( ) const
protectedinherited

Definition at line 38 of file QnetFilter.cpp.

◆ serialNumberList() [1/2]

SerialNumberList * Isis::QnetFilter::serialNumberList ( )
protectedinherited

Definition at line 53 of file QnetFilter.cpp.

◆ serialNumberList() [2/2]

const SerialNumberList * Isis::QnetFilter::serialNumberList ( ) const
protectedinherited

Definition at line 58 of file QnetFilter.cpp.

Member Data Documentation

◆ m_lineEdit

QLineEdit* Isis::QnetPointDistanceFilter::m_lineEdit
private

Definition at line 39 of file QnetPointDistanceFilter.h.

◆ m_navTool

QnetNavTool* Isis::QnetFilter::m_navTool
privateinherited

Definition at line 41 of file QnetFilter.h.


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