Isis Developer Reference
SampleFilter.h
Go to the documentation of this file.
1 #ifndef SampleFilter_H
2 #define SampleFilter_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  SampleFilter(AbstractFilter::FilterEffectivenessFlag flag,
44  int minimumForSuccess = -1);
45  SampleFilter(const SampleFilter &other);
46  virtual ~SampleFilter();
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::SampleFilter::clone
AbstractFilter * clone() const
Definition: SampleFilter.cpp:51
SampleFilter.h
AbstractNumberFilter.h
Isis::AbstractNumberFilter::evaluate
bool evaluate(double) const
Definition: AbstractNumberFilter.cpp:107
Isis::SampleFilter::getImageDescription
QString getImageDescription() const
Definition: SampleFilter.cpp:56
Isis::SampleFilter::evaluate
bool evaluate(const QPair< QString, ControlNet * > *) const
Definition: SampleFilter.cpp:36
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
Isis::SampleFilter::getMeasureDescription
QString getMeasureDescription() const
Definition: SampleFilter.cpp:75
ControlNet.h
Isis::SampleFilter::~SampleFilter
virtual ~SampleFilter()
Definition: SampleFilter.cpp:32
Isis::SampleFilter::SampleFilter
SampleFilter(AbstractFilter::FilterEffectivenessFlag flag, int minimumForSuccess=-1)
Definition: SampleFilter.cpp:22
Isis::ControlMeasure::GetSample
double GetSample() const
Definition: ControlMeasure.cpp:723
ControlPoint.h
Isis::AbstractFilter::getMinForSuccess
int getMinForSuccess() const
Definition: AbstractFilter.h:84
Isis::SampleFilter
Allows filtering by a control measure's sample.
Definition: SampleFilter.h:39
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
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::SampleFilter::getPointDescription
QString getPointDescription() const
Definition: SampleFilter.cpp:70
Isis::ControlMeasure
a control measurement
Definition: ControlMeasure.h:175