]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_N_ViewersWidget.h
#3472 TDx
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxMaracas_N_ViewersWidget.h
index b20c91f5c5e8373033270cc791c9cce7675b93ee..fbe031d0046fb99f8edb13c35047bb3d9167479b 100644 (file)
@@ -1,10 +1,35 @@
+/*# ---------------------------------------------------------------------
+#
+# 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.
+# ------------------------------------------------------------------------ */
+
 /*=========================================================================
 
   Program:   wxMaracas
   Module:    $RCSfile: wxMaracas_N_ViewersWidget.h,v $
   Language:  C++
-  Date:      $Date: 2010/10/23 12:01:32 $
-  Version:   $Revision: 1.12 $
+  Date:      $Date: 2012/11/15 14:14:35 $
+  Version:   $Revision: 1.14 $
 
   Copyright: (c) 2002, 2003
   License:
@@ -98,6 +123,8 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel
        void SetImage( vtkImageData *image      );
        void ConfigureVTK();
        void SetType(std::vector<int>* type);
+    void SetTDxWindow(int tdxwindow);
+
        void UpdateLayout(vtkImageData* imagedata);
 //     double GetZ(int iWin);
        double GetX();
@@ -105,9 +132,10 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel
        double GetZ();
 
        void setColorTransferFunction(vtkColorTransferFunction* colortable);
+    void SetColorWindowLevel(double colorWindow, double colorLevel);
+
+       void SetInterpolate(bool interpolate);
 
-       void setWindowLevel(double level);
-       void setColorLevel(double level);
 
        //------------------------------------------------------------------------------------------------------------
        // Attributes
@@ -123,12 +151,9 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel
        wxMaracas_ViewerWidget  *wxwindow2;
        wxMaracas_ViewerWidget  *wxwindow3;
        wxMaracas_ViewerWidget  *wxwindow4;
-
        wxWindow *_currentwxw;
-
-
        std::vector<int> *nTypeView;
-
+    int nTDxWindow;
        vtkMPRBaseData* mvtkmprbasedata;
 
        void invariant();