QXRD
0.11.16
|
#include <qxrdfitter.h>
Public Types | |
enum | FitResult { Successful, NoResult, OutsideData, BadWidth, BadPosition, BadHeight, LastReason } |
Public Member Functions | |
QxrdFitter (QxrdCenterFinder *cf) | |
QxrdFitter () | |
virtual int | fit ()=0 |
QxrdCenterFinder * | cf () const |
FitResult | reason () const |
QString | reasonString () const |
Static Public Member Functions | |
static QString | reasonString (FitResult i) |
Protected Attributes | |
QxrdCenterFinder * | m_CenterFinder |
FitResult | m_Reason |
Definition at line 6 of file qxrdfitter.h.
Enumerator | |
---|---|
Successful | |
NoResult | |
OutsideData | |
BadWidth | |
BadPosition | |
BadHeight | |
LastReason |
Definition at line 12 of file qxrdfitter.h.
QxrdFitter::QxrdFitter | ( | QxrdCenterFinder * | cf | ) |
Definition at line 3 of file qxrdfitter.cpp.
QxrdFitter::QxrdFitter | ( | ) |
Definition at line 9 of file qxrdfitter.cpp.
|
inline |
|
pure virtual |
Implemented in QxrdFitterPeakPoint, QxrdFitterRingCircle, QxrdFitterRingEllipse, and QxrdFitterRingPoint.
|
inline |
Definition at line 25 of file qxrdfitter.h.
References m_Reason.
Referenced by QxrdCenterFinder::fitPeakNear(), QxrdCenterFinder::fitPowderCircle(), QxrdCenterFinder::fitPowderEllipse(), QxrdCenterFinder::fitPowderEllipses(), QxrdCenterFinder::fitRingNear(), and QxrdCenterFinder::traceRingNear().
QString QxrdFitter::reasonString | ( | ) | const |
Definition at line 15 of file qxrdfitter.cpp.
References m_Reason.
Referenced by QxrdCenterFinder::fitPowderCircle(), QxrdCenterFinder::fitPowderEllipse(), QxrdCenterFinder::fitPowderEllipses(), and QxrdCenterFinder::traceRingNear().
|
static |
Definition at line 20 of file qxrdfitter.cpp.
References BadHeight, BadPosition, BadWidth, NoResult, OutsideData, and Successful.
|
protected |
Definition at line 31 of file qxrdfitter.h.
Referenced by cf(), QxrdFitterPeakPoint::evaluate(), QxrdFitterRingPoint::evaluate(), QxrdFitterRingCircle::evaluate(), QxrdFitterRingEllipse::evaluate(), QxrdFitterRingCircle::fit(), QxrdFitterPeakPoint::fit(), QxrdFitterRingPoint::fit(), QxrdFitterRingEllipse::fit(), QxrdFitterPeakOrRing::fittedAz(), and QxrdFitterPeakOrRing::fittedR().
|
protected |
Definition at line 32 of file qxrdfitter.h.
Referenced by QxrdFitterPeakPoint::fit(), QxrdFitterRingCircle::fit(), QxrdFitterRingEllipse::fit(), QxrdFitterRingPoint::fit(), reason(), and reasonString().