USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::QnetCubeDistanceFilter Class Reference

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

#include <QnetCubeDistanceFilter.h>

Inheritance diagram for Isis::QnetCubeDistanceFilter:
Inheritance graph
Collaboration diagram for Isis::QnetCubeDistanceFilter:
Collaboration graph

Signals

void filteredListModified ()
 

Public Member Functions

 QnetCubeDistanceFilter (QnetNavTool *navTool, QWidget *parent=0)
 Contructor for the Cube Distance filter.
 
virtual void filter ()
 Filters a list of images for images that have points that are less than the user entered distance from other points in the image.
 

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 * p_lineEdit
 
QRadioButton * p_pixels
 
QRadioButton * p_meters
 

Detailed Description

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

The user must enter a Minimum Distance value. This class is designed to remove cubes from the current filtered list that contain no points within the given distance.

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

2008-12-03 Jeannie Walldren - Changed variable names and labels for clarity. Added radio buttons so the user may choose a distance in meters or pixels. Rewrote filter() method since it did not seem to be working properly, to increase efficiency and to allow filtering for a distance in meters or pixels.

2009-01-08 Jeannie Walldren - Modified filter() method to replace existing filtered list with a subset of that list.

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

2010-10-28 Tracie Sucharski - Fixed some include problems caused by changes made to the ControlNet,ControlPoint, ControlMeasure header files.

Definition at line 40 of file QnetCubeDistanceFilter.h.

Constructor & Destructor Documentation

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

Contructor for the Cube Distance filter.

It creates the Distance filter window found in the navtool

Parameters
parentThe parent widget for the cube distance filter
History:

2008-12-03 Jeannie Walldren - Added radio button so user may choose to filter distance in pixels or meters.

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

Definition at line 39 of file QnetCubeDistanceFilter.cpp.

Member Function Documentation

void Isis::QnetCubeDistanceFilter::filter ( )
virtual

Filters a list of images for images that have points that are less than the user entered distance from other points in the image.

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

History:

2008-12-03 Jeannie Walldren - Reorganized method so it is working properly, to increase efficiency (by breaking out of loops when possible) and to allow filtering for a distance in meters or pixels. Renamed variables for clarity.

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 serial number list each time.

Reimplemented from Isis::QnetFilter.

Definition at line 88 of file QnetCubeDistanceFilter.cpp.

References Isis::ControlNet::Camera(), Isis::Angle::Degrees, Isis::SurfacePoint::GetDistanceToPoint(), Isis::ControlNet::GetNumPoints(), Isis::Sensor::LocalRadius(), Isis::Distance::Meters, Isis::Distance::meters(), Isis::SerialNumberList::SerialNumber(), Isis::Camera::SetImage(), Isis::Sensor::UniversalLatitude(), and Isis::Sensor::UniversalLongitude().

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


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