From cfe58681d8de1b0f2c1cefd53dd15e39984b4aff Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Mon, 7 Dec 2020 15:35:18 +0100 Subject: [PATCH] Update Threshold --- .../widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx | 4 +--- .../wxWindows/widgets/ThresholdImageView/LayerImageBase.cxx | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx index 0cfd883..0aaef03 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx @@ -69,8 +69,6 @@ void wxDlgTransformByDimensionBySpacingByPixel::GetTransformType( lstOptOperation[1]=_T("Keep the spacing of the Layer Image"); lstOptOperation[2]=_T("Use the same spacing of the Base Image"); - - wxRadioBox * radioOpts = new wxRadioBox(dial, -1, _T("Type of spacing transformation"), wxDefaultPosition, wxSize(250,160), 3 , lstOptOperation, 1, wxRA_SPECIFY_COLS); wxString str; @@ -328,7 +326,7 @@ void ColorLayerImageViewPanel::SetImage(vtkImageData *img) { _colorLayerImageViewManager->onThreshold(); RefreshView(); - } // _ative + } // _ative } void ColorLayerImageViewPanel::RefreshView() diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.cxx index cbf55cf..b40f815 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.cxx @@ -264,7 +264,7 @@ void LayerImageBase::SetNewSpacingLayer(double spc[3]) _newSpcLayer[1] = spc[1]; _newSpcLayer[2] = spc[2]; _imageChangeInformation->SetOutputSpacing( _newSpcLayer ); - +_imageChangeInformation->Update(); } -- 2.47.1