]> Creatis software - bbtk.git/blobdiff - packages/wxvtk/bbs/boxes/bbMIPWidget.bbs
Feature #1774
[bbtk.git] / packages / wxvtk / bbs / boxes / bbMIPWidget.bbs
index a8a5864f5a6cccccb5b61e163c584863757ea747..39dfa4380b6f05e674b7bc1afb9f679d8d128e52 100644 (file)
@@ -1,3 +1,29 @@
+ # ---------------------------------------------------------------------
+ #
+ # 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.
+ # ------------------------------------------------------------------------ */
+
+
 load wx
 load vtk
 load std
@@ -11,41 +37,41 @@ define MIPWidget wxvtk
   new LayoutLine controls
   new LayoutLine sliders
   new MIPCreator MIP
-  new Slider shift
-  new Slider scale
+##EED  new Slider shift
+##EED  new Slider scale
 #  new LayoutLine colourFrame
 #  new ColourSelectorButton colour
   new MultipleInputs refresh  
-  new Div div
+##EED  new Div div
 
   connect sliders.Widget controls.Widget1
 #  connect colourFrame.Widget controls.Widget2
 
 #  connect colour.Widget colourFrame.Widget1
-  connect shift.Widget sliders.Widget1
-  connect scale.Widget sliders.Widget2
+##EED  connect shift.Widget sliders.Widget1
+##EED  connect scale.Widget sliders.Widget2
   
-  connect shift.Out MIP.Shift
-  connect scale.Out div.In1
-  set div.In2 10
-  connect div.Out MIP.Scale
+##EED  connect shift.Out MIP.Shift
+##EED  connect scale.Out div.In1
+##EED  set div.In2 10
+##EED  connect div.Out MIP.Scale
 #  connect colour.Out MIP.Colour
 
-  connect shift.BoxChange refresh.In1
-  connect scale.BoxChange refresh.In2
+##EED  connect shift.BoxChange refresh.In1
+##EED  connect scale.BoxChange refresh.In2
 #  connect colour.BoxChange refresh.In3
 
 #  connect colourButton.BoxChange colour.BoxExecute
 
 #  set colourFrame.WinTitle "Colour"
   set controls.Orientation HORIZONTAL
-  set shift.Title "Shift"
-  set shift.Min 0
-  set shift.Max 500
-  set scale.Title "Scale x10"
-  set scale.Min 0
-  set scale.Max 500
-  set scale.In 10
+##EED  set shift.Title "Shift"
+##EED  set shift.Min 0
+##EED  set shift.Max 500
+##EED  set scale.Title "Scale x10"
+##EED  set scale.Min 0
+##EED  set scale.Max 500
+##EED  set scale.In 10
  
 #  set colourButton.Label "Colour"
 
@@ -53,8 +79,8 @@ define MIPWidget wxvtk
   input Title controls.WinTitle "Title of the control panel" 
   input In MIP.In "Input image"
 
-  input Scale scale.In "Initial scale"
-  input Shift shift.In "Initial shift"
+##EED  input Scale scale.In "Initial scale"
+##EED  input Shift shift.In "Initial shift"
 #  input Colour colour.In "Initial colour"
 
   input BoxExecute MIP.BoxExecute "Box execution"