6 #include <QtConcurrentMap>
18 printf(
"QxrdROICalculator::QxrdROICalculator(%p)\n",
this);
25 printf(
"Deleting ROI Calculator\n");
29 printf(
"QxrdROICalculator::~QxrdROICalculator(%p)\n",
this);
35 return engine->newQObject(proc.data());
40 QObject *qobj = obj.toQObject();
105 for (
int i=0; i<nVals; i++) {
111 res += roi->values();
qint64 qcepDebug(int cond)
static QScriptValue toScriptValue(QScriptEngine *engine, const QxrdROICalculatorPtr &proc)
virtual void readSettings(QSettings *set, QString section)
QWeakPointer< QxrdDetectorProcessor > QxrdDetectorProcessorWPtr
QSharedPointer< QxrdROICoordinates > QxrdROICoordinatesPtr
QSharedPointer< QxrdROICalculator > QxrdROICalculatorPtr
QWeakPointer< QxrdExperiment > QxrdExperimentWPtr
static void fromScriptValue(const QScriptValue &obj, QxrdROICalculatorPtr &proc)
void readSettings(QSettings *settings, QString section)
QxrdROICoordinatesPtr roi(int i)
QxrdROICalculator(QcepSettingsSaverWPtr saver, QxrdExperimentWPtr exp, QxrdDetectorProcessorWPtr proc)
QVector< double > values(QcepImageDataBasePtr img, QcepMaskDataPtr mask)
void writeSettings(QSettings *settings, QString section)
QxrdROICoordinatesListModelPtr roiModel()
QxrdROICoordinatesListModelPtr m_ROICoordinatesModel
QxrdExperimentWPtr m_Experiment
virtual void writeSettings(QSettings *set, QString section)
virtual ~QxrdROICalculator()
QcepSettingsSaverWPtr m_Saver
QSharedPointer< QcepImageDataBase > QcepImageDataBasePtr
QSharedPointer< QcepMaskData > QcepMaskDataPtr
QSharedPointer< QxrdROICoordinatesListModel > QxrdROICoordinatesListModelPtr
QWeakPointer< QcepSettingsSaver > QcepSettingsSaverWPtr
QxrdDetectorProcessorWPtr m_Processor