view annotationCalculatorSrc/testApp.h @ 44:73fbbc92fdfb

alignment is looking correct now
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Fri, 04 May 2012 16:00:33 +0100
parents b7ad807c9cde
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;
	
		
};