From 47d49bceea4f93ff4f57c40596960d042171abb4 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Thu, 3 Mar 2016 00:40:57 +0100 Subject: [PATCH] #2864 creaMaracasVisu Feature New Normal - Manual Paint , modify external image --- .../ColorLayerImageViewPanel.cxx | 14 ++++++-------- .../wxWindows/widgets/manualPaint/BrushFilter.cpp | 3 --- .../widgets/manualPaint/ManualPaintModel.cpp | 1 - .../widgets/manualPaint/ManualPaintPanel.cpp | 2 -- 4 files changed, 6 insertions(+), 14 deletions(-) diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx index 371951c..1e05db5 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx @@ -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 { diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/BrushFilter.cpp b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/BrushFilter.cpp index 7e5e76e..7a8b873 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/BrushFilter.cpp +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/BrushFilter.cpp @@ -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; diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/ManualPaintModel.cpp b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/ManualPaintModel.cpp index 0b81afa..fd71dd6 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/ManualPaintModel.cpp +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/ManualPaintModel.cpp @@ -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) { diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/ManualPaintPanel.cpp b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/ManualPaintPanel.cpp index d2fb292..d943678 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/ManualPaintPanel.cpp +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/ManualPaintPanel.cpp @@ -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 ); -- 2.47.1