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

template<class ArrayT>
Impala::Core::Histogram::Histogram1dSet< ArrayT >::Histogram1dSet ( ElemT  low,
ElemT  high,
int  binCount,
int  nrHist 
) [inline]

Definition at line 25 of file Histogram1dSet.h.

References Impala::Core::Vector::VectorSet< ArrayT >::GetStorage(), Impala::Core::Histogram::Histogram1dSet< ArrayT >::mBinCount, Impala::Core::Histogram::Histogram1dSet< ArrayT >::mHigh, Impala::Core::Histogram::Histogram1dSet< ArrayT >::mLow, Impala::Core::Histogram::Histogram1dSet< ArrayT >::mOutliers, and Impala::Core::Array::SetVal().

00026         : Vector::VectorSet<ArrayT>(true, binCount, nrHist)
00027     {
00028         mLow = new ElemT[nrHist];
00029         mHigh = new ElemT[nrHist];
00030         for (int i=0 ; i<nrHist ; i++)
00031         {
00032             mLow[i] = low;
00033             mHigh[i] = high;
00034         }
00035         mBinCount = binCount;
00036         mOutliers = new ElemT[nrHist];
00037         ArrayT* storage = this->GetStorage();
00038         Array::SetVal(storage, storage, 0);
00039     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:12:23 2010 for ImpalaSrc by  doxygen 1.5.1