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

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

Definition at line 119 of file DirImViewer3D.h.

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

Referenced by OpenDir(), and SetRgbDataSrc().

00120     {
00121         ClearViews();
00122 
00123         int cnt     = 0;
00124         int d       = 0;
00125         int nrFiles = NrOfFiles();
00126         while (cnt < nrFiles)
00127         {
00128             d++;
00129             for (int y=1;  y>-2; y--)
00130             for (int x=-1; x<2;  x++)
00131             {
00132                 if (!x && !y || cnt >= nrFiles)
00133                     continue;
00134                 OGLVIEW3D* v = view3DSys.View3D(mOglWnd, 0, 3*x, 3*y,
00135                                                 -5*d - (cnt++%8)*0.7143,
00136                                                 1, 1, 1);
00137                 mViews.push_back(v);
00138                 view3DSys.SetTags(v, FlexViewTags & ~deletableTag);
00139                 SetUpPrintingID(v, cnt-1);
00140                 //FancySettings(v);
00141             }
00142         }
00143         if (mCam3DControlEx)
00144             mCam3DControlEx->MinMaxZ(-5*d-12, 12);
00145     }

Here is the call graph for this function:


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