template<class ArrayT>
Definition at line 150 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(), Impala::Core::Array::GetRgbPixels(), and UpdateImage(). 00151 { 00152 OGLIMAGE* oglIm = GetImage(); 00153 // RvB: 3-2-2009 mem leak 00154 ReleaseOglImage(oglIm); 00155 Array2dVec3UInt8* dispIm = (Array2dVec3UInt8*) oglIm->imageHandle; 00156 if (!dispIm) 00157 return; 00158 if ((dispIm->CW() != im->CW()) || (dispIm->CH() != im->CH())) 00159 { 00160 delete dispIm; 00161 dispIm = Core::Array::ArrayCreate<Array2dVec3UInt8>(im->CW(), 00162 im->CH(), 0, 0); 00163 oglIm->imageHandle = dispIm; 00164 } 00165 Core::Array::GetRgbPixels(im, dispIm->CPB(0, 0), displayMode); 00166 DoUpdateDispImage(oglIm); 00167 }
Here is the call graph for this function:
|