Isis Developer Reference
|
Base class for control net filters. More...
#include <AbstractFilter.h>
Public Types | |
enum | FilterEffectiveness { Images = 1 , Points = 2 , Measures = 4 } |
Signals | |
void | filterChanged () |
Public Member Functions | |
AbstractFilter (FilterEffectivenessFlag, int minimumForSuccess=-1) | |
AbstractFilter (const AbstractFilter &other) | |
virtual | ~AbstractFilter () |
virtual bool | canFilterImages () const |
virtual bool | canFilterPoints () const |
virtual bool | canFilterMeasures () const |
virtual bool | evaluate (const QPair< QString, ControlNet * > *) const =0 |
virtual bool | evaluate (const ControlPoint *) const =0 |
virtual bool | evaluate (const ControlMeasure *) const =0 |
virtual AbstractFilter * | clone () const =0 |
virtual QString | getImageDescription () const |
virtual QString | getPointDescription () const |
virtual QString | getMeasureDescription () const |
Protected Member Functions | |
bool | inclusive () const |
int | getMinForSuccess () const |
AbstractFilter::FilterEffectivenessFlag * | getEffectivenessFlags () const |
QBoxLayout * | getMainLayout () const |
QBoxLayout * | getInclusiveExclusiveLayout () const |
bool | evaluateImageFromPointFilter (const QPair< QString, ControlNet * > *) const |
bool | evaluateImageFromMeasureFilter (const QPair< QString, ControlNet * > *) const |
bool | evaluatePointFromMeasureFilter (const ControlPoint *) const |
virtual bool | evaluate (const ControlPoint *, bool(ControlPoint::*)() const) const |
virtual bool | evaluate (const ControlMeasure *, bool(ControlMeasure::*)() const) const |
Base class for control net filters.
This class is the base class that all other filters derive from. It encompasses both the widget and the filter functionality itself. See the cneteditor architecture document for further information about the filtering system.
Isis::AbstractFilter::AbstractFilter | ( | FilterEffectivenessFlag | effectiveness, |
int | minimumForSuccess = -1 ) |
Isis::AbstractFilter::AbstractFilter | ( | const AbstractFilter & | other | ) |
|
virtual |
|
virtual |
References Images.
Referenced by Isis::FilterWidget::evaluate(), evaluateImageFromMeasureFilter(), and evaluateImageFromPointFilter().
|
virtual |
References Measures.
Referenced by Isis::FilterWidget::evaluate().
|
virtual |
References Points.
Referenced by Isis::FilterWidget::evaluate(), and evaluatePointFromMeasureFilter().
|
pure virtual |
Implemented in Isis::AdjustedLatitudeFilter, Isis::AdjustedLatitudeSigmaFilter, Isis::AdjustedLongitudeFilter, Isis::AdjustedLongitudeSigmaFilter, Isis::AdjustedRadiusFilter, Isis::AdjustedRadiusSigmaFilter, Isis::AdjustedXFilter, Isis::AdjustedXSigmaFilter, Isis::AdjustedYFilter, Isis::AdjustedYSigmaFilter, Isis::AdjustedZFilter, Isis::AdjustedZSigmaFilter, Isis::APrioriLatitudeFilter, Isis::APrioriLatitudeSigmaFilter, Isis::APrioriLongitudeFilter, Isis::APrioriLongitudeSigmaFilter, Isis::APrioriRadiusFilter, Isis::APrioriRadiusSigmaFilter, Isis::APrioriXFilter, Isis::APrioriXSigmaFilter, Isis::APrioriYFilter, Isis::APrioriYSigmaFilter, Isis::APrioriZFilter, Isis::APrioriZSigmaFilter, Isis::ChooserNameFilter, Isis::GoodnessOfFitFilter, Isis::ImageIdFilter, Isis::LineFilter, Isis::LineResidualFilter, Isis::LineShiftFilter, Isis::MeasureCountFilter, Isis::MeasureIgnoredFilter, Isis::MeasureJigsawRejectedFilter, Isis::MeasureTypeFilter, Isis::PointEditLockedFilter, Isis::PointIdFilter, Isis::PointIgnoredFilter, Isis::PointJigsawRejectedFilter, Isis::PointTypeFilter, Isis::ResidualMagnitudeFilter, Isis::SampleFilter, Isis::SampleResidualFilter, and Isis::SampleShiftFilter.
|
pure virtual |
Implemented in Isis::AdjustedLatitudeFilter, Isis::AdjustedLatitudeSigmaFilter, Isis::AdjustedLongitudeFilter, Isis::AdjustedLongitudeSigmaFilter, Isis::AdjustedRadiusFilter, Isis::AdjustedRadiusSigmaFilter, Isis::AdjustedXFilter, Isis::AdjustedXSigmaFilter, Isis::AdjustedYFilter, Isis::AdjustedYSigmaFilter, Isis::AdjustedZFilter, Isis::AdjustedZSigmaFilter, Isis::APrioriLatitudeFilter, Isis::APrioriLatitudeSigmaFilter, Isis::APrioriLongitudeFilter, Isis::APrioriLongitudeSigmaFilter, Isis::APrioriRadiusFilter, Isis::APrioriRadiusSigmaFilter, Isis::APrioriXFilter, Isis::APrioriXSigmaFilter, Isis::APrioriYFilter, Isis::APrioriYSigmaFilter, Isis::APrioriZFilter, Isis::APrioriZSigmaFilter, Isis::ChooserNameFilter, Isis::GoodnessOfFitFilter, Isis::ImageIdFilter, Isis::LineFilter, Isis::LineResidualFilter, Isis::LineShiftFilter, Isis::MeasureCountFilter, Isis::MeasureIgnoredFilter, Isis::MeasureJigsawRejectedFilter, Isis::MeasureTypeFilter, Isis::PointEditLockedFilter, Isis::PointIdFilter, Isis::PointIgnoredFilter, Isis::PointJigsawRejectedFilter, Isis::PointTypeFilter, Isis::ResidualMagnitudeFilter, Isis::SampleFilter, Isis::SampleResidualFilter, and Isis::SampleShiftFilter.
|
protectedvirtual |
|
pure virtual |
Implemented in Isis::AdjustedLatitudeFilter, Isis::AdjustedLatitudeSigmaFilter, Isis::AdjustedLongitudeFilter, Isis::AdjustedLongitudeSigmaFilter, Isis::AdjustedRadiusFilter, Isis::AdjustedRadiusSigmaFilter, Isis::AdjustedXFilter, Isis::AdjustedXSigmaFilter, Isis::AdjustedYFilter, Isis::AdjustedYSigmaFilter, Isis::AdjustedZFilter, Isis::AdjustedZSigmaFilter, Isis::APrioriLatitudeFilter, Isis::APrioriLatitudeSigmaFilter, Isis::APrioriLongitudeFilter, Isis::APrioriLongitudeSigmaFilter, Isis::APrioriRadiusFilter, Isis::APrioriRadiusSigmaFilter, Isis::APrioriXFilter, Isis::APrioriXSigmaFilter, Isis::APrioriYFilter, Isis::APrioriYSigmaFilter, Isis::APrioriZFilter, Isis::APrioriZSigmaFilter, Isis::ChooserNameFilter, Isis::GoodnessOfFitFilter, Isis::ImageIdFilter, Isis::LineFilter, Isis::LineResidualFilter, Isis::LineShiftFilter, Isis::MeasureCountFilter, Isis::MeasureIgnoredFilter, Isis::MeasureJigsawRejectedFilter, Isis::MeasureTypeFilter, Isis::PointEditLockedFilter, Isis::PointIdFilter, Isis::PointIgnoredFilter, Isis::PointJigsawRejectedFilter, Isis::PointTypeFilter, Isis::ResidualMagnitudeFilter, Isis::SampleFilter, Isis::SampleResidualFilter, and Isis::SampleShiftFilter.
|
protectedvirtual |
|
pure virtual |
Implemented in Isis::AdjustedLatitudeFilter, Isis::AdjustedLatitudeSigmaFilter, Isis::AdjustedLongitudeFilter, Isis::AdjustedLongitudeSigmaFilter, Isis::AdjustedRadiusFilter, Isis::AdjustedRadiusSigmaFilter, Isis::AdjustedXFilter, Isis::AdjustedXSigmaFilter, Isis::AdjustedYFilter, Isis::AdjustedYSigmaFilter, Isis::AdjustedZFilter, Isis::AdjustedZSigmaFilter, Isis::APrioriLatitudeFilter, Isis::APrioriLatitudeSigmaFilter, Isis::APrioriLongitudeFilter, Isis::APrioriLongitudeSigmaFilter, Isis::APrioriRadiusFilter, Isis::APrioriRadiusSigmaFilter, Isis::APrioriXFilter, Isis::APrioriXSigmaFilter, Isis::APrioriYFilter, Isis::APrioriYSigmaFilter, Isis::APrioriZFilter, Isis::APrioriZSigmaFilter, Isis::ChooserNameFilter, Isis::GoodnessOfFitFilter, Isis::ImageIdFilter, Isis::LineFilter, Isis::LineResidualFilter, Isis::LineShiftFilter, Isis::MeasureCountFilter, Isis::MeasureIgnoredFilter, Isis::MeasureJigsawRejectedFilter, Isis::MeasureTypeFilter, Isis::PointEditLockedFilter, Isis::PointIdFilter, Isis::PointIgnoredFilter, Isis::PointJigsawRejectedFilter, Isis::PointTypeFilter, Isis::ResidualMagnitudeFilter, Isis::SampleFilter, Isis::SampleResidualFilter, and Isis::SampleShiftFilter.
Referenced by Isis::MeasureIgnoredFilter::evaluate(), Isis::MeasureJigsawRejectedFilter::evaluate(), Isis::PointEditLockedFilter::evaluate(), Isis::PointIgnoredFilter::evaluate(), Isis::PointJigsawRejectedFilter::evaluate(), and Isis::AbstractFilterSelector::evaluate().
|
protected |
References canFilterImages().
Referenced by Isis::GoodnessOfFitFilter::evaluate(), Isis::LineFilter::evaluate(), Isis::LineResidualFilter::evaluate(), Isis::LineShiftFilter::evaluate(), Isis::MeasureIgnoredFilter::evaluate(), Isis::MeasureJigsawRejectedFilter::evaluate(), Isis::MeasureTypeFilter::evaluate(), Isis::ResidualMagnitudeFilter::evaluate(), Isis::SampleFilter::evaluate(), Isis::SampleResidualFilter::evaluate(), and Isis::SampleShiftFilter::evaluate().
|
protected |
References canFilterImages().
Referenced by Isis::AdjustedLatitudeFilter::evaluate(), Isis::AdjustedLatitudeSigmaFilter::evaluate(), Isis::AdjustedLongitudeFilter::evaluate(), Isis::AdjustedLongitudeSigmaFilter::evaluate(), Isis::AdjustedRadiusFilter::evaluate(), Isis::AdjustedRadiusSigmaFilter::evaluate(), Isis::AdjustedXFilter::evaluate(), Isis::AdjustedXSigmaFilter::evaluate(), Isis::AdjustedYFilter::evaluate(), Isis::AdjustedYSigmaFilter::evaluate(), Isis::AdjustedZFilter::evaluate(), Isis::AdjustedZSigmaFilter::evaluate(), Isis::APrioriLatitudeFilter::evaluate(), Isis::APrioriLatitudeSigmaFilter::evaluate(), Isis::APrioriLongitudeFilter::evaluate(), Isis::APrioriLongitudeSigmaFilter::evaluate(), Isis::APrioriRadiusFilter::evaluate(), Isis::APrioriRadiusSigmaFilter::evaluate(), Isis::APrioriXFilter::evaluate(), Isis::APrioriXSigmaFilter::evaluate(), Isis::APrioriYFilter::evaluate(), Isis::APrioriYSigmaFilter::evaluate(), Isis::APrioriZFilter::evaluate(), Isis::APrioriZSigmaFilter::evaluate(), Isis::ChooserNameFilter::evaluate(), Isis::MeasureCountFilter::evaluate(), Isis::PointEditLockedFilter::evaluate(), Isis::PointIdFilter::evaluate(), Isis::PointIgnoredFilter::evaluate(), Isis::PointJigsawRejectedFilter::evaluate(), and Isis::PointTypeFilter::evaluate().
|
protected |
References canFilterPoints(), and Isis::ControlPoint::getMeasures().
Referenced by Isis::GoodnessOfFitFilter::evaluate(), Isis::ImageIdFilter::evaluate(), Isis::LineFilter::evaluate(), Isis::LineResidualFilter::evaluate(), Isis::LineShiftFilter::evaluate(), Isis::MeasureIgnoredFilter::evaluate(), Isis::MeasureJigsawRejectedFilter::evaluate(), Isis::MeasureTypeFilter::evaluate(), Isis::ResidualMagnitudeFilter::evaluate(), Isis::SampleFilter::evaluate(), Isis::SampleResidualFilter::evaluate(), and Isis::SampleShiftFilter::evaluate().
|
signal |
|
protected |
|
virtual |
Reimplemented in Isis::AdjustedLatitudeFilter, Isis::AdjustedLatitudeSigmaFilter, Isis::AdjustedLongitudeFilter, Isis::AdjustedLongitudeSigmaFilter, Isis::AdjustedRadiusFilter, Isis::AdjustedRadiusSigmaFilter, Isis::AdjustedXFilter, Isis::AdjustedXSigmaFilter, Isis::AdjustedYFilter, Isis::AdjustedYSigmaFilter, Isis::AdjustedZFilter, Isis::AdjustedZSigmaFilter, Isis::APrioriLatitudeFilter, Isis::APrioriLatitudeSigmaFilter, Isis::APrioriLongitudeFilter, Isis::APrioriLongitudeSigmaFilter, Isis::APrioriRadiusFilter, Isis::APrioriRadiusSigmaFilter, Isis::APrioriXFilter, Isis::APrioriXSigmaFilter, Isis::APrioriYFilter, Isis::APrioriYSigmaFilter, Isis::APrioriZFilter, Isis::APrioriZSigmaFilter, Isis::ChooserNameFilter, Isis::GoodnessOfFitFilter, Isis::ImageIdFilter, Isis::LineFilter, Isis::LineResidualFilter, Isis::LineShiftFilter, Isis::MeasureCountFilter, Isis::MeasureIgnoredFilter, Isis::MeasureJigsawRejectedFilter, Isis::MeasureTypeFilter, Isis::PointEditLockedFilter, Isis::PointIdFilter, Isis::PointIgnoredFilter, Isis::PointJigsawRejectedFilter, Isis::PointTypeFilter, Isis::ResidualMagnitudeFilter, Isis::SampleFilter, Isis::SampleResidualFilter, and Isis::SampleShiftFilter.
References getMinForSuccess().
Referenced by Isis::AdjustedLatitudeFilter::getImageDescription(), Isis::AdjustedLatitudeSigmaFilter::getImageDescription(), Isis::AdjustedLongitudeFilter::getImageDescription(), Isis::AdjustedLongitudeSigmaFilter::getImageDescription(), Isis::AdjustedRadiusFilter::getImageDescription(), Isis::AdjustedRadiusSigmaFilter::getImageDescription(), Isis::AdjustedXFilter::getImageDescription(), Isis::AdjustedXSigmaFilter::getImageDescription(), Isis::AdjustedYFilter::getImageDescription(), Isis::AdjustedYSigmaFilter::getImageDescription(), Isis::AdjustedZFilter::getImageDescription(), Isis::AdjustedZSigmaFilter::getImageDescription(), Isis::APrioriLatitudeFilter::getImageDescription(), Isis::APrioriLatitudeSigmaFilter::getImageDescription(), Isis::APrioriLongitudeFilter::getImageDescription(), Isis::APrioriLongitudeSigmaFilter::getImageDescription(), Isis::APrioriRadiusFilter::getImageDescription(), Isis::APrioriRadiusSigmaFilter::getImageDescription(), Isis::APrioriXFilter::getImageDescription(), Isis::APrioriXSigmaFilter::getImageDescription(), Isis::APrioriYFilter::getImageDescription(), Isis::APrioriYSigmaFilter::getImageDescription(), Isis::APrioriZFilter::getImageDescription(), Isis::APrioriZSigmaFilter::getImageDescription(), Isis::ChooserNameFilter::getImageDescription(), Isis::GoodnessOfFitFilter::getImageDescription(), Isis::LineFilter::getImageDescription(), Isis::LineResidualFilter::getImageDescription(), Isis::LineShiftFilter::getImageDescription(), Isis::MeasureCountFilter::getImageDescription(), Isis::MeasureIgnoredFilter::getImageDescription(), Isis::MeasureJigsawRejectedFilter::getImageDescription(), Isis::MeasureTypeFilter::getImageDescription(), Isis::PointEditLockedFilter::getImageDescription(), Isis::PointIdFilter::getImageDescription(), Isis::PointIgnoredFilter::getImageDescription(), Isis::PointJigsawRejectedFilter::getImageDescription(), Isis::PointTypeFilter::getImageDescription(), Isis::ResidualMagnitudeFilter::getImageDescription(), Isis::SampleFilter::getImageDescription(), Isis::SampleResidualFilter::getImageDescription(), Isis::SampleShiftFilter::getImageDescription(), and Isis::ImageIdFilter::getPointDescription().
|
protected |
|
protected |
Referenced by Isis::AbstractMultipleChoiceFilter::createWidget().
|
virtual |
Reimplemented in Isis::GoodnessOfFitFilter, Isis::ImageIdFilter, Isis::LineFilter, Isis::LineResidualFilter, Isis::LineShiftFilter, Isis::MeasureIgnoredFilter, Isis::MeasureJigsawRejectedFilter, Isis::MeasureTypeFilter, Isis::ResidualMagnitudeFilter, Isis::SampleFilter, Isis::SampleResidualFilter, and Isis::SampleShiftFilter.
|
inlineprotected |
Referenced by getImageDescription(), Isis::AdjustedLatitudeFilter::getImageDescription(), Isis::AdjustedLatitudeSigmaFilter::getImageDescription(), Isis::AdjustedLongitudeFilter::getImageDescription(), Isis::AdjustedLongitudeSigmaFilter::getImageDescription(), Isis::AdjustedRadiusFilter::getImageDescription(), Isis::AdjustedRadiusSigmaFilter::getImageDescription(), Isis::AdjustedXFilter::getImageDescription(), Isis::AdjustedXSigmaFilter::getImageDescription(), Isis::AdjustedYFilter::getImageDescription(), Isis::AdjustedYSigmaFilter::getImageDescription(), Isis::AdjustedZFilter::getImageDescription(), Isis::AdjustedZSigmaFilter::getImageDescription(), Isis::APrioriLatitudeFilter::getImageDescription(), Isis::APrioriLatitudeSigmaFilter::getImageDescription(), Isis::APrioriLongitudeFilter::getImageDescription(), Isis::APrioriLongitudeSigmaFilter::getImageDescription(), Isis::APrioriRadiusFilter::getImageDescription(), Isis::APrioriRadiusSigmaFilter::getImageDescription(), Isis::APrioriXFilter::getImageDescription(), Isis::APrioriXSigmaFilter::getImageDescription(), Isis::APrioriYFilter::getImageDescription(), Isis::APrioriYSigmaFilter::getImageDescription(), Isis::APrioriZFilter::getImageDescription(), Isis::APrioriZSigmaFilter::getImageDescription(), Isis::ChooserNameFilter::getImageDescription(), Isis::GoodnessOfFitFilter::getImageDescription(), Isis::LineFilter::getImageDescription(), Isis::LineResidualFilter::getImageDescription(), Isis::LineShiftFilter::getImageDescription(), Isis::MeasureCountFilter::getImageDescription(), Isis::MeasureIgnoredFilter::getImageDescription(), Isis::MeasureJigsawRejectedFilter::getImageDescription(), Isis::MeasureTypeFilter::getImageDescription(), Isis::PointEditLockedFilter::getImageDescription(), Isis::PointIdFilter::getImageDescription(), Isis::PointIgnoredFilter::getImageDescription(), Isis::PointJigsawRejectedFilter::getImageDescription(), Isis::PointTypeFilter::getImageDescription(), Isis::ResidualMagnitudeFilter::getImageDescription(), Isis::SampleFilter::getImageDescription(), Isis::SampleResidualFilter::getImageDescription(), Isis::SampleShiftFilter::getImageDescription(), and Isis::ImageIdFilter::getPointDescription().
|
virtual |
Reimplemented in Isis::AdjustedLatitudeFilter, Isis::AdjustedLatitudeSigmaFilter, Isis::AdjustedLongitudeFilter, Isis::AdjustedLongitudeSigmaFilter, Isis::AdjustedRadiusFilter, Isis::AdjustedRadiusSigmaFilter, Isis::AdjustedXFilter, Isis::AdjustedXSigmaFilter, Isis::AdjustedYFilter, Isis::AdjustedYSigmaFilter, Isis::AdjustedZFilter, Isis::AdjustedZSigmaFilter, Isis::APrioriLatitudeFilter, Isis::APrioriLatitudeSigmaFilter, Isis::APrioriLongitudeFilter, Isis::APrioriLongitudeSigmaFilter, Isis::APrioriRadiusFilter, Isis::APrioriRadiusSigmaFilter, Isis::APrioriXFilter, Isis::APrioriXSigmaFilter, Isis::APrioriYFilter, Isis::APrioriYSigmaFilter, Isis::APrioriZFilter, Isis::APrioriZSigmaFilter, Isis::ChooserNameFilter, Isis::GoodnessOfFitFilter, Isis::ImageIdFilter, Isis::LineFilter, Isis::LineResidualFilter, Isis::LineShiftFilter, Isis::MeasureCountFilter, Isis::MeasureIgnoredFilter, Isis::MeasureJigsawRejectedFilter, Isis::MeasureTypeFilter, Isis::PointEditLockedFilter, Isis::PointIdFilter, Isis::PointIgnoredFilter, Isis::PointJigsawRejectedFilter, Isis::PointTypeFilter, Isis::ResidualMagnitudeFilter, Isis::SampleFilter, Isis::SampleResidualFilter, and Isis::SampleShiftFilter.
|
protected |
Referenced by Isis::AbstractNumberFilter::descriptionSuffix(), Isis::AbstractStringFilter::descriptionSuffix(), Isis::MeasureTypeFilter::evaluate(), Isis::PointTypeFilter::evaluate(), Isis::AbstractNumberFilter::evaluate(), Isis::AbstractStringFilter::evaluate(), Isis::MeasureCountFilter::getImageDescription(), Isis::MeasureIgnoredFilter::getImageDescription(), Isis::MeasureJigsawRejectedFilter::getImageDescription(), Isis::MeasureTypeFilter::getImageDescription(), Isis::PointEditLockedFilter::getImageDescription(), Isis::PointIgnoredFilter::getImageDescription(), Isis::PointJigsawRejectedFilter::getImageDescription(), Isis::PointTypeFilter::getImageDescription(), Isis::MeasureIgnoredFilter::getMeasureDescription(), Isis::MeasureJigsawRejectedFilter::getMeasureDescription(), Isis::MeasureTypeFilter::getMeasureDescription(), Isis::MeasureCountFilter::getPointDescription(), Isis::PointEditLockedFilter::getPointDescription(), Isis::PointIgnoredFilter::getPointDescription(), Isis::PointJigsawRejectedFilter::getPointDescription(), and Isis::PointTypeFilter::getPointDescription().