Reimplemented from OglGui::Window. Definition at line 178 of file DirImViewer3D.h. References HandleVisibility(), OglGui::Window::InitDisplayFunc(), mNrToShow, OglGui::OglWindow::mOglWnd, and mViews. 00179 { 00180 Window::InitDisplayFunc(); 00181 00182 float camZ; 00183 view3DSys.GetCamera(mOglWnd, 0, 0, &camZ, 0, 0, 0); 00184 00185 int sz = mViews.size(); 00186 for (int i=0; i<sz; i++) 00187 { 00188 float dist = camZ - mViews[i]->z; 00189 bool vis = dist > 1 && dist <= 1 + (mNrToShow*5)/8; 00190 HandleVisibility(i, vis); 00191 } 00192 }
Here is the call graph for this function: ![]()
|