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

template<class ArrayT>
ArrayT::StorType* Impala::Core::Array::ArrayListExport ( const std::vector< ArrayT * > &  list  )  [inline]

Definition at line 18 of file ArrayListExport.h.

References Set().

Referenced by ColorSegmentation().

00019 {
00020     typedef typename ArrayT::StorType StorT;
00021 
00022     int cw = list[0]->CW();
00023     int ch = list[0]->CH();
00024     int nr = list.size();
00025     int nc = cw * ch;
00026     StorT* data = new StorT[nr*nc];
00027     ArrayT* wrapper = ArrayCreate<ArrayT>(cw, ch, 0, 0, data, true);
00028     for (int i=0 ; i<list.size() ; i++)
00029     {
00030         Set(wrapper, list[i]);
00031         wrapper->mData += nc * ArrayT::ElemSize();
00032     }
00033     delete wrapper;
00034     return data;
00035 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:56:07 2010 for ImpalaSrc by  doxygen 1.5.1