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

Impala::Application::WindowShowVidSet::WindowShowVidSet ( int  width,
int  height 
) [inline]

Definition at line 53 of file mainShowVidSet.cpp.

References BuildGUI(), Impala::CmdOptions::GetDouble(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetString(), OglGui::Window::GuiGeneralName(), ILOG_INFO, InitData(), OglGui::OglWindow::mOglWnd, mViewScale, Impala::Visualization::OptionsLooks(), and OglGui::View::SetTags().

00053                                             : Window(0, 0, width, height, true)
00054     {
00055         CmdOptions& options = CmdOptions::GetInstance();
00056         mViewScale = options.GetDouble("viewScale");
00057 
00058         // added by Jun Wu, on Sep 2009
00059         // adding title option, which loads title string from the .ini file.
00060         String title = options.GetString("title");
00061         // RvB: Next line is wrong, do not mix new with malloc/free
00062         mOglWnd->topTitle = new char [1024];
00063         strcpy(mOglWnd->topTitle,title.c_str());
00064         //delete mOglWnd->topTitle;//do not release it.
00065         //mOglWnd->topTitle = "MediaMill Semantic Video Search Engine";     
00066 
00067         ILOG_INFO("loading data");
00068         InitData();
00069         ILOG_INFO("building GUI");
00070         View::SetTags(selectableTag | showBgTag | showBorderTag |
00071                       showBorderTag |showTitleTag);
00072 
00073         BuildGUI(width, height);
00074         this->GuiGeneralName("WindowShowVidSet");
00075         OptionsLooks(this);
00076     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:14:31 2011 for ImpalaSrc by  doxygen 1.5.1