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

template<class StorT, int elemSize, class ArithT>
Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::Array2dTem ( Int64  cw,
Int64  ch,
Int64  bw,
Int64  bh,
StorType data = 0,
bool  isWrapper = false,
bool  isPartial = false 
) [inline]

Definition at line 40 of file Array2dTem.h.

00042     {
00043         mCW = cw;
00044         mCH = ch;
00045         mBW = bw;
00046         mBH = bh;
00047         Int64 w = cw + 2*bw;
00048         Int64 h = ch + 2*bh;
00049         mDataSize = w * h * elemSize;
00050         if (data == 0) 
00051         {
00052             mData = ArraySystem::Instance().Allocate(mDataSize, StorType());
00053 //          mState = SEQ_CREAT;                 // PxHorus extension
00054             mState = SEQ_VALID;                 // PxHorus extension
00055         }
00056         else
00057         {
00058             mData = data;
00059             mState = SEQ_VALID;                 // PxHorus extension
00060             if (! isWrapper)
00061                 ArraySystem::Instance().External(mDataSize, mData);
00062         }
00063         mIsWrapper = isWrapper;
00064         mIsPartial = isPartial;                 // PxHorus extension
00065         mPartArray = 0;                         // PxHorus extension
00066     }


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