QXRD
0.11.16
|
#include <qxrdpowderpoint.h>
Public Member Functions | |
QxrdPowderPoint (int n1, int n2, int n3, double x, double y, double r1, double r2, double az) | |
QxrdPowderPoint (const QxrdPowderPoint &pt) | |
QxrdPowderPoint () | |
int | n1 () const |
int | n2 () const |
int | n3 () const |
double | x () const |
double | y () const |
double | r1 () const |
double | r2 () const |
double | az () const |
int & | n1 () |
int & | n2 () |
int & | n3 () |
double & | x () |
double & | y () |
double & | r1 () |
double & | r2 () |
double & | az () |
bool | operator== (const QxrdPowderPoint &pt) const |
bool | operator!= (const QxrdPowderPoint &pt) const |
void | setSettingsValue (QSettings *settings, QString name) |
bool | isValid () const |
QString | toString () const |
Static Public Member Functions | |
static void | customSaver (const QVariant &val, QSettings *settings, QString name) |
static void | registerMetaTypes () |
static QScriptValue | toScriptValue (QScriptEngine *engine, const QxrdPowderPoint &pt) |
static void | fromScriptValue (const QScriptValue &obj, QxrdPowderPoint &pt) |
Protected Attributes | |
int | m_N1 |
int | m_N2 |
int | m_N3 |
double | m_X |
double | m_Y |
double | m_R1 |
double | m_R2 |
double | m_Az |
Definition at line 9 of file qxrdpowderpoint.h.
QxrdPowderPoint::QxrdPowderPoint | ( | int | n1, |
int | n2, | ||
int | n3, | ||
double | x, | ||
double | y, | ||
double | r1, | ||
double | r2, | ||
double | az | ||
) |
Definition at line 7 of file qxrdpowderpoint.cpp.
QxrdPowderPoint::QxrdPowderPoint | ( | const QxrdPowderPoint & | pt | ) |
Definition at line 19 of file qxrdpowderpoint.cpp.
QxrdPowderPoint::QxrdPowderPoint | ( | ) |
Definition at line 31 of file qxrdpowderpoint.cpp.
|
inline |
Definition at line 24 of file qxrdpowderpoint.h.
References m_Az.
Referenced by QxrdCenterFinder::deletePowderRing(), fromScriptValue(), QxrdCenterFinder::getPowderPoint(), QxrdCenterFinder::getPowderPoints(), operator!=(), operator<<(), operator==(), operator>>(), setSettingsValue(), QxrdPowderPointVector::setSettingsValue(), QxrdPowderPointProperty::setSubValue(), QxrdPowderPointProperty::setValue(), QxrdPowderPointProperty::subValue(), toScriptValue(), QxrdPowderPointVector::toScriptValue(), QxrdPowderPointProperty::toString(), and toString().
|
inline |
|
static |
Definition at line 74 of file qxrdpowderpoint.cpp.
References setSettingsValue().
Referenced by registerMetaTypes().
|
static |
bool QxrdPowderPoint::isValid | ( | ) | const |
Definition at line 43 of file qxrdpowderpoint.cpp.
References m_N1, m_N2, and m_N3.
Referenced by QxrdCenterFinder::calculateCalibration(), and QxrdFitterRingCircle::evaluate().
|
inline |
Definition at line 17 of file qxrdpowderpoint.h.
References m_N1.
Referenced by QxrdCenterFinder::calculateCalibration(), QxrdImagePlot::contextMenuEvent(), QxrdCenterFinder::countPowderRingPoints(), QxrdCenterFinder::countPowderRings(), QxrdCenterFinder::deletePowderRing(), QxrdImagePlot::displayPowderMarkers(), fromScriptValue(), QxrdCenterFinder::getPowderPoint(), QxrdCenterFinder::getPowderPointN1(), QxrdCenterFinder::getPowderPoints(), QxrdCenterFinder::normalizePowderRings(), operator!=(), operator<<(), operator==(), operator>>(), QxrdWindow::plotPowderRingRadii(), QxrdWindow::plotPowderRingTwoTheta(), QxrdCenterFinder::powderRingAverageQ(), QxrdCenterFinder::powderRingAverageR(), QxrdCenterFinder::powderRingAverageTTH(), QxrdCenterFinder::powderRingPoint(), setSettingsValue(), QxrdPowderPointVector::setSettingsValue(), QxrdPowderPointProperty::setSubValue(), QxrdPowderPointProperty::setValue(), QxrdPowderPointProperty::subValue(), toScriptValue(), QxrdPowderPointVector::toScriptValue(), QxrdPowderPointProperty::toString(), and toString().
|
inline |
|
inline |
Definition at line 18 of file qxrdpowderpoint.h.
References m_N2.
Referenced by QxrdCenterFinder::deletePowderRing(), fromScriptValue(), QxrdCenterFinder::getPowderPoint(), QxrdCenterFinder::getPowderPointN2(), QxrdCenterFinder::getPowderPoints(), operator!=(), operator<<(), operator==(), operator>>(), QxrdWindow::plotPowderRingRadii(), QxrdWindow::plotPowderRingTwoTheta(), setSettingsValue(), QxrdPowderPointVector::setSettingsValue(), QxrdPowderPointProperty::setSubValue(), QxrdPowderPointProperty::setValue(), QxrdPowderPointProperty::subValue(), toScriptValue(), QxrdPowderPointVector::toScriptValue(), QxrdPowderPointProperty::toString(), and toString().
|
inline |
|
inline |
Definition at line 19 of file qxrdpowderpoint.h.
References m_N3.
Referenced by QxrdCenterFinder::deletePowderRing(), fromScriptValue(), operator!=(), operator<<(), operator==(), operator>>(), setSettingsValue(), QxrdPowderPointVector::setSettingsValue(), QxrdPowderPointProperty::setSubValue(), QxrdPowderPointProperty::setValue(), QxrdPowderPointProperty::subValue(), toScriptValue(), QxrdPowderPointVector::toScriptValue(), QxrdPowderPointProperty::toString(), and toString().
|
inline |
bool QxrdPowderPoint::operator!= | ( | const QxrdPowderPoint & | pt | ) | const |
bool QxrdPowderPoint::operator== | ( | const QxrdPowderPoint & | pt | ) | const |
|
inline |
Definition at line 22 of file qxrdpowderpoint.h.
References m_R1.
Referenced by QxrdCenterFinder::deletePowderRing(), fromScriptValue(), QxrdCenterFinder::getPowderPoint(), QxrdCenterFinder::getPowderPoints(), operator!=(), operator<<(), operator==(), operator>>(), setSettingsValue(), QxrdPowderPointVector::setSettingsValue(), QxrdPowderPointProperty::setSubValue(), QxrdPowderPointProperty::setValue(), QxrdPowderPointProperty::subValue(), toScriptValue(), QxrdPowderPointVector::toScriptValue(), QxrdPowderPointProperty::toString(), and toString().
|
inline |
|
inline |
Definition at line 23 of file qxrdpowderpoint.h.
References m_R2.
Referenced by QxrdCenterFinder::deletePowderRing(), fromScriptValue(), QxrdCenterFinder::getPowderPoint(), QxrdCenterFinder::getPowderPoints(), operator!=(), operator<<(), operator==(), operator>>(), setSettingsValue(), QxrdPowderPointVector::setSettingsValue(), QxrdPowderPointProperty::setSubValue(), QxrdPowderPointProperty::setValue(), QxrdPowderPointProperty::subValue(), toScriptValue(), QxrdPowderPointVector::toScriptValue(), QxrdPowderPointProperty::toString(), and toString().
|
inline |
|
static |
Definition at line 86 of file qxrdpowderpoint.cpp.
References customSaver(), and QcepProperty::registerCustomSaver().
Referenced by QxrdApplication::QxrdApplication().
void QxrdPowderPoint::setSettingsValue | ( | QSettings * | settings, |
QString | name | ||
) |
|
static |
QString QxrdPowderPoint::toString | ( | ) | const |
|
inline |
Definition at line 20 of file qxrdpowderpoint.h.
References m_X.
Referenced by QxrdCenterFinder::calculateCalibration(), QxrdImagePlot::contextMenuEvent(), QxrdCenterFinder::deletePowderRing(), QxrdImagePlot::displayPowderMarkers(), QxrdFitterRingCircle::evaluate(), QxrdFitterRingEllipse::evaluate(), QxrdFitterRingCircle::fit(), QxrdFitterRingEllipse::fit(), fromScriptValue(), QxrdCenterFinder::getPowderPoint(), QxrdCenterFinder::getPowderPoints(), QxrdCenterFinder::getPowderPointX(), QxrdCenterFinder::nearestPowderPointIndex(), QxrdCenterFinder::normalizePowderRings(), operator!=(), operator<<(), operator==(), operator>>(), QxrdWindow::plotPowderRingCenters(), QxrdWindow::plotPowderRingRadii(), QxrdWindow::plotPowderRingTwoTheta(), QxrdCenterFinder::powderRingAverageQ(), QxrdCenterFinder::powderRingAverageR(), QxrdCenterFinder::powderRingAverageTTH(), setSettingsValue(), QxrdPowderPointVector::setSettingsValue(), QxrdPowderPointProperty::setSubValue(), QxrdPowderPointProperty::setValue(), QxrdPowderPointProperty::subValue(), toScriptValue(), QxrdPowderPointVector::toScriptValue(), QxrdPowderPointProperty::toString(), and toString().
|
inline |
|
inline |
Definition at line 21 of file qxrdpowderpoint.h.
References m_Y.
Referenced by QxrdCenterFinder::calculateCalibration(), QxrdImagePlot::contextMenuEvent(), QxrdCenterFinder::deletePowderRing(), QxrdImagePlot::displayPowderMarkers(), QxrdFitterRingCircle::evaluate(), QxrdFitterRingEllipse::evaluate(), QxrdFitterRingCircle::fit(), QxrdFitterRingEllipse::fit(), fromScriptValue(), QxrdCenterFinder::getPowderPoint(), QxrdCenterFinder::getPowderPoints(), QxrdCenterFinder::getPowderPointY(), QxrdCenterFinder::nearestPowderPointIndex(), QxrdCenterFinder::normalizePowderRings(), operator!=(), operator<<(), operator==(), operator>>(), QxrdWindow::plotPowderRingCenters(), QxrdWindow::plotPowderRingRadii(), QxrdWindow::plotPowderRingTwoTheta(), QxrdCenterFinder::powderRingAverageQ(), QxrdCenterFinder::powderRingAverageR(), QxrdCenterFinder::powderRingAverageTTH(), setSettingsValue(), QxrdPowderPointVector::setSettingsValue(), QxrdPowderPointProperty::setSubValue(), QxrdPowderPointProperty::setValue(), QxrdPowderPointProperty::subValue(), toScriptValue(), QxrdPowderPointVector::toScriptValue(), QxrdPowderPointProperty::toString(), and toString().
|
inline |
|
protected |
Definition at line 57 of file qxrdpowderpoint.h.
Referenced by az().
|
protected |
Definition at line 50 of file qxrdpowderpoint.h.
|
protected |
Definition at line 51 of file qxrdpowderpoint.h.
|
protected |
Definition at line 52 of file qxrdpowderpoint.h.
|
protected |
Definition at line 55 of file qxrdpowderpoint.h.
Referenced by r1().
|
protected |
Definition at line 56 of file qxrdpowderpoint.h.
Referenced by r2().
|
protected |
Definition at line 53 of file qxrdpowderpoint.h.
Referenced by x().
|
protected |
Definition at line 54 of file qxrdpowderpoint.h.
Referenced by y().