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:
|