Definition at line 423 of file SimilarityTableSetRank.h. References OglGui::OglWindow::H(), Impala::Visualization::Plot::Plot::IsVisible(), Impala::Visualization::Plot::Plot::MakeVisibleAtPix(), mPlotPoints, mPoints, Impala::Visualization::Plot::Points::PointX(), Impala::Visualization::Plot::Points::PointY(), Impala::Visualization::Plot::Points::Size(), OglGui::OglWindow::W(), and Impala::Visualization::Plot::Plot::Window2Pixel(). Referenced by SetCurrent(). 00424 { 00425 if (!mPlotPoints || idx < 0 || idx >= mPoints->Size()) 00426 return; 00427 00428 double px = mPoints->PointX(idx); 00429 double py = mPoints->PointY(idx); 00430 if (mPlotPoints->IsVisible(px,py)) 00431 return; 00432 double wX, wY; 00433 mPlotPoints->Window2Pixel(px,py,wX,wY); 00434 if (wX < 0) 00435 wX = 20; 00436 if (wX > mPlotPoints->W()) 00437 wX = mPlotPoints->W()-20; 00438 if (wY < 0) 00439 wY = 20; 00440 if (wY > mPlotPoints->H()) 00441 wY = mPlotPoints->H()-20; 00442 mPlotPoints->MakeVisibleAtPix(px,py,wX,wY); 00443 }
Here is the call graph for this function:
|