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