X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_ManagerContour_NDimensions%2FwxContourMainFrame.h;h=9c50da0afd030bf51d8881996113a0619818707e;hb=7d61ec98f760736e883639ad6f71b0c88e35a1a2;hp=21004c63d2766ea2574c70b14570e4264da9cca0;hpb=dfdd7c80dbd20fea642090201b64eb7119a144bf;p=creaContours.git diff --git a/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.h b/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.h index 21004c6..9c50da0 100644 --- a/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.h +++ b/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.h @@ -208,6 +208,7 @@ class wxContourMainFrame : public wxPanel { void onCreateContourCircle( ); void onCreateContourLine( ); void onCreateContourPoints( ); + void onCreateContourPolygon( ); void onCreateContourBullEye(wxPanel* pan); ///////////////////////////////// void onDeleteContour(); @@ -242,7 +243,7 @@ class wxContourMainFrame : public wxPanel { ///////////////////////7 void onLoad(); void onSave(); - + void onImport(); void openContours( FILE *pFile, FILE *pFileData, int version, bool staticContour ); void RefreshInterface(); @@ -369,6 +370,8 @@ class wxContourMainFrame : public wxPanel { void SetFileLocation(std::string newFileLocation); //------------------------------------------------------------------------------------------------------------ + void SetScalarRange(int grayRangeMin, int grayRangeMax); + //------------------------------------------------------------------------------------------------------------ private: @@ -448,6 +451,7 @@ private: void loadContours( FILE *pFile, bool staticContour ); void saveFileWithContours( std::string filename ); + void onLoadContours(std::string fileNameContourROI); int inredo; int inundo;