]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx
no message
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContourMainFrame.cxx
index 0b9b0093ca848863a0138a948bc5c5e52e9132bc..1ff0de0ff5334b65aaf3a85d891659b9c0f1a1b5 100644 (file)
@@ -2320,35 +2320,25 @@ void wxContourMainFrame::onSpreadAdd(){
 
 
 void wxContourMainFrame::onSpreadAddAll(){
-    printf("EED wxContourMainFrame::onSpreadAddAll \n");
 //EED02
-
        std::vector<int> tempVector;
        _instantPanel->getInstant( tempVector );
-
        int minZ,maxZ;
     minZ       = 0;
     maxZ       = interfMainPanel::getInstance()->GetImageDataSizeZ();
-
        int z;
        int sizeLstContourThings;
-
        for ( z=minZ ; z<=maxZ ; z++ )
        {
                tempVector[1]=z;
                Instant instant(&tempVector);
                std::vector<ContourThing**> lstContourThings = kernelManager->getOutlinesAtInstant( &instant );
                sizeLstContourThings = lstContourThings.size();
-
-               printf("EED wxContourMainFrame::onSpreadAddAll z=%d size=%d\n",z,sizeLstContourThings);
-
                if (sizeLstContourThings>=1)
         {
-
             std::vector<double> vecX;
             std::vector<double> vecY;
             std::vector<double> vecZ;
-
             ContourThing **contourthing = lstContourThings[0];
                        manualBaseModel *cModel                         =  (*contourthing)->getModel();
                        int i,size = cModel->GetNumberOfPointsSpline();
@@ -2359,17 +2349,11 @@ void wxContourMainFrame::onSpreadAddAll(){
                                vecX.push_back(x);
                                vecY.push_back(y);
                                vecZ.push_back(z);
-                       }
-
+                       } // for i
             std::string val = kernelManager->onSpreadAdd(&vecX , &vecY , &vecZ, tempVector);
             interfMainPanel::getInstance()->appendStringSpread(val);
-
-               printf("EED wxContourMainFrame::onSpreadAddAll       ->  val=%s\n",val.c_str() );
-
-        }
-
-    }
-
+        }// if sizeLstContourThings
+    } // for z
 }