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

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

Definition at line 207 of file DirImViewer3D.h.

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

Referenced by HandleVisibility().

00208     {
00209         if (!mOglImageCache)
00210             return ReadImageIdx(id);
00211 
00212         OGLIMAGE* im;
00213         if (! (im = mOglImageCache->GetImage(id)) )
00214         {
00215             if (!(im = ReadImageIdx(id)))
00216                 return 0;
00217             mOglImageCache->AddNoScalingTextured(im, id);
00218             // Next rather than above: When not using noTexScaling (SLOWER!)
00219             // mOglImageCache->Add(im, id);
00220         }
00221         return im;
00222     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:43:34 2010 for ImpalaSrc by  doxygen 1.5.1