Isis 3.0 Object Programmers' Reference |
Home |
Defines the Distance filter for the QnetNavTool's Cubes section. More...
#include <QnetCubeDistanceFilter.h>
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 |
ControlNet * | controlNet () |
const ControlNet * | controlNet () const |
SerialNumberList * | serialNumberList () |
const SerialNumberList * | serialNumberList () const |
Private Attributes | |
QLineEdit * | p_lineEdit |
QRadioButton * | p_pixels |
QRadioButton * | p_meters |
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.
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.
Isis::QnetCubeDistanceFilter::QnetCubeDistanceFilter | ( | QnetNavTool * | navTool, |
QWidget * | parent = 0 |
||
) |
Contructor for the Cube Distance filter.
It creates the Distance filter window found in the navtool
parent | The parent widget for the cube distance filter |
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.
|
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.
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().