comparison bayesianArraySrc/DynamicVector.cpp @ 52:e359b9bad811

Added exporting of image and text data
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 17 Jul 2012 22:12:20 +0100
parents 93d21c20cfbc
children 2eca10a31ae2
comparison
equal deleted inserted replaced
51:6f6461b0d07f 52:e359b9bad811
283 283
284 284
285 double DynamicVector::millisToVectorUnits(const double& millis){ 285 double DynamicVector::millisToVectorUnits(const double& millis){
286 return millis/scalar; 286 return millis/scalar;
287 } 287 }
288
289 #pragma mark -draw
288 290
289 void DynamicVector::drawVector(const int& minIndex, const int& maxIndex){ 291 void DynamicVector::drawVector(const int& minIndex, const int& maxIndex){
290 292
291 293
292 double stepSize = ofGetWidth() / (double)(maxIndex - minIndex); 294 double stepSize = ofGetWidth() / (double)(maxIndex - minIndex);