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

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

Definition at line 474 of file ImageSetIdxGrid.h.

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

00475     {
00476         mListener = 0;
00477         mFlowDragger.SetDocWnd(this,this);
00478         SetDocDimensions(0,0,w,h);
00479         FixedCellWidth(132); // Would result in fixed cell width, but overruled by next line
00480         NrOfImOnRow(nOnRow); // Results in fixed nr of im per row and scaling views
00481         ShowNames(true);
00482         ShowDims(true);
00483         mLastSelected = -1;
00484         mOldStartIm = -1;
00485         for (int i=0; i<1000; i++)
00486         {
00487             OGLVIEW* view = viewSys.View2D(mOglWnd,0,0,0,128,128);
00488             viewSys.SetTags(view, FlexViewTags);
00489             viewSys.ClearTags(view, visibleTag|showBorderTag|selectableTag|panableTag|zoomableTag);
00490             viewSys.SetColor(view, OGL_BG, 0);
00491             view->UserData1 = (void *) -1;
00492             mViews.push_back(view);
00493         }
00494     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:44:21 2010 for ImpalaSrc by  doxygen 1.5.1