Definition at line 210 of file TimeLineViewStrip.h. References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CPB(), Impala::Core::Stream::RgbDataSrc::DataPtr(), Impala::Core::Stream::RgbDataSrc::FrameHeight(), Impala::Core::Stream::RgbDataSrc::FrameWidth(), Impala::Core::Stream::RgbDataSrc::GotoFrame(), mRgbDataSrc, mViewers, and Impala::Visualization::RgbOglImage::OglImage(). Referenced by InitDisplayFunc(), and ShowCurrentViewOnTop(). 00211 { 00212 //printf("Creating %d frNr %d\n", dstIdx, frameNr); 00213 int imW = mRgbDataSrc->FrameWidth(); 00214 int imH = mRgbDataSrc->FrameHeight(); 00215 Array2dVec3UInt8* ar = 00216 new Array2dVec3UInt8(imW, imH, 0, 0, 0, false); 00217 mRgbDataSrc->GotoFrame(frameNr); 00218 memcpy( (void *) ar->CPB(0, 0), mRgbDataSrc->DataPtr(), imW*imH*3 ); 00219 OGLIMAGE* oglIm = RgbOglImage::OglImage(ar); 00220 viewSys.SetImage(mViewers[dstIdx],oglIm); 00221 mViewers[dstIdx]->UserData1 = (void *) frameNr; 00222 ReleaseOglImage(oglIm); 00223 }
Here is the call graph for this function:
|