Definition at line 53 of file Plot.h. References mDrawAxes, OglGui::OglWindow::mOglWnd, and mRange. Referenced by AutoScale(), Impala::Visualization::SimilarityPlotNeedleImage::FillPoints(), Impala::Core::VideoSet::ShotSegmenterGUI::HandleNewFrame(), and Impala::Visualization::SimilarityTableSetRank::UpdatePointPlot(). 00054 { 00055 double w=1., h=1.; 00056 if(mDrawAxes) 00057 { 00058 //reserve space for axes and text 00059 w = mOglWnd->width * 0.5; 00060 w = w/(w-20.0); 00061 h = mOglWnd->height * 0.5; 00062 h = h/(h-20.0); 00063 } 00064 mRange[0] = x*w; 00065 mRange[1] = y*h; 00066 mRange[2] = z; 00067 }
|