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

int Impala::Visualization::Window::SuggestWndWidth ( double  nrView,
int  imageWidth 
) [inline]

Definition at line 327 of file Window.h.

References Impala::CmdOptions::GetDouble(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetInt(), and SuggestWndWidth().

Referenced by SuggestWndWidth().

00328     {
00329         CmdOptions& options = CmdOptions::GetInstance();
00330         int reqWndWidth = options.GetInt("wndWidth");
00331         if (reqWndWidth != -1)
00332             return reqWndWidth;
00333         double viewScale = options.GetDouble("viewScale");
00334         return nrView * (viewScale * imageWidth + 5);
00335     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:51:34 2010 for ImpalaSrc by  doxygen 1.5.1