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

void Impala::Application::IDash::ScreenQuery::AddConceptToQuery ( std::string  name,
bool  selected = true 
) [inline, private]

Definition at line 191 of file ScreenQuery.h.

References AddComponent(), Impala::Application::IDash::ScreenBase::Engine(), GetConceptBar(), Impala::Application::IDash::TrecEngine::ImHeight(), Impala::Application::IDash::TrecEngine::ImScale(), Impala::Application::IDash::TrecEngine::ImWidth(), mConceptBars, mSuggestionWnd, OglGui::Window::RepositionViewports(), OglGui::Window::ScaleChildren(), SEL_FROMSET, Impala::Visualization::GUI::PreviewBar::SetPreviewBarSelectionListener(), Impala::Visualization::GUI::PreviewBar::SetType(), Impala::Application::IDash::TrecEngine::ThreadSet(), and OglGui::OglWindow::W().

Referenced by PreviewBarSelectionEvent().

00192     {
00193         if (!GetConceptBar(name)) {
00194             int type = 0;
00195 
00196             Visualization::GUI::ConceptPreviewBar *nconcept =
00197                 new Visualization::GUI::ConceptPreviewBar(mSuggestionWnd,
00198                     mSuggestionWnd->W()/3.1, 60, name, Engine()->ThreadSet(), 0.0, selected,
00199                     Engine()->ImWidth(), Engine()->ImHeight(), Engine()->ImScale());
00200             nconcept->SetPreviewBarSelectionListener(this, (void*)SEL_FROMSET);
00201             nconcept->SetType(0);
00202             mConceptBars[name] = nconcept;
00203 
00204             AddComponent("CONCEPT:" + name);
00205 
00206             mSuggestionWnd->RepositionViewports();
00207             mSuggestionWnd->ScaleChildren();
00208 
00209         }
00210     }

Here is the call graph for this function:


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