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

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

Definition at line 456 of file DirImViewer.h.

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

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

Here is the call graph for this function:


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