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

Impala::Visualization::SearchJudgeGui::SearchJudgeGui ( OglGui::Window parent,
int  wndWidth,
int  wndHeight,
int  nrImOnRow,
int  imWidth,
int  imHeight,
double  viewScale,
std::string  resultName1,
std::string  resultName2,
Core::Trec::SearchJudge judge,
Core::Trec::TrecTopic trecTopic,
Core::VideoSet::Segmentation shots,
Core::VideoSet::Keyframes keyframes,
Core::ImageSet::ImageSet imageSet 
) [inline]

Definition at line 27 of file SearchJudgeGui.h.

References mApText1, mApText2, mImageSet, mImagesStrip, mInfoText, mJudge, mKeyframes, mShots, mStringSelector1, mStringSelector2, mTrecTopic, OglGui::OglWindow::SetBorderType(), OglGui::Button::SetButtonListener(), and OglGui::StringSelector::SetStringListener().

00034                                                    :
00035         Window(parent, wndWidth, wndHeight, true)
00036     {
00037         mJudge = judge;
00038         mTrecTopic = trecTopic;
00039         mShots = shots;
00040         mKeyframes = keyframes;
00041         mImageSet = imageSet;
00042 
00043         int line = 20;
00044         mInfoText = new OglGui::TextArea(this, wndWidth-20, 1*line, "info");
00045         mInfoText->SetBorderType(0);
00046         mImagesStrip = new ImageStrip(this, imWidth, imHeight, viewScale,
00047                                       nrImOnRow);
00048         mImagesStrip->ActivateInfoBox(false);
00049         OglGui::Button* but = new OglGui::Button(this, 100, 22, "play");
00050         but->SetButtonListener(this, 0);
00051 
00052         OglGui::Strut* strut = new OglGui::Strut(this, 4000, 1);
00053         OglGui::TextArea* tArea;
00054         tArea = new OglGui::TextArea(this, 100, 1*line, resultName1);
00055         tArea->SetBorderType(0);
00056         mStringSelector1 = new OglGui::StringSelector(this,wndWidth/2,12*line);
00057         mStringSelector1->SetStringListener(this, 1);
00058         mApText1 = new OglGui::TextArea(this, 100, 1*line, "ap of result1");
00059 
00060         if (resultName2 == std::string(""))
00061             return;
00062 
00063         strut = new OglGui::Strut(this, 4000, 1);
00064         tArea = new OglGui::TextArea(this, 100, 1*line, resultName2);
00065         tArea->SetBorderType(0);
00066         mStringSelector2 = new OglGui::StringSelector(this,wndWidth/2,12*line);
00067         mStringSelector2->SetStringListener(this, 2);
00068         mApText2 = new OglGui::TextArea(this, 100, 1*line, "ap of result2");
00069     }

Here is the call graph for this function:


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