X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_Icons_NDimensions%2FinterfMainPanel.h;h=8ac450a520c5732e5027a1ad7f854f4e27cb0120;hb=d159e387860d2e3a4af51d7b143e3e8a962dd205;hp=730796e21e8535a84081a5dd3ac719055628bd10;hpb=ffd5933600d8bad1de6ee62c305cc26a046166dd;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfMainPanel.h b/lib/Interface_Icons_NDimensions/interfMainPanel.h index 730796e..8ac450a 100644 --- a/lib/Interface_Icons_NDimensions/interfMainPanel.h +++ b/lib/Interface_Icons_NDimensions/interfMainPanel.h @@ -1,3 +1,28 @@ +/*# --------------------------------------------------------------------- +# +# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +# pour la Sant�) +# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +# Previous Authors : Laurent Guigues, Jean-Pierre Roux +# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil +# +# This software is governed by the CeCILL-B license under French law and +# abiding by the rules of distribution of free software. You can use, +# modify and/ or redistribute the software under the terms of the CeCILL-B +# license as circulated by CEA, CNRS and INRIA at the following URL +# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +# or in the file LICENSE.txt. +# +# As a counterpart to the access to the source code and rights to copy, +# modify and redistribute granted by the license, users are provided only +# with a limited warranty and the software's author, the holder of the +# economic rights, and the successive licensors have only limited +# liability. +# +# The fact that you are presently reading this means that you have had +# knowledge of the CeCILL-B license and that you accept its terms. +# ------------------------------------------------------------------------ */ + #ifndef __interfMainPanel_h_INCLUDED_H__ #define __interfMainPanel_h_INCLUDED_H__ @@ -144,6 +169,9 @@ public: int getWindowLevel(); void onBrigthnessColorWindowLevel(int colorwindow,int windowlevel); void onInterpolation(bool interpolate); + void onShowTextContour(bool show); + void onBeforAfterContour(bool before, bool after); + void onJumpSlice(int step,int shift); void onSpreadPressed(); void onConfigurationPressed(); void resetAppend(); @@ -170,7 +198,10 @@ public: virtual bool Show(bool show); void ShowResultImages(int typeContourGroup, int selection, int minZ, int maxZ); void SetContourGroup(int contourGroup); + void onFlipContours(); + void FlipContours(int typeContourFlip, int flipDirection); + //CMRU 29-08-09----------------------------------------------------------------------------------------------- /** @@ -178,7 +209,6 @@ public: */ void onPrintLabel(); - /** * Calculates the pixel value in milimeters according to the current contour if the selected contour is a Line Contour * @param size Size in milimeters of the selected contour @@ -266,6 +296,9 @@ private: wxPanel *testPanel; interfTestPanel *panelTest; + wxPanel *flipPanel; + interfFlipPanel *panelFlip; + wxPanel *mirrorPanel; interfMirrorPanel *panelMirror;