Isis 3 Programmer Reference
Isis::QnetPointTypeFilter Class Reference

Filter for control point type. More...

#include <QnetPointTypeFilter.h>

Inheritance diagram for Isis::QnetPointTypeFilter:
Inheritance graph
Collaboration diagram for Isis::QnetPointTypeFilter:
Collaboration graph

Signals

void filteredListModified ()
 

Public Member Functions

 QnetPointTypeFilter (QnetNavTool *navTool, QWidget *parent=0)
 Contructor for the Point Type filter.
 
virtual void filter ()
 Filters a list of points and keeps points that have the selected property or in the given range.
 

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 PointTypeMatched (int pointType)
 Returns whether the point type passed in matches a type selected by the user.
 

Private Attributes

QGroupBox * m_pointType
 
QCheckBox * m_free
 
QCheckBox * m_constrained
 
QCheckBox * m_fixed
 
QGroupBox * m_ignoreStatus
 
QRadioButton * m_ignored
 
QRadioButton * m_notIgnored
 
QGroupBox * m_editLockStatus
 
QRadioButton * m_editLocked
 
QRadioButton * m_notEditLocked
 
QnetNavToolm_navTool
 

Detailed Description

Filter for control point type.

The user must choose Ground, Ignore, or Hold. This class is designed to remove points from the current filtered list that are not of the selected type.

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

2008-11-26 Jeannie Walldren - Fixed comment in filter() method.

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

2010-06-02 Jeannie Walldren - Modified filter() method to treat a point as ignored if all of its measures have Ignore=True.

2010-06-03 Jeannie Walldren - Replaced "0" with "ControlPoint::Ground" in filter(). Initialized pointers to null in constructor

2011-06-08 Tracie Sucharski - Change for new point types and held points no longer exist, but editLocked points do.

Definition at line 37 of file QnetPointTypeFilter.h.

Constructor & Destructor Documentation

◆ QnetPointTypeFilter()

Isis::QnetPointTypeFilter::QnetPointTypeFilter ( QnetNavTool * navTool,
QWidget * parent = 0 )

Contructor for the Point Type filter.

It creates the Type filter window found in the navtool

Parameters
parentThe parent widget for the point type filter
History

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

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

2010-10-05 Tracie Sucharski - Remove multiple ground types, back to simply tie or ground.

Definition at line 34 of file QnetPointTypeFilter.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::QnetPointTypeFilter::filter ( )
virtual

Filters a list of points and keeps points that have the selected property or in the given range.

Note: If a point does not have Ignore=True but all measures of the point have Ignore=True, this point will be considered "Ignored". The filtered list will appear in the navtools point list display.

History

2008-11-26 Jeannie Walldren - Fixed comment.

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 - Modified to treat a point as ignored if all of its measures have Ignore=True

2010-06-03 Jeannie Walldren - Replaced "0" with ControlPoint::Ground in case enumeration changes.

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

2010-10-05 Tracie Sucharski - Remove multiple ground types, back to simply tie or ground. Also help points no longer an option.

Reimplemented from Isis::QnetFilter.

Definition at line 131 of file QnetPointTypeFilter.cpp.

References PointTypeMatched().

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.

◆ PointTypeMatched()

bool Isis::QnetPointTypeFilter::PointTypeMatched ( int pointType)
private

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

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

Parameters
pointTypeControlPoint type to compare with user selection.
Returns
bool True if the point type matches a type selected by the user.

Definition at line 219 of file QnetPointTypeFilter.cpp.

References Isis::ControlPoint::Constrained, Isis::ControlPoint::Fixed, and Isis::ControlPoint::Free.

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_constrained

QCheckBox* Isis::QnetPointTypeFilter::m_constrained
private

Definition at line 49 of file QnetPointTypeFilter.h.

◆ m_editLocked

QRadioButton* Isis::QnetPointTypeFilter::m_editLocked
private

Definition at line 57 of file QnetPointTypeFilter.h.

◆ m_editLockStatus

QGroupBox* Isis::QnetPointTypeFilter::m_editLockStatus
private

Definition at line 56 of file QnetPointTypeFilter.h.

◆ m_fixed

QCheckBox* Isis::QnetPointTypeFilter::m_fixed
private

Definition at line 50 of file QnetPointTypeFilter.h.

◆ m_free

QCheckBox* Isis::QnetPointTypeFilter::m_free
private

Definition at line 48 of file QnetPointTypeFilter.h.

◆ m_ignored

QRadioButton* Isis::QnetPointTypeFilter::m_ignored
private

Definition at line 53 of file QnetPointTypeFilter.h.

◆ m_ignoreStatus

QGroupBox* Isis::QnetPointTypeFilter::m_ignoreStatus
private

Definition at line 52 of file QnetPointTypeFilter.h.

◆ m_navTool

QnetNavTool* Isis::QnetFilter::m_navTool
privateinherited

Definition at line 41 of file QnetFilter.h.

◆ m_notEditLocked

QRadioButton* Isis::QnetPointTypeFilter::m_notEditLocked
private

Definition at line 58 of file QnetPointTypeFilter.h.

◆ m_notIgnored

QRadioButton* Isis::QnetPointTypeFilter::m_notIgnored
private

Definition at line 54 of file QnetPointTypeFilter.h.

◆ m_pointType

QGroupBox* Isis::QnetPointTypeFilter::m_pointType
private

Definition at line 47 of file QnetPointTypeFilter.h.


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