Isis Developer Reference
LineFilter.h
Go to the documentation of this file.
1 #ifndef LineFilter_H
2 #define LineFilter_H
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include "AbstractNumberFilter.h"
13 
14 template< typename U, typename V > struct QPair;
15 class QString;
16 
17 namespace Isis {
18  class ControlMeasure;
19  class ControlNet;
20  class ControlPoint;
21 
40  Q_OBJECT
41 
42  public:
43  LineFilter(AbstractFilter::FilterEffectivenessFlag flag,
44  int minimumForSuccess = -1);
45  LineFilter(const LineFilter &other);
46  virtual ~LineFilter();
47 
48  bool evaluate(const QPair<QString, ControlNet *> *) const;
49  bool evaluate(const ControlPoint *) const;
50  bool evaluate(const ControlMeasure *) const;
51 
52  AbstractFilter *clone() const;
53 
54  QString getImageDescription() const;
55  QString getPointDescription() const;
56  QString getMeasureDescription() const;
57  };
58 }
59 
60 #endif
Isis::AbstractFilter::getImageDescription
virtual QString getImageDescription() const
Definition: AbstractFilter.cpp:98
Isis::LineFilter::getMeasureDescription
QString getMeasureDescription() const
Definition: LineFilter.cpp:75
Isis::LineFilter::getImageDescription
QString getImageDescription() const
Definition: LineFilter.cpp:56
Isis::LineFilter::evaluate
bool evaluate(const QPair< QString, ControlNet * > *) const
Definition: LineFilter.cpp:36
AbstractNumberFilter.h
Isis::AbstractNumberFilter::evaluate
bool evaluate(double) const
Definition: AbstractNumberFilter.cpp:107
Isis::LineFilter
Allows filtering by a control measure's line.
Definition: LineFilter.h:39
Isis::LineFilter::~LineFilter
virtual ~LineFilter()
Definition: LineFilter.cpp:32
Isis::AbstractFilter
Base class for control net filters.
Definition: AbstractFilter.h:46
Isis::AbstractFilter::evaluatePointFromMeasureFilter
bool evaluatePointFromMeasureFilter(const ControlPoint *) const
Definition: AbstractFilter.cpp:321
Isis::AbstractNumberFilter::descriptionSuffix
QString descriptionSuffix() const
Definition: AbstractNumberFilter.cpp:123
Isis::ControlPoint
A single control point.
Definition: ControlPoint.h:354
ControlNet.h
LineFilter.h
ControlPoint.h
Isis::LineFilter::LineFilter
LineFilter(AbstractFilter::FilterEffectivenessFlag flag, int minimumForSuccess=-1)
Definition: LineFilter.cpp:22
Isis::AbstractFilter::getMinForSuccess
int getMinForSuccess() const
Definition: AbstractFilter.h:84
Isis::LineFilter::getPointDescription
QString getPointDescription() const
Definition: LineFilter.cpp:70
Isis::AbstractNumberFilter
Base class for filters that are number-based.
Definition: AbstractNumberFilter.h:38
QPair
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:23
Isis::ControlMeasure::GetLine
double GetLine() const
Definition: ControlMeasure.cpp:690
Isis::LineFilter::clone
AbstractFilter * clone() const
Definition: LineFilter.cpp:51
IsisDebug.h
Isis::AbstractFilter::evaluateImageFromMeasureFilter
bool evaluateImageFromMeasureFilter(const QPair< QString, ControlNet * > *) const
Definition: AbstractFilter.cpp:308
ControlMeasure.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::ControlMeasure
a control measurement
Definition: ControlMeasure.h:175