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

OGLIMAGE* Impala::Visualization::DirImViewer3D::LoadImageIdx ( int  id  )  [inline, private]

Definition at line 246 of file DirImViewer3D.h.

References OglGui::OglImageCache::AddNoScalingTextured(), OglGui::OglImageCache::GetImage(), mOglImageCache, and ReadImageIdx().

Referenced by HandleVisibility().

00247     {
00248         if (!mOglImageCache)
00249             return ReadImageIdx(id);
00250 
00251         OGLIMAGE* im;
00252         if (! (im = mOglImageCache->GetImage(id)) )
00253         {
00254             if (!(im = ReadImageIdx(id)))
00255                 return 0;
00256             mOglImageCache->AddNoScalingTextured(im, id);
00257             // Next rather than above: When not using noTexScaling (SLOWER!)
00258             // mOglImageCache->Add(im, id);
00259         }
00260         return im;
00261     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:24:39 2011 for ImpalaSrc by  doxygen 1.5.1