USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::QnetPointMeasureFilter Class Reference

Defines the Measure Properties filter for the QnetNavTool's Points section. More...

#include <QnetPointMeasureFilter.h>

Inheritance diagram for Isis::QnetPointMeasureFilter:
Inheritance graph
Collaboration diagram for Isis::QnetPointMeasureFilter:
Collaboration graph

Signals

void filteredListModified ()
 

Public Member Functions

 QnetPointMeasureFilter (QnetNavTool *navTool, QWidget *parent=0)
 Contructor for the Point Measure filter.
 
virtual void filter ()
 Filters a list of points for points that have at least one measure of the selected type(s).
 

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 Member Functions

bool MeasureTypeMatched (int cmType)
 Returns whether the measure type passed in matches a type selected by the user.
 

Private Attributes

QGroupBox * m_measureType
 
QCheckBox * m_candidate
 
QCheckBox * m_manual
 
QCheckBox * m_registeredPixel
 
QCheckBox * m_registeredSubPixel
 
QGroupBox * m_ignoreStatus
 
QRadioButton * m_ignored
 
QRadioButton * m_notIgnored
 
QGroupBox * m_editLockStatus
 
QRadioButton * m_editLocked
 
QRadioButton * m_notEditLocked
 

Detailed Description

Defines the Measure Properties filter for the QnetNavTool's Points section.

This class filters points whose measures have at least one measure with the selected properties. If the user chooses more than one measure type, the list will contain points with at least one measure with either of these types. If the user chooses to filter by measure type and ignore status, the list will contain points with at least one measure that contains both of these properties. This class is designed to remove points from the current filtered list that do not contain any measures of the selected type.

Todo:
Add ability to filter points without a Reference.
Author
????-??-?? Unknown
History:

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

2010-06-02 Jeannie Walldren - Created MeasureTypeMatched() method. Modified filter() to add the Ignore Status filter

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

2010-07-16 Tracie Sucharski - Implemented binary control networks.

2011-05-20 Tracie Sucharski - Remove reference as a measure type. Need to add ability to search for points without a reference?

2011-07-12 Tracie Sucharski - Use Group boxes instead of check boxes and reimplement filter to add the edit Lock status.

Definition at line 47 of file QnetPointMeasureFilter.h.

Constructor & Destructor Documentation

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

Contructor for the Point Measure filter.

It creates the Measure filter window found in the navtool

Parameters
parentThe parent widget for the point measure filter
History:

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

2010-07-16 Tracie Sucharski - Implemented binary control networks.

Definition at line 31 of file QnetPointMeasureFilter.cpp.

Member Function Documentation

void Isis::QnetPointMeasureFilter::filter ( )
virtual

Filters a list of points for points that have at least one measure of the selected type(s).

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.

2010-06-02 Jeannie Walldren - Added functionality to filter by ignore status in addition to measure type

2010-07-16 Tracie Sucharski - Implemented binary control networks.

Reimplemented from Isis::QnetFilter.

Definition at line 114 of file QnetPointMeasureFilter.cpp.

References MeasureTypeMatched().

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

bool Isis::QnetPointMeasureFilter::MeasureTypeMatched ( int  cmType)
private

Returns whether the measure type passed in matches a type selected by the user.

This method is called by the filter() method to checks whether a particular measure type matches any of the checkboxes selected by the user.

Parameters
cmTypeControlMeasure type to compare with user selection.
Returns
bool True if the measure type matches a type selected by the user.
History:
2010-07-16 Tracie Sucharski - Implemented binary control networks.

Definition at line 204 of file QnetPointMeasureFilter.cpp.

References Isis::ControlMeasure::Candidate, Isis::ControlMeasure::Manual, Isis::ControlMeasure::RegisteredPixel, and Isis::ControlMeasure::RegisteredSubPixel.

Referenced by filter().


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