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

void Impala::Visualization::DirImViewer3D::InitDisplayFunc (  )  [inline, virtual]

Reimplemented from OglGui::Window.

Definition at line 147 of file DirImViewer3D.h.

References HandleVisibility(), OglGui::Window::InitDisplayFunc(), mNrToShow, OglGui::OglWindow::mOglWnd, and mViews.

00148     {
00149         Window::InitDisplayFunc();
00150 
00151         float camZ;
00152         view3DSys.GetCamera(mOglWnd, 0, 0, &camZ, 0, 0, 0);
00153 
00154         int sz = mViews.size();
00155         for (int i=0; i<sz; i++)
00156         {
00157             float dist = camZ - mViews[i]->z;
00158             bool vis = dist > 1 && dist <= 1 + (mNrToShow*5)/8;
00159             HandleVisibility(i, vis);
00160         }
00161     }

Here is the call graph for this function:


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