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

template<class ArrayT>
void Impala::Core::Array::Pattern::PxPrintDataOnAll ( ArrayT *  array,
bool  printBorder,
int  bx,
int  by,
int  width,
int  height 
)

Definition at line 148 of file PxxPrintData.h.

References PX_COUT_ON_ALL, PX_ENDL, PxArrayPrintElemOnAll(), and PxMyCPU().

Referenced by PxPrintDataOnAll().

00149 {
00150     typedef typename ArrayT::StorType StorT;
00151 
00152     PX_COUT_ON_ALL << "Array sizes (" << PxMyCPU() << "): cw = "
00153                    << CxArrayCW(array) << ", ch = "
00154                    << CxArrayCH(array) << ", bw = "
00155                    << CxArrayBW(array) << ", bh = "
00156                    << CxArrayBH(array) << PX_ENDL;
00157     StorT* sPtr = (printBorder) ? CxArrayPB(array, bx, by) 
00158                                 : CxArrayCPB(array, bx, by);
00159     for (int y=0 ; y<height ; y++) {
00160         PX_COUT_ON_ALL << "  Y = " << y << " :- ";
00161         for (int x=0 ; x<width ; x++) {
00162             int off = CxArrayInc(array, x, y);
00163             StorT* p = sPtr + off;
00164             PxArrayPrintElemOnAll(array, p);
00165             PX_COUT_ON_ALL << ", ";
00166         }
00167         PX_COUT_ON_ALL << PX_ENDL;
00168     }
00169 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:03:07 2010 for ImpalaSrc by  doxygen 1.5.1