X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fbbs%2Fappli%2FexampleCutModule.bbs;h=64228484c705b7d3ab57a01c3689235fce763d3d;hb=8696090eb299eb23ea9afaf070b1ffd853cdb196;hp=0b9c23154d4b24e601e31364c764fa0ec34e9e89;hpb=262d5abe9247ac141f42de90a4aead7db582776c;p=creaMaracasVisu.git diff --git a/bbtk/bbs/appli/exampleCutModule.bbs b/bbtk/bbs/appli/exampleCutModule.bbs index 0b9c231..6422848 100644 --- a/bbtk/bbs/appli/exampleCutModule.bbs +++ b/bbtk/bbs/appli/exampleCutModule.bbs @@ -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. +# ------------------------------------------------------------------------ */ + description "Cutter.. application that helps to clean the image" author "info-dev@creatis.insa-lyon.fr" category "example" @@ -10,25 +35,23 @@ load creaMaracasVisu load std load wx +new LoadHola reader -new LoadHola image #new FileSelector openFileDialog # set openFileDialog.Wildcard "(*.mhd)|*.mhd" -#new MetaImageReader image1 -# connect openFileDialog.Out image1.In +#new MetaImageReader reader1 +# connect openFileDialog.Out reader1.In #new ImageCastToUShort image -# connect image1.Out image.In +# connect reader1.Out image.In - -#new ViewerMPR view1 new ViewerNV view1 set view1.nTypeView "6" - connect image.Out view1.In + connect reader.Out view1.In new CutModule cut connect view1.Interactor1 cut.Interactor connect view1.Renderer1 cut.Renderer - connect image.Out cut.In + connect reader.Out cut.In new ViewerNV view2 set view2.nTypeView "6"