Isis 3 Programmer Reference
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
 
QnetNavToolm_navTool
 

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

◆ QnetPointMeasureFilter()

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

◆ 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::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().

◆ 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.

◆ MeasureTypeMatched()

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().

◆ 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_candidate

QCheckBox* Isis::QnetPointMeasureFilter::m_candidate
private

Definition at line 58 of file QnetPointMeasureFilter.h.

◆ m_editLocked

QRadioButton* Isis::QnetPointMeasureFilter::m_editLocked
private

Definition at line 68 of file QnetPointMeasureFilter.h.

◆ m_editLockStatus

QGroupBox* Isis::QnetPointMeasureFilter::m_editLockStatus
private

Definition at line 67 of file QnetPointMeasureFilter.h.

◆ m_ignored

QRadioButton* Isis::QnetPointMeasureFilter::m_ignored
private

Definition at line 64 of file QnetPointMeasureFilter.h.

◆ m_ignoreStatus

QGroupBox* Isis::QnetPointMeasureFilter::m_ignoreStatus
private

Definition at line 63 of file QnetPointMeasureFilter.h.

◆ m_manual

QCheckBox* Isis::QnetPointMeasureFilter::m_manual
private

Definition at line 59 of file QnetPointMeasureFilter.h.

◆ m_measureType

QGroupBox* Isis::QnetPointMeasureFilter::m_measureType
private

Definition at line 57 of file QnetPointMeasureFilter.h.

◆ m_navTool

QnetNavTool* Isis::QnetFilter::m_navTool
privateinherited

Definition at line 41 of file QnetFilter.h.

◆ m_notEditLocked

QRadioButton* Isis::QnetPointMeasureFilter::m_notEditLocked
private

Definition at line 69 of file QnetPointMeasureFilter.h.

◆ m_notIgnored

QRadioButton* Isis::QnetPointMeasureFilter::m_notIgnored
private

Definition at line 65 of file QnetPointMeasureFilter.h.

◆ m_registeredPixel

QCheckBox* Isis::QnetPointMeasureFilter::m_registeredPixel
private

Definition at line 60 of file QnetPointMeasureFilter.h.

◆ m_registeredSubPixel

QCheckBox* Isis::QnetPointMeasureFilter::m_registeredSubPixel
private

Definition at line 61 of file QnetPointMeasureFilter.h.


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