Definition at line 25 of file RgbOglImage.h.
References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(), OglImdataDestroyFunc(), OglImdataFunc(), and sNrCreatedImages.
Referenced by Impala::Application::SDash::RoiLoader::GetDummyImage(), Impala::Application::MediaTable::VisualizationModule::GetOglImageById(), Impala::Application::MediaTable::MediaTable::GetOglImageById(), Impala::Application::MediaTable::ImageLoader::GetOglImageById(), Impala::Visualization::RotorBrowser::RotorView::InitOGLIMAGE(), Impala::Application::SDash::RoiLoader::Load(), Impala::Application::VideoExcel::ImageCache::LoadImage(), Impala::Visualization::VideoJpgPlayer::OglImageReadFirstFrame(), Impala::Application::SDash::VideoJpgCamera::OglImageReadFirstFrame(), OglImageReadJpg(), Impala::Visualization::DirImViewer3D::ReadImageIdx(), Impala::Application::TagsLife::RemoteRetriever::requestImage(), Impala::Application::VideoExcel::TableWindow::SetZoomView(), Impala::Application::MediaTable::TableWindow::SetZoomView(), Impala::Visualization::ImageSetIdxGrid::ViewCreateImage(), Impala::Visualization::DirImViewer::ViewCreateImage(), and Impala::Visualization::TimeLineViewStrip::ViewStripCreateImage().
00026 {
00027 if (!im) return 0;
00028
00029 OGLIMAGE* oglIm = oglSys.OglImage(GL_RGB, im->CW(), im->CH());
00030 oglIm->imDataFunc = OglImdataFunc;
00031 oglIm->onDestroy = OglImdataDestroyFunc;
00032 oglIm->imageHandle = im;
00033 sNrCreatedImages++;
00034 return oglIm;
00035 }
Here is the call graph for this function: