]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/appli/ImagesCompare.bbs
#2847 CreaMiniTools Bug New Normal - Not show the VTK OutputWindow (with warnings...
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / ImagesCompare.bbs
index aa621573ff9b3863d5826606354e7261af71bf1f..e6c66e1f72b16b99b35e5ee3ab3fb778fe1c0c60 100644 (file)
@@ -1,31 +1,6 @@
-# ---------------------------------------------------------------------
-#
-# 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.
-# ------------------------------------------------------------------------ */
-
 # ----------------------------------
-# - BBTKGEditor v 1.2 BBS BlackBox Script
-# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/ImagesCompare.bbs
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/ImagesCompare.bbs
 # ----------------------------------
 
 # BBTK GEditor Script
@@ -41,110 +16,154 @@ include PackRecalage
 include creaImageIO
 include itk
 include toolsbbtk
+include creaVtk
 
 author "Author ??"
 description "Description ??"
 category "<VOID>"
 
-new ViewerNV Box03
+new creaMaracasVisu:ViewerNV Box03
 
-new ViewerNV Box06
+new creaMaracasVisu:ViewerNV Box06
   set Box06.nTypeView 0
 
-new LayoutSplit Box07
+new wx:LayoutSplit Box07
   set Box07.Orientation h
   set Box07.Proportion 25
   set Box07.WinHeight 800
   set Box07.WinTitle "3D Compare"
   set Box07.WinWidth 1200
 
-new IsoSurfaceWidget Box08
+new wxvtk:IsoSurfaceWidget Box08
   set Box08.Title "3D Surface"
 
-new LayoutSplit Box10
+new wx:LayoutSplit Box10
   set Box10.Proportion 75
   set Box10.WinTitle "3D surface"
 
-new ColorLayerImageView Box11
+new creaMaracasVisu:ColorLayerImageView Box11
+  set Box11.lstTransparenceBoundaries "0"
 
-new vtkImageDataPointerRelay Box13
+new vtk:vtkImageDataPointerRelay Box13
 
-new LayoutTab Box15
+new wx:LayoutTab Box15
 
-new CompareImagesWidget Box16
+new PackRecalage:CompareImagesWidget Box16
   set Box16.WinTitle "2D Compare"
 
-new vtkImageDataPointerRelay Box17
+new vtk:vtkImageDataPointerRelay Box17
 
-new LayoutLine Box18
+new wx:LayoutLine Box18
   set Box18.WinTitle "Color Layer"
 
-new LayoutTab Box19
-  set Box19.WinHide 800
-  set Box19.WinWidth 1100
-
-new ImagesChooserDialogBox Box20
+new creaImageIO:ImagesChooserDialogBox Box20
   set Box20.Title "Image 1"
 
-new ImagesChooserDialogBox Box21
+new creaImageIO:ImagesChooserDialogBox Box21
   set Box21.Title "Image 2"
 
-new anyItkImagePointerRelay Box23
+new itk:anyItkImagePointerRelay Box23
 
-new anyItkImagePointerRelay Box24
+new itk:anyItkImagePointerRelay Box24
 
-new ImageVtkPropertiesWidget Box26
+new toolsbbtk:ImageVtkPropertiesWidget Box26
 
-new ImageVtkPropertiesWidget Box27
+new toolsbbtk:ImageVtkPropertiesWidget Box27
 
-new ViewerNV Box28
+new creaMaracasVisu:ViewerNV Box28
 
-new ViewerNV Box29
+new creaMaracasVisu:ViewerNV Box29
 
-new LayoutSplit Box30
+new wx:LayoutSplit Box30
   set Box30.Proportion 87
 
-new LayoutSplit Box31
+new wx:LayoutSplit Box31
   set Box31.Proportion 87
 
-new LayoutSplit Box32
+new wx:LayoutSplit Box32
   set Box32.Orientation H
   set Box32.Proportion "50"
   set Box32.WinTitle "Image information"
 
+new creaVtk:OutputWindow Box33
+
+new wx:LayoutTab Box34
+  set Box34.WinHide 800
+  set Box34.WinWidth 1100
+
 
 connect Box03.Renderer1 Box08.vtkRenderer
+
 connect Box08.BoxChange Box03.BoxExecute
+
 connect Box13.Out Box08.In
+
 connect Box13.Out Box06.In
+
 connect Box13.Out Box11.In
-connect Box03.wxVtkBaseView4 Box11.WxVtkBaseView
+
 connect Box03.Widget Box07.Widget2
+
 connect Box10.Widget Box15.Widget1
+
 connect Box15.Widget Box07.Widget1
+
 connect Box17.Out Box03.In
+
 connect Box17.Out Box16.In2
+
 connect Box13.Out Box16.In1
+
 connect Box08.Widget Box10.Widget2
+
 connect Box06.Widget Box10.Widget1
+
 connect Box11.Widget Box18.Widget1
+
 connect Box18.Widget Box15.Widget3
-connect Box16.Widget Box19.Widget2
-connect Box07.Widget Box19.Widget1
+
 connect Box20.Out Box23.In
+
 connect Box23.Out Box13.In
+
 connect Box21.Out Box24.In
+
 connect Box24.Out Box17.In
+
 connect Box13.Out Box27.in
+
 connect Box17.Out Box26.in
+
 connect Box13.Out Box29.In
+
 connect Box17.Out Box28.In
+
 connect Box29.Widget Box30.Widget1
+
 connect Box27.widget Box30.Widget2
+
 connect Box28.Widget Box31.Widget1
+
 connect Box26.widget Box31.Widget2
+
 connect Box31.Widget Box32.Widget2
+
 connect Box30.Widget Box32.Widget1
-connect Box32.Widget Box19.Widget3
 
-exec Box19
+connect Box07.Widget Box34.Widget1
+
+connect Box16.Widget Box34.Widget2
+
+connect Box32.Widget Box34.Widget3
+
+connect Box03.wxVtkBaseView2 Box11.WxVtkBaseView
+
+connect Box03.wxVtkBaseView3 Box11.WxVtkBaseView1
+
+connect Box03.wxVtkBaseView4 Box11.WxVtkBaseView2
+
+
+
+# Complex input ports
+exec Box33
+exec Box34