QXRD  0.11.16
qxrdpolarnormalization.h
Go to the documentation of this file.
1 #ifndef QXRDPOLARNORMALIZATION_H
2 #define QXRDPOLARNORMALIZATION_H
3 
4 #include "qcepmacros.h"
5 
6 #include "qcepobject.h"
7 #include "qcepproperty.h"
9 #include "qxrdexperiment-ptr.h"
10 #include "qcepimagedata-ptr.h"
11 #include "qcepdatacolumnscan-ptr.h"
12 
14 {
15  Q_OBJECT
16 
17 public:
19  QxrdExperimentWPtr exp);
20 
21  void execute();
22 
23 private:
25 
26 public:
27  Q_PROPERTY(QString source READ get_Source WRITE set_Source)
28  QCEP_STRING_PROPERTY(Source)
29 
30  Q_PROPERTY(QString destination READ get_Destination WRITE set_Destination)
31  QCEP_STRING_PROPERTY(Destination)
32 
33  Q_PROPERTY(QString integrated READ get_Integrated WRITE set_Integrated)
34  QCEP_STRING_PROPERTY(Integrated)
35 
36  Q_PROPERTY(QString columnScan READ get_ColumnScan WRITE set_ColumnScan)
37  QCEP_STRING_PROPERTY(ColumnScan)
38 
39  Q_PROPERTY(bool selfNormalize READ get_SelfNormalize WRITE set_SelfNormalize)
40  QCEP_BOOLEAN_PROPERTY(SelfNormalize)
41 
42  Q_PROPERTY(double selfNormalizeMin READ get_SelfNormalizeMin WRITE set_SelfNormalizeMin)
43  QCEP_DOUBLE_PROPERTY(SelfNormalizeMin)
44 
45  Q_PROPERTY(double selfNormalizeMax READ get_SelfNormalizeMax WRITE set_SelfNormalizeMax)
46  QCEP_DOUBLE_PROPERTY(SelfNormalizeMax)
47 
48 private:
49  mutable QMutex m_Mutex;
52 };
53 
54 #endif // QXRDPOLARNORMALIZATION_H
QxrdPolarNormalization(QcepSettingsSaverWPtr saver, QxrdExperimentWPtr exp)
#define QCEP_DOUBLE_PROPERTY(propname)
Definition: qcepproperty.h:629
QSharedPointer< QcepDataColumnScan > QcepDataColumnScanPtr
QWeakPointer< QxrdExperiment > QxrdExperimentWPtr
#define QCEP_STRING_PROPERTY(propname)
Definition: qcepproperty.h:664
QcepSettingsSaverWPtr m_Saver
QxrdExperimentWPtr m_Experiment
#define QCEP_BOOLEAN_PROPERTY(propname)
Definition: qcepproperty.h:732
void executeCol(QcepDataColumnScanPtr integ, QcepDoubleImageDataPtr dst, QcepDoubleImageDataPtr img, int col)
QWeakPointer< QcepSettingsSaver > QcepSettingsSaverWPtr
QSharedPointer< QcepDoubleImageData > QcepDoubleImageDataPtr