Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void Impala::Application::TagsLife::TagsWeekPlot::AddToHistogram ( int  val,
float  fillPerc = 0.f,
OGLIMAGE *  oglIm = 0 
) [inline]

Definition at line 70 of file TagsWeekPlot.h.

References findStep(), mFills, mHistogram, mMaxFreq, mOglImages, and mStep.

00071     {
00072         if (val > mMaxFreq) {
00073             mMaxFreq = val;
00074             double newMin, newMax;
00075             double step = findStep(0.0, (double) mMaxFreq, newMin, newMax);
00076             mStep = ceil(step);
00077             mMaxFreq = ceil(newMax);
00078         }
00079 
00080         mHistogram.push_back(val);
00081         mFills.push_back(fillPerc);
00082         mOglImages.push_back(oglIm);
00083         if (oglIm !=0 )
00084             oglIm->refCount++;
00085     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:51:52 2010 for ImpalaSrc by  doxygen 1.5.1