comparison annotationCalculatorSrc/testApp.h @ 47:689704aa55d5

Added square and better scrolling through the matrix, better loading of files
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Wed, 09 May 2012 12:38:00 +0100
parents ba36a1721538
children 5359e2c0b0fb
comparison
equal deleted inserted replaced
46:ba36a1721538 47:689704aa55d5
28 typedef vector<DoubleVector> DoubleMatrix; 28 typedef vector<DoubleVector> DoubleMatrix;
29 DoubleMatrix GroundTruth; 29 DoubleMatrix GroundTruth;
30 30
31 BeatAnnotationReader beatReader; 31 BeatAnnotationReader beatReader;
32 32
33 void setFilePaths(int fileToLoad);
34 void readInFiles();
35 void processResults();
36
33 void drawAlignmentVectors(); 37 void drawAlignmentVectors();
34 38
35 PlotTools plotter; 39 PlotTools plotter;
36 40
37 double xPlotMin, xPlotMax, yPlotMin, yPlotMax; 41 double xPlotMin, xPlotMax, yPlotMin, yPlotMax;
47 Histogram matchForwardHistogram; 51 Histogram matchForwardHistogram;
48 52
49 int screenToDraw; 53 int screenToDraw;
50 int histogramWidth, histogramBinNumber; 54 int histogramWidth, histogramBinNumber;
51 55
56
57 std::string liveGroundTruthPath, rehearsalGroundTruthPath;
58 std::string liveToRehMultitrackAlignmentPath;
59 std::string liveToRehMatchOFpath, liveToRehMatchOBpath;
60
61 int squareX, squareY, squareWidth, squareHeight;
62 bool squareBeingDragged;
63 void drawSquare();
64 void setCoordinatesToSquare();
65
52 }; 66 };