]> Creatis software - creaMaracasVisu.git/commitdiff
#2864 creaMaracasVisu Feature New Normal - Manual Paint , modify external image
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Wed, 2 Mar 2016 23:40:57 +0000 (00:40 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Wed, 2 Mar 2016 23:40:57 +0000 (00:40 +0100)
lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx
lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/BrushFilter.cpp
lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/ManualPaintModel.cpp
lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/ManualPaintPanel.cpp

index 371951cf4411b4fb5eccae9138f044e129be3e64..1e05db5ff9c817d8e90bd968c20be2f45a2ae944 100644 (file)
@@ -304,12 +304,12 @@ void ColorLayerImageViewPanel::SetImage(vtkImageData *img)
                    _sl_SliceImageZ->SetRange( 0 , dim[2] );
                }
 
-printf("EED ColorLayerImageViewPanel::SetImage  UUPPSS----------------------\n"  );
-printf("EED ColorLayerImageViewPanel::SetImage  UUPPSS----------------------\n"  );
-printf("EED ColorLayerImageViewPanel::SetImage  UUPPSS----------------------\n"  );
-printf("EED ColorLayerImageViewPanel::SetImage  UUPPSS----------------------\n"  );
-printf("  Here I have to analyse the spacing and size image to calculate new spacingvv\n"  );
-printf("  I need the caracteristics of the base image\n"  );
+//printf("EED ColorLayerImageViewPanel::SetImage  UUPPSS----------------------\n"  );
+//printf("EED ColorLayerImageViewPanel::SetImage  UUPPSS----------------------\n"  );
+//printf("EED ColorLayerImageViewPanel::SetImage  UUPPSS----------------------\n"  );
+//printf("EED ColorLayerImageViewPanel::SetImage  UUPPSS----------------------\n"  );
+//printf("  Here I have to analyse the spacing and size image to calculate new spacingvv\n"  );
+//printf("  I need the caracteristics of the base image\n"  );
 //                     GetColorLayerImageViewManager()->GetwxVtkBaseView(0);
 
 
@@ -335,8 +335,6 @@ printf("  I need the caracteristics of the base image\n"  );
                        typeOfTransformation = _fitting_mode;
                        } // _fitting_mode -1
 
-printf("EED ColorLayerImageViewPanel::SetImage %d\n", typeOfTransformation );
-
                        //EO CM
             if (typeOfTransformation==1)  // make dimensions equals
             {
index 7e5e76e053466852b97501e80cf761cc407893a3..7a8b873dede432bce859965aa3b1ca5c8d0ff03e 100644 (file)
@@ -101,9 +101,6 @@ void BrushFilter::FindMinMaxBrush(int &minX, int &maxX, int &minY, int &maxY,
 //---------------------------------------------------------------------------
 void BrushFilter::Run() // virtual
 {
-
-printf("EED nBrushFilter::Run  _RangeMax %d \n",_RangeMax);
-
        if (_image != NULL)
        {
                float value = (float) _graylevel;
index 0b81afae1286a814d8357d407350f8f2301f91d6..fd71dd68ae66cf647bd8f9afcefa8facd33c466e 100644 (file)
@@ -50,7 +50,6 @@ void ManualPaintModel::SetActive( bool active )
 //---------------------------------------------------------------------------
 void ManualPaintModel::PaintImage(int px, int py, int pz) 
 {
-printf("EED   ManualPaintModel::PaintImage\n");
   if (_active==true)
   {
 
index d2fb292cda25d957223633943a8a73321fd4c4a1..d943678eb3e23c244eee8c0b8f97628931ed60c5 100644 (file)
@@ -39,7 +39,6 @@ ManualPaintPanel::~ManualPaintPanel()
 //---------------------------------------------------------------------------
 void ManualPaintPanel::SetManualPaintModel(ManualPaintModel* manualPaintModel)
 {
-    printf("EED %p ManualPaintPanel::SetManualPaintModel manualPaintModel=%p\n", this, manualPaintModel);
     _manualPaintModel = manualPaintModel;
 }
 
@@ -47,7 +46,6 @@ void ManualPaintPanel::SetManualPaintModel(ManualPaintModel* manualPaintModel)
 //---------------------------------------------------------------------------
 void ManualPaintPanel::SetBrushSize( int brushsize )
 {
-    printf("EED %p ManualPaintPanel::SetBrushSize manualPaintModel=%p\n", this, _manualPaintModel);
     if (_manualPaintModel!=NULL)
     {
         _manualPaintModel->SetBrushSize( brushsize );