Mercurial > hg > multitrack-audio-matcher
annotate annotationCalculatorSrc/testApp.h @ 43:b7ad807c9cde
Added annotation writing and the src for the result calculator
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Fri, 04 May 2012 15:33:36 +0100 |
parents | |
children | d23685b9e766 |
rev | line source |
---|---|
andrew@43 | 1 #pragma once |
andrew@43 | 2 |
andrew@43 | 3 #include "ofMain.h" |
andrew@43 | 4 #include "BeatAnnotationReader.h" |
andrew@43 | 5 #include "PlotTools.h" |
andrew@43 | 6 |
andrew@43 | 7 class testApp : public ofBaseApp{ |
andrew@43 | 8 |
andrew@43 | 9 public: |
andrew@43 | 10 void setup(); |
andrew@43 | 11 void update(); |
andrew@43 | 12 void draw(); |
andrew@43 | 13 |
andrew@43 | 14 void keyPressed (int key); |
andrew@43 | 15 void keyReleased(int key); |
andrew@43 | 16 void mouseMoved(int x, int y ); |
andrew@43 | 17 void mouseDragged(int x, int y, int button); |
andrew@43 | 18 void mousePressed(int x, int y, int button); |
andrew@43 | 19 void mouseReleased(int x, int y, int button); |
andrew@43 | 20 void windowResized(int w, int h); |
andrew@43 | 21 void dragEvent(ofDragInfo dragInfo); |
andrew@43 | 22 void gotMessage(ofMessage msg); |
andrew@43 | 23 |
andrew@43 | 24 typedef vector<double> DoubleVector; |
andrew@43 | 25 typedef vector<DoubleVector> DoubleMatrix; |
andrew@43 | 26 DoubleMatrix GroundTruth; |
andrew@43 | 27 |
andrew@43 | 28 BeatAnnotationReader beatReader; |
andrew@43 | 29 |
andrew@43 | 30 PlotTools plotter; |
andrew@43 | 31 |
andrew@43 | 32 double xPlotMin, xPlotMax, yPlotMin, yPlotMax; |
andrew@43 | 33 |
andrew@43 | 34 |
andrew@43 | 35 }; |