Isis 3.0 Object Programmers' Reference |
Home |
Defines the Distance filter for the QnetNavTool's Points section. More...
#include <QnetPointDistanceFilter.h>
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 |
ControlNet * | controlNet () |
const ControlNet * | controlNet () const |
SerialNumberList * | serialNumberList () |
const SerialNumberList * | serialNumberList () const |
Private Attributes | |
QLineEdit * | m_lineEdit |
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.
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.
Isis::QnetPointDistanceFilter::QnetPointDistanceFilter | ( | QnetNavTool * | navTool, |
QWidget * | parent = 0 |
||
) |
Contructor for the Point Distance filter.
It creates the Distance filter window found in the navtool
parent | The parent widget for the point distance filter |
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.
|
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.
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::ControlPoint::GetBestSurfacePoint(), Isis::ControlMeasure::GetCubeSerialNumber(), Isis::SurfacePoint::GetDistanceToPoint(), Isis::SurfacePoint::GetLocalRadius(), Isis::ControlNet::GetNumPoints(), Isis::ControlPoint::GetRefMeasure(), Isis::Sensor::GetSurfacePoint(), Isis::SerialNumberList::SerialNumberIndex(), and Isis::Camera::SetImage().
Referenced by Isis::QnetNavTool::filter().