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

Impala::Core::Array::ArrayPool::ArrayPool ( int  width,
int  height,
int  nrViewX,
int  nrViewY 
) [inline]

Definition at line 22 of file ArrayPool.h.

References mArC64, mArSR64, mArV3R64, mArV3UI8, mHeight, mNrC64, mNrSR64, mNrV3R64, mNrViewX, mNrViewY, mWidth, and Impala::Core::Array::Pattern::PxRootCPU().

00023     {
00024 
00025 #ifdef PX_HORUS_USED
00026         int sizes[2];
00027         sizes[0] = width;
00028         sizes[1] = height;
00029         MPI_Bcast(sizes, 2, MPI_INT, PxRootCPU(), MPI_COMM_WORLD);
00030         mWidth  = sizes[0];
00031         mHeight = sizes[1];
00032 #else
00033         mWidth = width;
00034         mHeight = height;
00035 #endif
00036 
00037         mNrViewX = nrViewX;
00038         mNrViewY = nrViewY;
00039         mArV3UI8 = new Array2dVec3UInt8*[mNrViewX * mNrViewY];
00040         for (int i=0 ; i<mNrViewX*mNrViewY ; i++)
00041             mArV3UI8[i] = ArrayCreate<Array2dVec3UInt8>(mWidth, mHeight);
00042         mArV3R64 = 0;
00043         mNrV3R64 = 0;
00044         mArSR64 = 0;
00045         mNrSR64 = 0;
00046         mArC64 = 0;
00047         mNrC64 = 0;
00048     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:17:13 2011 for ImpalaSrc by  doxygen 1.5.1