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

Impala::Visualization::ThreadSetGui::ThreadSetGui ( OglGui::Window parent,
int  wndWidth,
int  wndHeight,
int  nrImOnRow,
int  imWidth,
int  imHeight,
double  viewScale,
Core::Trec::ThreadSet threadSet,
SegmentationDocument segDoc,
int  controlId 
) [inline]

Definition at line 28 of file ThreadSetGui.h.

References BUT_NEXT, BUT_PREV, IM_CURRENT, IM_SET, mCurShotWnd, mCurThread, mImageSet, mSegDoc, mTextArea, mThreadNameList, mThreadSet, OglGui::Button::SetButtonListener(), Impala::Visualization::ImagesWindow::SetImagesListener(), OglGui::Button::SetRepeatMode(), OglGui::StringSelector::SetStringListener(), and UpdateThreadList().

00031                                 :
00032         Window(parent, wndWidth, wndHeight, true)
00033     {
00034         mThreadSet = threadSet;
00035         mSegDoc = segDoc;
00036         mCurThread = 0;
00037         SetControlId(controlId);
00038 
00039         int line = 20;
00040         mThreadNameList = new OglGui::StringSelector(this, wndWidth - 20,
00041                                                      6*line);
00042         mThreadNameList->SetStringListener(this, 0);
00043 
00044         UpdateThreadList();
00045 
00046         mTextArea = new OglGui::TextArea(this, wndWidth - 20, 3*line, "");
00047 
00048         mImageSet = new ImageSet(this, imWidth, imHeight, viewScale,
00049                                  nrImOnRow, 5);
00050         mImageSet->SetImagesListener(this, IM_SET);
00051         mImageSet->ActivateInfoBox(false);
00052 
00053         mCurShotWnd = new ImagesWindow(this, wndWidth/4, wndHeight/4);
00054         mCurShotWnd->SetImagesListener(this, IM_CURRENT);
00055         mCurShotWnd->ActivateInfoBox(false);
00056 
00057         OglGui::Button* but;
00058         but = new OglGui::Button(this, 60, 22, "Prev");
00059         but->SetRepeatMode(true);
00060         but->SetButtonListener(this, BUT_PREV);
00061         but = new OglGui::Button(this, 60, 22, "Next");
00062         but->SetRepeatMode(true);
00063         but->SetButtonListener(this, BUT_NEXT);
00064     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:25:18 2011 for ImpalaSrc by  doxygen 1.5.1