view 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
line wrap: on
line source
#pragma once

#include "ofMain.h"
#include "BeatAnnotationReader.h"
#include "PlotTools.h"

class testApp : public ofBaseApp{

	public:
		void setup();
		void update();
		void draw();

		void keyPressed  (int key);
		void keyReleased(int key);
		void mouseMoved(int x, int y );
		void mouseDragged(int x, int y, int button);
		void mousePressed(int x, int y, int button);
		void mouseReleased(int x, int y, int button);
		void windowResized(int w, int h);
		void dragEvent(ofDragInfo dragInfo);
		void gotMessage(ofMessage msg);
	
	typedef vector<double> DoubleVector;
	typedef vector<DoubleVector> DoubleMatrix;
	DoubleMatrix GroundTruth;
	
	BeatAnnotationReader beatReader;
	
	PlotTools plotter;
	
	double xPlotMin, xPlotMax, yPlotMin, yPlotMax;
	
		
};