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

void Impala::Application::IDash::ScreenPlay::InitScreen ( int  w,
int  h,
SegmentationDocument segDoc 
) [inline, private]

Definition at line 101 of file ScreenPlayX.h.

References OglGui::B2B, OglGui::B2T, CHECK_LOOPVIDEO, OglGui::OglWindow::ConnectTo(), ILOG_DEBUG, OglGui::L2L, mNfiSixView, mNfiSixViewControl, mSegDoc, mVideoId, mVideoLabel, OglGui::R2R, OglGui::Window::RepositionViewports(), OglGui::Window::ScaleChildren(), OglGui::Window::SetAllowChildScaling(), Impala::Application::IDash::ScreenBase::SetAsBox(), OglGui::CheckBox::SetCheckBoxListener(), Impala::Application::IDash::NfiSixView::SetLoopVideo(), Impala::Application::IDash::NfiSixViewControl::SetNfiSixView(), OglGui::T2B, OglGui::T2T, and Impala::Visualization::Window::Window().

00102     {
00103         ILOG_DEBUG("constructing screen Play");
00104         mSegDoc  = segDoc;
00105         mVideoId = -1;
00106 
00107         mVideoLabel = new StaticText(this,0,h-80,w,80,"No video loaded");
00108         SetAsBox(mVideoLabel,false);
00109         mVideoLabel->ConnectTo(this, L2L|R2R|T2T|B2T);
00110 
00111         Window *footer = new Window(this,0,0,w,80);
00112         new Strut(footer,4000,1);
00113         new Strut(footer,40,1);
00114         mNfiSixViewControl = new NfiSixViewControl(footer,600,60,0);
00115         new Strut(footer, 100, 20);
00116         //mHasFile = false;
00117 
00118         CheckBox* cBox =
00119             new CheckBox(footer,180,60,"Loop Video",false,BEV_ETCHED);
00120         cBox->SetCheckBoxListener(this, CHECK_LOOPVIDEO);
00121 
00122         footer->RepositionViewports();
00123         footer->ScaleChildren();
00124         footer->ConnectTo(this,L2L|R2R|T2B|B2B);
00125         SetAsBox(footer,false);
00126 
00127         //start sixvid window
00128         mNfiSixView = new NfiSixView(this,0,80,w,h-160);
00129         mNfiSixView->SetLoopVideo(false);
00130         mNfiSixView->ConnectTo(this);
00131         SetAsBox(mNfiSixView,false);
00132 
00133         mNfiSixViewControl->SetNfiSixView(mNfiSixView);
00134 
00135         // Since we handle dynamic layout already
00136         SetAllowChildScaling(false);
00137     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:41:21 2010 for ImpalaSrc by  doxygen 1.5.1