aboutsummaryrefslogtreecommitdiff
path: root/distortionobserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'distortionobserver.h')
-rw-r--r--distortionobserver.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/distortionobserver.h b/distortionobserver.h
deleted file mode 100644
index 101c53d..0000000
--- a/distortionobserver.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef DISTORTIONOBSERVER_H
-#define DISTORTIONOBSERVER_H
-
-#include <QObject>
-#include <armadillo>
-
-#include "distortionmeasure.h"
-
-class DistortionObserver : public QObject
-{
- Q_OBJECT
-public:
- DistortionObserver(const arma::mat &X, const arma::uvec &sampleIndices);
- void setMeasure(DistortionMeasure *measure);
-
-signals:
- void mapChanged(const arma::vec &distortion);
-
-public slots:
- void setMap(const arma::mat &Y);
-
-private:
- arma::mat m_X, m_Y, m_distX;
- arma::uvec m_sampleIndices;
- DistortionMeasure *m_distortionMeasure;
- arma::vec m_measures;
-};
-
-#endif // DISTORTIONOBSERVER_H