View Single Post
  #2   Spotlight this post!  
Unread 11-02-2012, 23:33
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 157
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: BoundingRect Height

Sure thing. When you get the vector back, I'll assume (for the moment) that you can iterate through the vector and get the ParticleAnalysisReport objects back...

Code:
ParticleAnalysisReport& par = (*vPAR)[i];

int h = par.boundingRect.Height;
I am doing this a bit from memory earlier today - but basically there is a "Rect" structure which is what boundingRect is within the Report class. It has Top/Left/Width/Height.

That's the ticket.

bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote