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

void Impala::Visualization::DirImViewer3D::InitViews (  )  [inline]

Definition at line 151 of file DirImViewer3D.h.

References ClearViews(), mCam3DControlEx, OglGui::Camera3DControlEx::MinMaxZ(), OglGui::OglWindow::mOglWnd, mViews, NrOfFiles(), and SetUpPrintingID().

Referenced by OpenDir(), and SetRgbDataSrc().

00152     {
00153         ClearViews();
00154         int cnt     = 0;
00155         int d       = 0;
00156         int nrFiles = NrOfFiles();
00157         while (cnt < nrFiles)
00158         {
00159             d++;
00160             for (int y=1;  y>-2; y--)
00161             for (int x=-1; x<2;  x++)
00162             {
00163                 if (!x && !y || cnt >= nrFiles)
00164                     continue;
00165                 OGLVIEW3D* v = view3DSys.View3D(mOglWnd, 0, 3*x, 3*y,
00166                                                 -5*d - (cnt++%8)*0.7143,
00167                                                 1, 1, 1);
00168                 mViews.push_back(v);
00169                 view3DSys.SetTags(v, FlexViewTags & ~deletableTag);
00170                 SetUpPrintingID(v, cnt-1);
00171                 //FancySettings(v);
00172             }
00173         }
00174         if (mCam3DControlEx)
00175             mCam3DControlEx->MinMaxZ(-5*d-12, 12);
00176     }

Here is the call graph for this function:


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