]> Creatis software - creaContours.git/commitdiff
#3216 creaContours Feature New Normal - vtk8itk4wx3-mingw64
authorEduardo DAVILA <davila@ei-ed-606.creatis.insa-lyon.fr>
Thu, 5 Dec 2019 11:04:22 +0000 (12:04 +0100)
committerEduardo DAVILA <davila@ei-ed-606.creatis.insa-lyon.fr>
Thu, 5 Dec 2019 11:04:22 +0000 (12:04 +0100)
lib/Interface_Icons_NDimensions/interfToolsPanels.h
lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx

index 6279a6bd6442211753e7d212a4303dccdc1e87d9..4ee437e05a7b5201d38e04bd05dae17cf471149b 100644 (file)
@@ -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
index e55f2842c30928e00f0b311233f1ff988c3331ee..e18f7d654d8c3fc091ad28f16baf97dc088b4634 100644 (file)
@@ -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