comparison 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
comparison
equal deleted inserted replaced
42:6a7982661703 43:b7ad807c9cde
1 #pragma once
2
3 #include "ofMain.h"
4 #include "BeatAnnotationReader.h"
5 #include "PlotTools.h"
6
7 class testApp : public ofBaseApp{
8
9 public:
10 void setup();
11 void update();
12 void draw();
13
14 void keyPressed (int key);
15 void keyReleased(int key);
16 void mouseMoved(int x, int y );
17 void mouseDragged(int x, int y, int button);
18 void mousePressed(int x, int y, int button);
19 void mouseReleased(int x, int y, int button);
20 void windowResized(int w, int h);
21 void dragEvent(ofDragInfo dragInfo);
22 void gotMessage(ofMessage msg);
23
24 typedef vector<double> DoubleVector;
25 typedef vector<DoubleVector> DoubleMatrix;
26 DoubleMatrix GroundTruth;
27
28 BeatAnnotationReader beatReader;
29
30 PlotTools plotter;
31
32 double xPlotMin, xPlotMax, yPlotMin, yPlotMax;
33
34
35 };