Definition at line 86 of file ViewerPointCloudNavigator.h. References OglGui::OglWindow::H(), mMaxX, mMaxY, mMinX, mMinY, OglGui::ViewerPointCloud::MouseFunc(), mViewerPointCloud, OglGui::ViewerPointCloud::Point2Wnd(), and OglGui::OglWindow::W(). Referenced by MouseFunc(). 00087 { 00088 float virtX1 = mMinX, virtX2 = mMaxX; 00089 float virtY1 = mMinY, virtY2 = mMaxY; 00090 00091 mViewerPointCloud->Point2Wnd(virtX1, virtY1); 00092 mViewerPointCloud->Point2Wnd(virtX2, virtY2); 00093 00094 int vpcX = virtX1 + (x/(float)W()) * (virtX2-virtX1); 00095 int vpcY = virtY1 + (y/(float)H()) * (virtY2-virtY1); 00096 00097 mViewerPointCloud->MouseFunc(msg, btn, state, vpcX, vpcY); 00098 }
Here is the call graph for this function:
|