1 #ifndef CCTWCRYSTALCOORDINATEPARAMETERS_H
2 #define CCTWCRYSTALCOORDINATEPARAMETERS_H
4 #include "qcepproperty.h"
48 QString
omega()
const;
94 void setChi(
const QString chi);
95 void setPhi(
const QString phi);
110 void parseAngleArgument(
const QString arg,
const QString angleName, QcepDoubleProperty *corr, QcepDoubleProperty *start, QcepDoubleProperty *step, QcepDoubleVectorProperty *angs);
112 double interpolateAngle(
double frame, QcepDoubleProperty *corr, QcepDoubleProperty *start, QcepDoubleProperty *step, QcepDoubleVectorProperty *angs);
140 Q_PROPERTY(
double pixelSize READ pixelSize WRITE setPixelSize NOTIFY parametersChanged)
141 Q_PROPERTY(
double wavelength READ wavelength WRITE setWavelength NOTIFY parametersChanged)
142 Q_PROPERTY(
double distance READ distance WRITE setDistance NOTIFY parametersChanged)
144 Q_PROPERTY(
CctwUnitCell unitCell READ unitCell WRITE setUnitCell NOTIFY parametersChanged)
149 Q_PROPERTY(
double det0x READ det0x WRITE setDet0x NOTIFY parametersChanged)
150 Q_PROPERTY(
double det0y READ det0y WRITE setDet0y NOTIFY parametersChanged)
154 Q_PROPERTY(
double orientErrorDetPitch READ orientErrorDetPitch WRITE setOrientErrorDetPitch NOTIFY parametersChanged)
155 Q_PROPERTY(
double orientErrorDetRoll READ orientErrorDetRoll WRITE setOrientErrorDetRoll NOTIFY parametersChanged)
156 Q_PROPERTY(
double orientErrorDetYaw READ orientErrorDetYaw WRITE setOrientErrorDetYaw NOTIFY parametersChanged)
157 Q_PROPERTY(
double orientErrorGonPitch READ orientErrorGonPitch WRITE setOrientErrorGonPitch NOTIFY parametersChanged)
159 Q_PROPERTY(QString twoTheta READ get_TwoTheta WRITE setTwoTheta NOTIFY parametersChanged)
160 QCEP_STRING_PROPERTY(TwoTheta)
162 Q_PROPERTY(
double twoThetaCorrection READ get_TwoThetaCorrection WRITE set_TwoThetaCorrection NOTIFY parametersChanged)
163 QCEP_DOUBLE_PROPERTY(TwoThetaCorrection)
165 Q_PROPERTY(
double twoThetaNom READ get_TwoThetaNom WRITE set_TwoThetaNom NOTIFY parametersChanged)
166 QCEP_DOUBLE_PROPERTY(TwoThetaNom)
168 Q_PROPERTY(
double twoThetaStep READ get_TwoThetaStep WRITE set_TwoThetaStep NOTIFY parametersChanged)
169 QCEP_DOUBLE_PROPERTY(TwoThetaStep)
171 Q_PROPERTY(QcepDoubleVector twoThetaAngles READ get_TwoThetaAngles WRITE set_TwoThetaAngles NOTIFY parametersChanged)
172 QCEP_DOUBLE_VECTOR_PROPERTY(TwoThetaAngles)
175 Q_PROPERTY(QString omega READ get_Omega WRITE setOmega NOTIFY parametersChanged)
176 QCEP_STRING_PROPERTY(Omega)
178 Q_PROPERTY(
double omegaCorrection READ get_OmegaCorrection WRITE set_OmegaCorrection NOTIFY parametersChanged)
179 QCEP_DOUBLE_PROPERTY(OmegaCorrection)
181 Q_PROPERTY(
double omegaNom READ get_OmegaNom WRITE set_OmegaNom NOTIFY parametersChanged)
182 QCEP_DOUBLE_PROPERTY(OmegaNom)
184 Q_PROPERTY(
double omegaStep READ get_OmegaStep WRITE set_OmegaStep NOTIFY parametersChanged)
185 QCEP_DOUBLE_PROPERTY(OmegaStep)
187 Q_PROPERTY(QcepDoubleVector omegaAngles READ get_OmegaAngles WRITE set_OmegaAngles NOTIFY parametersChanged)
188 QCEP_DOUBLE_VECTOR_PROPERTY(OmegaAngles)
191 Q_PROPERTY(QString chi READ get_Chi WRITE setChi NOTIFY parametersChanged)
192 QCEP_STRING_PROPERTY(Chi)
194 Q_PROPERTY(
double chiCorrection READ get_ChiCorrection WRITE set_ChiCorrection NOTIFY parametersChanged)
195 QCEP_DOUBLE_PROPERTY(ChiCorrection)
197 Q_PROPERTY(
double chiNom READ get_ChiNom WRITE set_ChiNom NOTIFY parametersChanged)
198 QCEP_DOUBLE_PROPERTY(ChiNom)
200 Q_PROPERTY(
double chiStep READ get_ChiStep WRITE set_ChiStep NOTIFY parametersChanged)
201 QCEP_DOUBLE_PROPERTY(ChiStep)
203 Q_PROPERTY(QcepDoubleVector chiAngles READ get_ChiAngles WRITE set_ChiAngles NOTIFY parametersChanged)
204 QCEP_DOUBLE_VECTOR_PROPERTY(ChiAngles)
207 Q_PROPERTY(QString phi READ get_Phi WRITE setPhi NOTIFY parametersChanged)
208 QCEP_STRING_PROPERTY(Phi)
210 Q_PROPERTY(
double phiCorrection READ get_PhiCorrection WRITE set_PhiCorrection NOTIFY parametersChanged)
211 QCEP_DOUBLE_PROPERTY(PhiCorrection)
213 Q_PROPERTY(
double phiNom READ get_PhiNom WRITE set_PhiNom NOTIFY parametersChanged)
214 QCEP_DOUBLE_PROPERTY(PhiNom)
216 Q_PROPERTY(
double phiStep READ get_PhiStep WRITE set_PhiStep NOTIFY parametersChanged)
217 QCEP_DOUBLE_PROPERTY(PhiStep)
219 Q_PROPERTY(QcepDoubleVector phiAngles READ get_PhiAngles WRITE set_PhiAngles NOTIFY parametersChanged)
220 QCEP_DOUBLE_VECTOR_PROPERTY(PhiAngles)
222 Q_PROPERTY(
CctwDoubleVector3D gridOrigin READ gridOrigin WRITE setGridOrigin NOTIFY parametersChanged)
225 Q_PROPERTY(
CctwDoubleVector3D gridOffset READ gridOffset WRITE setGridOffset NOTIFY parametersChanged)
227 Q_PROPERTY(
bool extraFlip READ get_ExtraFlip WRITE set_ExtraFlip NOTIFY parametersChanged)
228 QCEP_BOOLEAN_PROPERTY(ExtraFlip)
231 #endif // CCTWCRYSTALCOORDINATEPARAMETERS_H
CctwDoubleVector3D m_OVec
QcepDoubleVector omegaAngles() const
CctwDoubleVector3D m_GridOrigin
CctwDoubleVector3D gridOrigin() const
void setUBMat(CctwDoubleMatrix3x3 ub)
void setOMat(CctwDoubleMatrix3x3 om)
void setOrientErrorDetYaw(double x)
void setTwoTheta(const QString tth)
void setGridOrigin(CctwDoubleVector3D org)
void setDet0y(double d0y)
QcepDoubleVector chiAngles() const
CctwDoubleVector3D gridDim() const
CctwDoubleMatrix3x3 oMat() const
double twoThetaAngle(double frame)
double interpolateAngle(double frame, QcepDoubleProperty *corr, QcepDoubleProperty *start, QcepDoubleProperty *step, QcepDoubleVectorProperty *angs)
void setDistance(double d)
void setOrientErrorDetPitch(double x)
void setOmega(const QString omg)
CctwDoubleVector3D oVec() const
CctwCrystalCoordinateParameters(QString name, QObject *parent)
double orientErrorDetYaw() const
void setOrientErrorDetRoll(double x)
void setGridBasis(CctwDoubleMatrix3x3 bas)
double omegaCorrection() const
CctwDoubleVector3D m_GridOffset
double m_OrientErrorDetPitch
double m_OrientErrorDetYaw
void setUnitCell(CctwUnitCell uc)
CctwDoubleVector3D m_GridDim
double phiCorrection() const
double twoThetaStep() const
CctwDoubleVector3D xTrans() const
QcepDoubleVector twoThetaAngles() const
void parseAngleArgument(const QString arg, const QString angleName, QcepDoubleProperty *corr, QcepDoubleProperty *start, QcepDoubleProperty *step, QcepDoubleVectorProperty *angs)
CctwUnitCell unitCell() const
void setDet0x(double d0x)
double wavelength() const
CctwDoubleMatrix3x3 m_GridBasis
double chiAngle(double frame)
double omegaAngle(double frame)
void setXTrans(CctwDoubleVector3D xt)
void setPhi(const QString phi)
double phiAngle(double frame)
CctwDoubleMatrix3x3 ubMat() const
CctwDoubleMatrix3x3 m_OMat
void setGridOffset(CctwDoubleVector3D off)
void setPixelSize(double sz)
double orientErrorDetPitch() const
void setWavelength(double wv)
void setGridDim(CctwDoubleVector3D dim)
double m_OrientErrorGonPitch
CctwDoubleVector3D gridOffset() const
double twoThetaNom() const
CctwDoubleMatrix3x3 m_UBMat
void setOrientErrorGonPitch(double x)
double twoThetaCorrection() const
double m_OrientErrorDetRoll
QcepDoubleVector phiAngles() const
CctwDoubleVector3D m_XTrans
CctwDoubleMatrix3x3 gridBasis() const
double chiCorrection() const
double orientErrorDetRoll() const
double orientErrorGonPitch() const
void setOVec(CctwDoubleVector3D ov)
void setChi(const QString chi)