Reimplemented from Impala::Application::MediaTable::TableDataViewController. Definition at line 109 of file TableViewerPointCloud.h. References OglGui::ViewerPoint::cMagicNr, Impala::Application::MediaTable::TableDataView::DoUpdateSelectionEvent(), OglGui::ViewerPoint::GetId(), Impala::Application::MediaTable::TableDataView::GetMarkById(), Impala::Application::MediaTable::TableDataViewController::GetTableDataView(), Impala::Application::MediaTable::TableDataViewController::MarkToColor(), OglGui::OglWindow::mOglWnd, mSkipUpdateSelectionEvent, Impala::Application::MediaTable::TableDataViewController::SetMarkById(), and Impala::Application::MediaTable::TableDataViewController::TransformMarkedTo(). 00110 { 00111 if(sourcemask == 1 || targetmask == 1) 00112 { 00113 LIST *obj, *objList = mOglWnd->objectList; 00114 ForAllElements(obj, objList) 00115 { 00116 OGLVIEW* view = (OGLVIEW*) obj->info; 00117 00118 if (view && (view->tags & selectedTag) && 00119 (view->SysData2 == (void*)OglGui::ViewerPoint::cMagicNr)) 00120 { 00121 OglGui::ViewerPoint* vp; 00122 vp = (OglGui::ViewerPoint*) view->SysData1; 00123 if (vp) 00124 { 00125 long long id = vp->GetId(); 00126 long row = (long) id; 00127 int mark = GetTableDataView()->GetMarkById(row); 00128 if(sourcemask == 1) 00129 mark |= targetmask; 00130 else { 00131 mark &= !(-sourcemask); 00132 } 00133 //mark &= !1; 00134 SetMarkById(row, mark); 00135 view->borderCol = MarkToColor(mark); 00136 } 00137 } 00138 00139 } 00140 mSkipUpdateSelectionEvent = true; 00141 GetTableDataView()->DoUpdateSelectionEvent(); 00142 } else 00143 TableDataViewController:: 00144 TransformMarkedTo(sourcemask,targetmask); 00145 00146 }
Here is the call graph for this function:
|