Isis 3.0 Object Programmers' Reference |
Home |
Filter for control point type. More...
#include <QnetPointTypeFilter.h>
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 |
ControlNet * | controlNet () |
const ControlNet * | controlNet () const |
SerialNumberList * | serialNumberList () |
const SerialNumberList * | serialNumberList () const |
Private Member Functions | |
bool | PointTypeMatched (int pointType) |
Returns whether the point type passed in matches a type selected by the user. | |
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.
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.
Isis::QnetPointTypeFilter::QnetPointTypeFilter | ( | QnetNavTool * | navTool, |
QWidget * | parent = 0 |
||
) |
Contructor for the Point Type filter.
It creates the Type filter window found in the navtool
parent | The parent widget for the point type filter |
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.
|
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.
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().
|
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.
pointType | ControlPoint type to compare with user selection. |
Definition at line 213 of file QnetPointTypeFilter.cpp.
References Isis::ControlPoint::Constrained, Isis::ControlPoint::Fixed, and Isis::ControlPoint::Free.
Referenced by filter().