1 #ifndef AbstractFilter_H 2 #define AbstractFilter_H 9 template<
typename U,
typename V >
struct QPair;
15 class AbstractFilterSelector;
42 enum FilterEffectiveness {
47 Q_DECLARE_FLAGS(FilterEffectivenessFlag, FilterEffectiveness)
51 AbstractFilter(FilterEffectivenessFlag,
int minimumForSuccess = -1);
55 virtual bool canFilterImages()
const;
56 virtual bool canFilterPoints()
const;
57 virtual bool canFilterMeasures()
const;
65 virtual QString getImageDescription()
const;
66 virtual QString getPointDescription()
const;
67 virtual QString getMeasureDescription()
const;
75 bool inclusive()
const;
76 int getMinForSuccess()
const {
77 return m_minForSuccess;
79 AbstractFilter::FilterEffectivenessFlag *getEffectivenessFlags()
const;
80 QBoxLayout *getMainLayout()
const;
81 QBoxLayout *getInclusiveExclusiveLayout()
const;
85 bool evaluatePointFromMeasureFilter(
const ControlPoint *)
const;
100 void updateEffectiveness();
101 void updateMinForSuccess(
int);
105 QCheckBox *createEffectivenessCheckBox(QString);
109 QBoxLayout *m_mainLayout;
110 QBoxLayout *m_inclusiveExclusiveLayout;
111 QButtonGroup *m_inclusiveExclusiveGroup;
112 QButtonGroup *m_effectivenessGroup;
118 FilterEffectivenessFlag *m_effectivenessFlags;
122 Q_DECLARE_OPERATORS_FOR_FLAGS(AbstractFilter::FilterEffectivenessFlag)
Namespace for ISIS/Bullet specific routines.
Base class for control net filters.