comparison annotationCalculatorSrc/PlotTools.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 /*
2 * PlotTools.h
3 * annotationResultCalculator
4 *
5 * Created by Andrew on 04/05/2012.
6 * Copyright 2012 QMUL. All rights reserved.
7 *
8 */
9
10
11 #ifndef PLOT_TOOLS
12 #define PLOT_TOOLS
13
14 #include "ofMain.h"
15
16
17
18 class PlotTools{
19 public:
20 PlotTools();
21 typedef std::vector<double> DoubleVector;
22
23 void plotVector(const DoubleVector& d);
24 void plotVector(const DoubleVector& d, const double& xStart, const double& xEnd, const double& yStart, const double& yEnd);
25
26 void plotTwoVectors(const DoubleVector& d, const DoubleVector& h);
27 void plotTwoVectors(const DoubleVector& d, const DoubleVector& h, const double& xStart, const double& xEnd, const double& yStart, const double& yEnd);
28
29 double screenHeight;
30 double screenWidth;
31 int getY(const int& y);
32 };
33 #endif