]> Creatis software - creaMaracasVisu.git/commitdiff
Clean code
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Fri, 25 Aug 2023 15:57:02 +0000 (17:57 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Fri, 25 Aug 2023 15:57:02 +0000 (17:57 +0200)
bbtk/src/bbcreaMaracasVisuManualContourModel_Box.cxx

index 3a8922e5a170622c7f8f3d4877365569b4161234..19c5e65a297eebbedcc88400d109460faa908477 100644 (file)
@@ -839,7 +839,7 @@ void ManualContourModel_Box::Process()
 
 //    bbSetOutputOut( bbGetInputIn() );
 //    std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
-
+    printf("EED ManualContourModel_Box::Process  Start\n");
        if (bbGetInputActive()==true)
        {
                lstInconsistentContourY.clear();
@@ -934,12 +934,14 @@ void ManualContourModel_Box::Process()
                 ShiftValues( &lstOutX, &lstOutY, &lstOutZ, &lstIndexsOut );
             } // if OpenClose
        // Step 3.3. SIN Normalice points around contours       
-                       if (bbGetInputParam().size()==2)
+                       if (bbGetInputParam().size()==1)
                        {
+                printf("EED ManualContourModel_Box::Process Step 3.3. SIN   A\n");
                                if (bbGetInputParam()[0]==1) // type param 1
                                {
                     if (bbGetInputOpenClose()==true)
                     {
+                        printf("EED ManualContourModel_Box::Process Step 3.3. SIN   B\n");
                         RedistributionPointsAllContours_SIN( &lstOutX,&lstOutY,&lstOutZ,&lstIndexsOut);
                         ShiftValues( &lstOutX, &lstOutY, &lstOutZ, &lstIndexsOut );
                     } // if OpenClose
@@ -1008,6 +1010,8 @@ void ManualContourModel_Box::Process()
                        bbSetOutputLstPssblIncnsnstntCntrID( lstInconsistentContourID );
                } // if DoubleContour 
        } // if Active
+    printf("EED ManualContourModel_Box::Process  End\n");
+
 }
 
 //=====