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

void Impala::Visualization::DirImViewer::Init ( int  w,
int  h,
int  nOnRow 
) [inline, private]

Definition at line 452 of file DirImViewer.h.

References FixedCellWidth(), mFlowDragger, mMaxZoom, OglGui::OglWindow::mOglWnd, mOldStartIm, mPagingExtra, mRgbDataSrc, mViews, NrOfImOnRow(), OglGui::DocDimensions::SetDocDimensions(), OglGui::DocFlowDrag::SetDocWnd(), ShowDims(), and ShowNames().

00453     {
00454         mFlowDragger.SetDocWnd(this,this);
00455         SetDocDimensions(0,0,w,h);
00456         ShowNames(true);
00457         ShowDims(true);
00458         FixedCellWidth(132); // Would result in fixed cell width, but overruled by next line
00459         NrOfImOnRow(nOnRow); // Results in fixed nr of im per row and scaling views
00460         ShowNames(true);
00461         ShowDims(true);
00462         mOldStartIm = -1;
00463         mPagingExtra = 1;
00464         mMaxZoom = 2;
00465         for (int i=0; i<1000; i++)
00466         {
00467             OGLVIEW* view = viewSys.View2D(mOglWnd,0,0,0,128,128);
00468             viewSys.SetTags(view, FlexViewTags);
00469             viewSys.ClearTags(view, visibleTag|showBorderTag|showBgTag|selectableTag);
00470             //viewSys.ClearTags(view, visibleTag|showBgTag|selectableTag);
00471             viewSys.SetColor(view, OGL_BG, oglTrLIGHTGREY);
00472             view->UserData1 = (void *) -1;
00473             mViews.push_back(view);
00474         }
00475 #ifndef NO_RAW
00476         mRgbDataSrc = 0;
00477 #endif
00478     }

Here is the call graph for this function:


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