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

void Impala::Visualization::Plot::Plot::Window2Pixel ( double  wx,
double  wy,
double &  px,
double &  py 
) [inline]

Definition at line 135 of file Plot.h.

References mCenter, OglGui::OglWindow::mOglWnd, mRange, mUserPan, and mUserZoom.

Referenced by IsVisible(), Impala::Visualization::SimilarityTableSetRank::MakePointVisible(), MakeVisibleAtPix(), and Impala::Visualization::SimilarityTableSetRank::ShowFloatWnd().

00136     {
00137         wx -= mCenter[0]-mUserPan[0]-(.5*mRange[0]/mUserZoom[0]);
00138         px = wx / ((mRange[0]/mUserZoom[0])/(double)mOglWnd->width);
00139         wy -= mCenter[1]-mUserPan[1]-(.5*mRange[1]/mUserZoom[1]);
00140         py = wy / ((mRange[1]/mUserZoom[1])/(double)mOglWnd->height);
00141     }


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