Definition at line 193 of file ViewerPointCloud.h. References OglGui::ViewerPoint::cMagicNr, OglGui::OglWindow::H(), OglGui::OglWindow::mOglWnd, mPtDocX, mPtDocY, mScale, OglGui::ViewerPoint::PointXY(), and OglGui::OglWindow::W(). Referenced by HandleMouseMoveOnDisplay(). 00194 { 00195 float w = W(); 00196 float h = H(); 00197 float hW = W()/2.f, hH = H()/2.f; 00198 float offX = hW - mPtDocX; 00199 float offY = hH - mPtDocY; 00200 00201 LIST *obj, *objList = mOglWnd->objectList; 00202 ForAllElements(obj, objList) 00203 { 00204 OGLVIEW* view = (OGLVIEW*) obj->info; 00205 if (!(view->SysData2 == (void*)ViewerPoint::cMagicNr)) 00206 continue; 00207 ViewerPoint* vp = (ViewerPoint*) view->SysData1; 00208 00209 if (view->tags & selectedTag) 00210 vp->PointXY((view->x + view->w/2.f - hW)/mScale + offX, 00211 (view->y + view->h/2.f - hH)/mScale + offY); 00212 } 00213 }
Here is the call graph for this function:
|