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

bool Impala::Visualization::RotorBrowser::RotorBrowser::VisualQueryKey ( int  c,
int  state 
) [inline]

Definition at line 699 of file RotorBrowser.h.

References CheckKBN(), DoVisualQuery(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GetCenter(), ILOG_USER, mActiveContext, mBrowseMode, MODE_CROSSBROWSER, and MODE_ROTORBROWSER.

Referenced by KeyboardCrossFunc(), and KeyboardRotorFunc().

00700     {
00701         String visStr = "";
00702         if (CheckKBN("VisualQuery_vissemgabor", c, state))
00703             visStr = "vissemgabor";
00704         if (CheckKBN("VisualQuery_vissem", c, state))
00705             visStr = "vissem";
00706         if (CheckKBN("VisualQuery_fusionvissemgabor", c, state))
00707             visStr = "fusionvissemgabor";
00708         if (CheckKBN("VisualQuery_labhistogram", c, state))
00709             visStr = "labhistogram";
00710 
00711         if (!visStr.empty())
00712         {
00713             int center = mActiveContext->GetCenter();
00714             if (mBrowseMode==MODE_CROSSBROWSER)
00715                 ILOG_USER("KB: CrossBrowser switching initialquery to " <<
00716                           visStr << " for active " << center);
00717             if (mBrowseMode==MODE_ROTORBROWSER)
00718                 ILOG_USER("KB: RotorBrowser generate visual " << visStr <<
00719                           " thread for active " << center);
00720             DoVisualQuery(visStr);
00721             return true;
00722         }
00723         return false;
00724     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:25:49 2011 for ImpalaSrc by  doxygen 1.5.1