From: eduardo.davila@creatis.insa-lyon.fr Date: Mon, 13 Jan 2025 16:18:41 +0000 (+0100) Subject: Clean code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=41e0292e7196fcbc2d2578a8a595bd82dccba836;p=creaMaracasVisu.git Clean code --- diff --git a/bbtk/src/bbmaracasvisuShowNPoints.cxx b/bbtk/src/bbmaracasvisuShowNPoints.cxx index 94a80a9..fb51a02 100644 --- a/bbtk/src/bbmaracasvisuShowNPoints.cxx +++ b/bbtk/src/bbmaracasvisuShowNPoints.cxx @@ -108,7 +108,6 @@ void ShowNPoints::Process() mwxwidget->SetColour( bbGetInputColour() ); // mwxwidget->SetOpacity( bbGetInputOpacity() ); mwxwidget->SetRadio( bbGetInputRadio() ); - printf("EED ShowNPoints::Process flag 1 \n"); if ( backOpacity!=bbGetInputOpacity() ) { backOpacity = bbGetInputOpacity(); @@ -119,22 +118,16 @@ void ShowNPoints::Process() // firsttime=false; if ( mwxwidget->GetModelShowNPoints()->GetFirstTime()==false ) { - printf("EED ShowNPoints::Process flag 2.1 \n"); mwxwidget->DetectCollectionActive(); - printf("EED ShowNPoints::Process flag 2.2 \n"); } if ( mwxwidget->GetModelShowNPoints()->GetFirstTime()==true ) { - printf("EED ShowNPoints::Process flag 3 \n"); mwxwidget->GetModelShowNPoints()->SetFirstTime(false); mwxwidget->SetInitLstPoints( bbGetInputInitLstPointsX() , bbGetInputInitLstPointsY() , bbGetInputInitLstPointsZ() , bbGetInputInitLstLabels() , bbGetInputInitLstIndexs() ); } // } // firsttime OJO machete Eduardo pour ANDREAS a verificar - printf("EED ShowNPoints::Process flag 10 \n"); mwxwidget->AutoAddPoints(); - printf("EED ShowNPoints::Process flag 20 \n"); mwxwidget->TrackingPoint(); - printf("EED ShowNPoints::Process flag 30 \n"); bbSetOutputlstPointsX( mwxwidget->GetLstPointsX() ); bbSetOutputlstPointsY( mwxwidget->GetLstPointsY() ); bbSetOutputlstPointsZ( mwxwidget->GetLstPointsZ() );