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

virtual void Impala::Application::SDash::IdentificationPane::ImageSelectionEvent ( Window src,
int  imIndex,
int  msg,
int  btn,
int  state,
void *  userData 
) [inline, virtual]

Reimplemented from OglGui::ImagesListener.

Definition at line 308 of file IdentificationPane.h.

References AddPositive(), OglGui::ViewStrip::FindIndexView(), Impala::Application::SDash::GuiEventListener::GuiEvent(), mGuiEventListener, mSimilarsViewStrip, and OglViewGetRoiInfo().

00309     {
00310         ViewStrip* vsP = (ViewStrip*) src;
00311         OGLVIEW* oglView = vsP->FindIndexView(imIndex);
00312         RoiInfo roiInfo = OglViewGetRoiInfo(oglView);
00313 
00314         if (btn==oglRightButton || msg == oglMouseDblClick)
00315         {
00316             if (vsP == mSimilarsViewStrip)
00317                 AddPositive(oglView);
00318         }
00319         else if (!(state&oglControl))
00320             // RvB: GuiEvent is geen goede naam. Zegt niks over het event.
00321             mGuiEventListener->GuiEvent(this, (void*) &roiInfo);
00322     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:16:05 2011 for ImpalaSrc by  doxygen 1.5.1