From e32d2f64d379e26224d4a3b67fa8f3ea7670c2ca Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Thu, 5 Dec 2019 12:04:22 +0100 Subject: [PATCH] #3216 creaContours Feature New Normal - vtk8itk4wx3-mingw64 --- .../interfToolsPanels.h | 15 --------------- .../wxContourMainFrame.cxx | 2 ++ 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/lib/Interface_Icons_NDimensions/interfToolsPanels.h b/lib/Interface_Icons_NDimensions/interfToolsPanels.h index 6279a6b..4ee437e 100644 --- a/lib/Interface_Icons_NDimensions/interfToolsPanels.h +++ b/lib/Interface_Icons_NDimensions/interfToolsPanels.h @@ -37,23 +37,14 @@ class interfConfigurationPanel public: interfConfigurationPanel(wxWindow * parent); ~interfConfigurationPanel(); - - - private: - void onWidthOfContour(wxScrollEvent& event); - void onBrigthnessColorWindowLevel(wxScrollEvent& event); - void OnInterpolation(wxCommandEvent& event); - - wxSlider* _withOfContourLine; wxSlider* _brithtnessWindowLevel; wxSlider* _brithtnessColorLevel; wxCheckBox* _interpolationCheckBox; - }; class interfSpreadPanel @@ -62,22 +53,16 @@ class interfSpreadPanel public: interfSpreadPanel(wxWindow * parent); ~interfSpreadPanel(); - void appendStringSpread(std::string val); void setStringSpread(std::string stringtemp); private: - wxRadioBox *_spreadMethodRadiobox; wxStaticText *_staticTextSpread; wxTextCtrl *_wxtextctrlSpread; - void onSpreadReset(wxCommandEvent& event); void onSpreadAdd(wxCommandEvent& event); void onSpreadAddAll(wxCommandEvent& event); void onSpreadGo(wxCommandEvent& event); - - - }; class interfInformationPanel diff --git a/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx b/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx index e55f284..e18f7d6 100644 --- a/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx +++ b/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx @@ -3116,6 +3116,7 @@ void wxContourMainFrame::SaveImageResult(std::string directory,std::string namef valueChInfo->SetInputData(value); #endif valueChInfo->SetSpacingScale(spc); + valueChInfo->Update(); vtkMetaImageWriter *writerValueImage = vtkMetaImageWriter::New( ); //EED 2017-01-01 Migration VTK7 @@ -3146,6 +3147,7 @@ void wxContourMainFrame::SaveImageResult(std::string directory,std::string namef maskChInfo->SetInputData(mask); #endif maskChInfo->SetSpacingScale(spc); + maskChInfo->Update(); vtkMetaImageWriter *writerMaskImage = vtkMetaImageWriter::New( ); //EED 2017-01-01 Migration VTK7 -- 2.47.1