+ /*
+ ** This method returns the vector of images selected by the user
+ ** return value std::vector<vtkImageData*>
+ */
+ std::vector<vtkImageData*> getVectImages();
+
+ /**
+ ** This methods connect the event in the class interfMainPanel with the world of the appli
+ **/
+ void onCreateContourSpline( );
+ void onCreateContourRectangle( );
+ void onCreateContourCircle( );
+ void onCreateContourLine( );
+ void onCreateContourPoints( );
+ void onCreateContourPolygon( );
+ void onCreateContourBullEye(wxPanel* pan);
+ /////////////////////////////////
+ void onDeleteContour();
+ void deleteContours( std::vector<std::string> keyNamesVector );
+ void deleteContour( std::string theKeyName );
+ void onDeleteContoursActSlice();
+ void onDeleteAllContours();
+ void deleteAllContours();
+ void setConceptValue( std::string name, int value );
+ ConceptDataWrap* getLastConceptData();
+ bool getIfConceptCheckedAt( std::string name, int pos );
+ void changeInstant();
+ int getNamesWrappingSize();
+ std::string getNameWrapping(int i);
+ void updateInstantOutlines();
+ void updateInstantImageData();
+ void updateInstantAxes();
+ void onChangeDeep(int val);
+///////////////////////////
+ void onCopy();
+ void onPaste();
+ void onUndo();
+ void onRedo();
+ void createCopyContourOf ( std::string anExistingKName, std::vector<int> &instantNoTouchData, bool append );
+ void createMirrorContourOf ( std::string anExistingKName, std::vector<int> &instantNoTouchData, bool append );
+///////////////////////7
+ void onLoad();
+ void onSave();
+ void onImport();
+ void onTest();
+ void openContours( FILE *pFile, FILE *pFileData, bool staticContour );
+ void RefreshInterface();
+ vtkImageData* getImageData();
+ void onSegmentationOneSlice(int isovalue,int sampling,int method);
+ void onSegmentationOneSliceITK(wxString distance, wxString sigma, wxString alfa, wxString beta, wxString propagation, wxString iterations, wxString inflation);
+ void SegmentationOneSlice( int x, int y, int z, int isovalue, int sampling, int method );
+ void SegmentationOneSliceITK(int x, int y, int z, wxString distance, wxString sigma, wxString alfa, wxString beta, wxString propagation, wxString iterations, wxString inflation);
+ void Mirror( int x, int y, int z, int isovalue, int sampling, int method );
+ int GetImageDataSizeZ();
+ void GetImageDataRange(double *range);
+ void onSegmentationAllSlice(int minZ,int maxZ,int isovalue,int sampling,int method);
+
+ //AD
+ void referenceLine();
+ void refLineHide();
+ void refLineShow();
+ void refLineChangeWidth(int width);
+
+ //AD
+ void onMirror();
+
+ //EED
+ void FlipContours(int typeContourFlip, int flipDirection);
+ void FlipSelectedContours(int flipDirection);
+ void FlipActualSliceContours(int flipDirection);
+ void FlipAllContours(int flipDirection);
+ void FlipLstOfContours(std::vector<std::string> lstNameThings, int flipDirection);
+
+//====================================================================================================
+
+ void showAxis(bool show);
+ void onRigidPressed();
+ void onWidthOfContour(double width);
+ int getColorWindow();
+ int getWindowLevel();
+ void onBrigthnessColorWindowLevel(int colorwindow,int windowlevel);
+ void onInterpolation(bool interpolate);
+ void onShowTextContour(bool show);
+ void onBeforeAfterContour(bool before, bool after);
+ void onJumpSlice(int step,int shift);
+ void onChangeInstant(std::string name,int actual);
+ void resetAppend();
+ void onSpreadAdd();
+ void onSpreadAddAll();
+ void onSpreadGo(int type);
+ void getInstantVector(std::vector<int>& tempVector);
+ std::vector<std::string> getOutlinesName(int slide);
+
+ //
+ //
+ // @param typeContourGroup - int The operation id (AND,OR,XOR,ALL=3)
+ //
+ void onInformationContourLabels(int typeContourGroup,int selection,int minimumZ,int maximumZ,int grayRangeMin, int grayRangeMax);
+ void onSaveResults(std::string directory,std::string namefile, std::string filename,
+ int typeContourGroup, int selection, int minZ, int maxZ, bool XYZValues, bool contourImage, bool statistics);
+ void SaveValuesXYZ(std::string directory,std::string namefile, int typeContourGroup);
+ void onChangeInstantInstantPanel(std::string name,int value, int minshow, int maxshow);
+ void onSnakePressed();
+ void saveFileWithContoursAutomatique();
+ void ShowResultImages(int typeContourGroup, int selection, int minZ, int maxZ );
+ wxPanel *getMaskImageViewPanel(wxWindow *parent);
+ void SetContourGroup(int contourGroup);
+ wxPanel *getThresholdImageViewPanel(wxWindow *parent);
+ wxPanel *getColorLayerImageViewPanel(wxWindow *parent);
+ void SetColorLayerImage(vtkImageData*);
+
+//CMRU 17-08-09-----------------------------------------------------------------------------------------------
+
+ /**
+ * Associates the String parameter with the contour
+ * @param label Label entered by the user
+ * @param manualBaseModel Currently selected contour
+ */
+ void onPrintLabel (wxString label, manualBaseModel* manualModel);