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

int Impala::Visualization::Window::SuggestWndHeight ( double  nrView,
int  imageHeight 
) [inline]

Definition at line 338 of file Window.h.

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

Referenced by SuggestWndHeight().

00339     {
00340         CmdOptions& options = CmdOptions::GetInstance();
00341         int reqWndHeight = options.GetInt("wndHeight");
00342         if (reqWndHeight != -1)
00343             return reqWndHeight;
00344         double viewScale = options.GetDouble("viewScale");
00345         return nrView * (viewScale * imageHeight + 5);
00346     }

Here is the call graph for this function:


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