USGS

Isis 3.0 Object Programmers' Reference

Home

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
 

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

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 28 of file QnetPointTypeFilter.cpp.

Member Function Documentation

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 125 of file QnetPointTypeFilter.cpp.

References Isis::ControlPoint::GetType(), and PointTypeMatched().

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

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 213 of file QnetPointTypeFilter.cpp.

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

Referenced by filter().


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