Isis Developer Reference
Isis::AbstractFilter Class Referenceabstract

Base class for control net filters. More...

#include <AbstractFilter.h>

Inheritance diagram for Isis::AbstractFilter:
Inheritance graph
Collaboration diagram for Isis::AbstractFilter:
Collaboration graph

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

Detailed Description

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.

Author
????-??-?? Eric Hyer

Member Enumeration Documentation

◆ FilterEffectiveness

Enumerator
Images 
Points 
Measures 

Constructor & Destructor Documentation

◆ AbstractFilter() [1/2]

Isis::AbstractFilter::AbstractFilter ( FilterEffectivenessFlag effectiveness,
int minimumForSuccess = -1 )

◆ AbstractFilter() [2/2]

Isis::AbstractFilter::AbstractFilter ( const AbstractFilter & other)

◆ ~AbstractFilter()

Isis::AbstractFilter::~AbstractFilter ( )
virtual

Member Function Documentation

◆ canFilterImages()

bool Isis::AbstractFilter::canFilterImages ( ) const
virtual

◆ canFilterMeasures()

bool Isis::AbstractFilter::canFilterMeasures ( ) const
virtual

References Measures.

Referenced by Isis::FilterWidget::evaluate().

◆ canFilterPoints()

bool Isis::AbstractFilter::canFilterPoints ( ) const
virtual

◆ clone()

◆ evaluate() [1/5]

◆ evaluate() [2/5]

bool Isis::AbstractFilter::evaluate ( const ControlMeasure * measure,
bool(ControlMeasure::*)() const meth ) const
protectedvirtual

◆ evaluate() [3/5]

◆ evaluate() [4/5]

bool Isis::AbstractFilter::evaluate ( const ControlPoint * point,
bool(ControlPoint::*)() const meth ) const
protectedvirtual

◆ evaluate() [5/5]

virtual bool Isis::AbstractFilter::evaluate ( const QPair< QString, ControlNet * > * ) const
pure virtual

◆ evaluateImageFromMeasureFilter()

◆ evaluateImageFromPointFilter()

◆ evaluatePointFromMeasureFilter()

◆ filterChanged

void Isis::AbstractFilter::filterChanged ( )
signal

◆ getEffectivenessFlags()

AbstractFilter::FilterEffectivenessFlag * Isis::AbstractFilter::getEffectivenessFlags ( ) const
protected

◆ getImageDescription()

QString Isis::AbstractFilter::getImageDescription ( ) const
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().

◆ getInclusiveExclusiveLayout()

QBoxLayout * Isis::AbstractFilter::getInclusiveExclusiveLayout ( ) const
protected

◆ getMainLayout()

QBoxLayout * Isis::AbstractFilter::getMainLayout ( ) const
protected

◆ getMeasureDescription()

◆ getMinForSuccess()

int Isis::AbstractFilter::getMinForSuccess ( ) const
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().

◆ getPointDescription()

◆ inclusive()


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