Definition at line 26 of file VisualQueryEngine.h. References Impala::Core::Geometry::Rectangle::mBottom, Impala::Core::Geometry::Rectangle::mLeft, Impala::Core::Geometry::Rectangle::mRight, and Impala::Core::Geometry::Rectangle::mTop. Referenced by Impala::Visualization::RotorBrowser::RotorBrowser::DoQueryByRegion(). 00027 { 00028 double top, left, bottom, right; 00029 top = rect.mTop / (double)h; 00030 left = rect.mLeft / (double)w; 00031 bottom = rect.mBottom / (double)h; 00032 right = rect.mRight / (double)w; 00033 return QueryByRegion(keyframeID, left, top, right, bottom); 00034 }
|