view annotationCalculatorSrc/MatchMultitrackAnnotationReader.h @ 56:4394c9490716 tip

minor changes
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Mon, 24 Dec 2012 18:58:39 +0000
parents ba36a1721538
children
line wrap: on
line source
/*
 *  MatchMultitrackAnnotationReader.h
 *  annotationResultCalculator
 *
 *  Created by Andrew on 08/05/2012.
 *  Copyright 2012 QMUL. All rights reserved.
 *
 */



#ifndef MATCH_MULTITRACK_ANNOTATIONS
#define MATCH_MULTITRACK_ANNOTATIONS

#include "ofMain.h"

#include <iostream>
#include <fstream>
using namespace std;

struct MatchNotation {
	
	float firstTime;
	float secondTime;
};

class MatchMultitrackAnnotationReader{
public:
	//matchAnnotations();
	
	void readInMatchFile(std::string& pathName);
	//~Annotations();
	void 	printAnnotations();
	vector<MatchNotation> matchData;
	
	typedef vector<double> DoubleVector;
	DoubleVector matchLiveTimes;
	DoubleVector matchRehearsalTimes;
	
	void reverseAnnotations();
	
};
#endif