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

void Impala::Visualization::SimilarityTableSetRank::ShowFloatWnd ( Plot::Plot plot,
int  idx,
double  x,
double  y 
) [inline]

Definition at line 432 of file SimilarityTableSetRank.h.

References Impala::Visualization::ImagesWindow::AddImage(), FindImSetId(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get1(), mFloatIdx, mFloatWnd, mKeyframeSet, mSelectedRanking, Impala::Visualization::ImagesWindow::RemoveImages(), OglGui::OglWindow::SetDimensions(), OglGui::OglWindow::SetVisible(), ShowImageInfo(), Impala::Visualization::Plot::Plot::Window2Pixel(), OglGui::OglWindow::X(), and OglGui::OglWindow::Y().

Referenced by OnMouse().

00433     {
00434         if (!mFloatWnd)
00435             return;
00436         ShowImageInfo(idx);
00437         if (mFloatIdx != idx)
00438         {
00439             mFloatWnd->RemoveImages();
00440             Quid quid = mSelectedRanking->Get1(idx);
00441             int imSetId = FindImSetId(quid);
00442             mFloatWnd->AddImage(imSetId,mKeyframeSet);
00443             mFloatIdx = idx;
00444         }
00445         double wX, wY;
00446         plot->Window2Pixel(x,y,wX,wY);
00447         mFloatWnd->SetDimensions(plot->X()+wX+8,
00448                                  plot->Y()+wY-200,RETAIN,RETAIN);
00449         mFloatWnd->SetVisible(true);
00450     }

Here is the call graph for this function:


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