]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.h
*** empty log message ***
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContourMainFrame.h
index 21004c63d2766ea2574c70b14570e4264da9cca0..4b6ac62729b2880ad58c47c5bef8665d0710ed8a 100644 (file)
@@ -38,6 +38,8 @@
 
 #include "ThresholdImageView.h"
 #include "ThresholdImageViewPanel.h"
+//EED #include "ColorLayerImageView.h"
+//EED #include "ColorLayerImageViewPanel.h"
 
 
 //#include "ContourThing.h"
@@ -208,6 +210,7 @@ class wxContourMainFrame : public wxPanel {
        void onCreateContourCircle( );
        void onCreateContourLine( );
        void onCreateContourPoints( );
+       void onCreateContourPolygon( );
        void onCreateContourBullEye(wxPanel* pan);
        /////////////////////////////////
        void onDeleteContour();
@@ -242,7 +245,8 @@ class wxContourMainFrame : public wxPanel {
 ///////////////////////7
        void onLoad();
        void onSave();
-       
+       void onImport();
+       void onTest();
        void openContours( FILE *pFile, FILE *pFileData, int version, bool staticContour );
 
        void RefreshInterface();
@@ -319,6 +323,7 @@ class wxContourMainFrame : public wxPanel {
        wxPanel *getMaskImageViewPanel(wxWindow *parent);
        void SetContourGroup(int contourGroup);
        wxPanel *getThresholdImageViewPanel(wxWindow *parent);
+       wxPanel *getColorLayerImageViewPanel(wxWindow *parent);
 
 
 //CMRU 17-08-09-----------------------------------------------------------------------------------------------
@@ -369,6 +374,8 @@ class wxContourMainFrame : public wxPanel {
        void SetFileLocation(std::string newFileLocation);
 //------------------------------------------------------------------------------------------------------------
 
+       void SetScalarRange(int grayRangeMin, int grayRangeMax);
+
 //------------------------------------------------------------------------------------------------------------
        
 private:
@@ -413,14 +420,18 @@ private:
        
 
        // Contour Image Mask
-       ThresholdImageView              *_viewMaskImage;
-       ThresholdImageViewPanel *_viewMaskImagePanel;
+       ThresholdImageView                      *_viewMaskImage;
+       ThresholdImageViewPanel         *_viewMaskImagePanel;
        
        // Threshold Image 
-       ThresholdImageView              *_viewThresholdImage;
-       ThresholdImageViewPanel *_viewThresholdImagePanel;
-       
+       ThresholdImageView                      *_viewThresholdImage;
+       ThresholdImageViewPanel         *_viewThresholdImagePanel;
        
+       // Color Layer Image
+//EED  ColorLayerImageView                     *_viewColorLayerImage;
+//EED  ColorLayerImageViewPanel        *_viewColorLayerImagePanel;
+       wxPanel                                         *_viewColorLayerImagePanel;
+
        std::vector<vtkImageData*> _images;
 
        bool _actorPresent;
@@ -448,6 +459,7 @@ private:
        void loadContours( FILE *pFile, bool staticContour );
 
        void saveFileWithContours( std::string filename );
+       void onLoadContours(std::string fileNameContourROI);
 
        int inredo;
        int inundo;