X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fbbs%2Fappli%2FexampleColorLayer.bbs;h=2a3fd264486cb1879fee25fbf020c7fa4a86d8cb;hb=25e3adf442d6a8d357d52410267445c54426c525;hp=7b2fad17d8cee662fefa81e4dc09cbea966663a4;hpb=e4ef2b5df5aac431ff3b806f83b7dd5e55e89d86;p=creaMaracasVisu.git diff --git a/bbtk/bbs/appli/exampleColorLayer.bbs b/bbtk/bbs/appli/exampleColorLayer.bbs index 7b2fad1..2a3fd26 100644 --- a/bbtk/bbs/appli/exampleColorLayer.bbs +++ b/bbtk/bbs/appli/exampleColorLayer.bbs @@ -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.3 BBS BlackBox Script -# - /home/mouton/Creatis/all/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleColorLayer.bbs +# - BBTKGEditor v 1.4 BBS BlackBox Script +# - /home/davila/Creatis/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleColorLayer.bbs # ---------------------------------- # BBTK GEditor Script @@ -43,22 +18,45 @@ category "" new ColorLayerImageView Box00 set Box00.PlainOrGradientColor "false" - set Box00.lstBaseColor "0 1 0 1 1 0 1 0 0" - set Box00.lstGreyLevelBoundaries "500 1200 1600 3000" + set Box00.lstBaseColor "1 0 0 0 1 0 0 0 1" + set Box00.lstGreyLevelBoundaries "500 1200 1600 4500" new LoadHola Box01 new ViewerNV Box02 - set Box02.nTypeView "0" new LayoutSplit Box03 set Box03.Orientation "H" +new vtkImageDataPointerRelay Box04 + +new RescaleSlopeIntercept Box05 + set Box05.A "0" + set Box05.B "1" + set Box05.OutputFormat "VTK_FLOAT" + set Box05.Type "2" + + +connect Box02.wxVtkBaseView2 Box00.WxVtkBaseView + +connect Box02.wxVtkBaseView3 Box00.WxVtkBaseView1 + +connect Box02.wxVtkBaseView4 Box00.WxVtkBaseView2 + +connect Box00.Widget Box03.Widget1 + +connect Box02.Widget Box03.Widget2 + +connect Box04.Out Box02.In + +connect Box04.Out Box00.In + +connect Box01.Out Box05.In + +connect Box05.Out Box04.In + -connect Box02.Widget Box03.Widget1 -connect Box00.Widget Box03.Widget2 -connect Box01.Out Box00.In -connect Box02.wxVtkBaseView1 Box00.WxVtkBaseView -connect Box01.Out Box02.In +# Complex input ports +message exec Box03