]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.h
no message
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContourMainFrame.h
index 1e464e91928dfc49d66776a6d938a075b2d3af6c..4c148e6770dc3c4457c39e30b62d78741cf5bcb5 100644 (file)
 #include "manualContourModelLine.h"
 #include "manualViewLine.h"
 
+#include "ThresholdImageView.h"
+#include "ThresholdImageViewPanel.h"
+
+
 //#include "ContourThing.h"
 //#include "AxeThing.h"
 //#include "ImageSourceThing.h"
@@ -310,7 +314,11 @@ class wxContourMainFrame : public wxPanel {
        
        void ShowResultImages(int typeContourGroup, int selection, int minZ, int maxZ );
 
+       wxPanel *getThresholdImageViewPanel(wxWindow *parent);
 
+       void SetContourGroup(int contourGroup);
+
+       
 private:
        //------------------------------------------------------------------------------------------------------------
        //  Private methods
@@ -321,6 +329,8 @@ private:
        // Attributtes
        //------------------------------------------------------------------------------------------------------------
        
+       int _contourGroup;
+       
        static wxContourMainFrame* instance;
 
        KernelManagerContour* kernelManager;
@@ -349,15 +359,24 @@ private:
     long m_notebook_theme;
     int _numberOfVariablesStatistics;
        
-       vtkImageReslice * _imageReslicer;
-       vtkLookupTable * _thresholdTable;
+       vtkImageReslice         * _imageReslicer;
+       vtkLookupTable          * _thresholdTable;
        vtkImageMapToColors * _thresholdMapper;
-       vtkImageActor * _thresholdActor;
+       vtkImageActor           * _thresholdActor;
 
+       
+       ThresholdImageView              *_viewMaskImage;
+       ThresholdImageViewPanel *_viewMaskImagePanel;
+       
+       
+       
        std::vector<vtkImageData*> _images;
 
        bool _actorPresent;
 
+       
+       
+       
        //OutlineModelManager * _modelManager;
 
        
@@ -397,7 +416,8 @@ private:
        
        ContourExtractData      *_contourextractdata;
 
-       void GenerateContourExtractData();
+//EED  void GenerateContourExtractData();
+       
        void saveState();
        void loadState(std::string filename);
        void loadContours( FILE *pFile, bool staticContour );