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

template<class StorT, int elemSize, class ArithT>
void Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::WriteTo ( std::ostream &  os,
Int64  startx,
Int64  starty,
Int64  w,
Int64  h 
) [inline]

Definition at line 225 of file Array2dTem.h.

00226     {
00227         if(w == -1 && startx == 0)
00228             w = CW();
00229         if(h == -1 && starty == 0)
00230             h = CH();
00231         if(startx+w > W()-BW())
00232             w = W()-startx-BW();
00233         if(starty+h > H()-BH())
00234             h = H()-starty-BH();
00235         os << "partial array dump from ("
00236            << startx << "," << starty << ") size ("
00237            << w << "," << h << ")\n";
00238         Int64 x,y;
00239         for(y=0 ; y<h ; ++y)
00240         {
00241             for(x=0 ; x<w ; ++x)
00242                 os << Pattern::PtrRead(CPB(x+startx, y+starty), ArithType()) << " ";
00243             os << "\n";
00244         }
00245     }


Generated on Fri Mar 19 10:59:05 2010 for ImpalaSrc by  doxygen 1.5.1