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

void Impala::Visualization::View::UpdateImage ( unsigned char *  dataPtr  )  [inline]

Definition at line 135 of file View.h.

References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CPB(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(), DoUpdateDispImage(), OglGui::View::GetImage(), and UpdateImage().

Referenced by UpdateImage().

00136     {
00137         OGLIMAGE* oglIm = GetImage();
00138  // RvB: 3-2-2009 mem leak
00139 ReleaseOglImage(oglIm);
00140         Array2dVec3UInt8* dispIm = (Array2dVec3UInt8*) oglIm->imageHandle;
00141        if (!dispIm)
00142             return;
00143         int nBytes = dispIm->CW() * dispIm->CH() * 3;
00144         memcpy(dispIm->CPB(0, 0), dataPtr, nBytes);
00145         DoUpdateDispImage(oglIm);
00146     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:50:57 2010 for ImpalaSrc by  doxygen 1.5.1