From 36a6028d34e8481ac3078d1351eb4116082a152a Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Wed, 24 Oct 2012 10:05:39 -0400 Subject: Frame Info spacing fixes --- fly-tools/FrameInfo.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'fly-tools') diff --git a/fly-tools/FrameInfo.cpp b/fly-tools/FrameInfo.cpp index c97b651..c02e3f7 100644 --- a/fly-tools/FrameInfo.cpp +++ b/fly-tools/FrameInfo.cpp @@ -14,18 +14,22 @@ FrameInfo::FrameInfo(int frameNo, vector fOVector, bool isSingleBlob this->isSingleBlob = isSingleBlob; } + FrameInfo::FrameInfo(const FrameInfo &f) { this->frameNo = f.getFrameNo(); this->fOVector = f.getFOVector(); this->isSingleBlob = f.getIsSingleBlob(); } + int FrameInfo::getFrameNo() const { return frameNo; } + bool FrameInfo::getIsSingleBlob() const { return isSingleBlob; } + vector FrameInfo::getFOVector() const{ return fOVector; } @@ -33,12 +37,15 @@ vector FrameInfo::getFOVector() const{ void FrameInfo::setFrameNo(int fn) { this->frameNo = fn; } + void FrameInfo::setIsSingleBlob(bool isSingleBlob) { this->isSingleBlob = isSingleBlob; } + void FrameInfo::setFOVector(vector fov) { this->fOVector = fov; } + void FrameInfo ::swapTheFlyObject() { if (fOVector.size() > 1) { cout << "swapping\n"; @@ -47,13 +54,12 @@ void FrameInfo ::swapTheFlyObject() { fOVector[1] = a; } } + void FrameInfo::output(ostream &out) { out<<"FrameNo : "<