# --------------------------------------------------------------------- # # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image # pour la Santé) # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton # # 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/creaRigidRegistration/PackRecalage/bbs/appli/ExampleRecalage.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include creaMaracasVisu include PackRecalage include wx include vtk include creaImageIO author "jn.trillos44@uniandes.edu.co" description "Example of posible Recalage implementation" category "demo" new ViewerNV viewer set viewer.nTypeView "5" new ShowNPoints showNpoints set showNpoints.Radio "10" new ViewerNV viewer2 set viewer2.nTypeView "5" new ShowNPoints showNpoints2 set showNpoints2.Radio "10" new CalculateVectorBox vector1 new Transform2DBox transform set transform.CenterPoint "0,0,0" new ReSlicerBox reslice1 set reslice1.Origin "0,0,0" new ViewerNV viewer3 set viewer3.nTypeView "5" new CommandButton butExec new LayoutSplit tab1 set tab1.Orientation "H" new LayoutSplit hello set hello.Orientation "V" new LayoutSplit tab2 set tab2.Orientation "H" new LayoutTab main set main.Orientation "H" new vtkImageDataPointerRelay Box17 new ImagesChooserDialogBox Box18 new ImagesChooserDialogBox Box19 new vtkImageDataPointerRelay Box20 connect viewer.Renderer1 showNpoints.Renderer connect viewer.Point showNpoints.In connect viewer.BoxChange showNpoints.BoxExecute connect viewer2.Renderer1 showNpoints2.Renderer connect viewer2.Point showNpoints2.In connect viewer2.BoxChange showNpoints2.BoxExecute connect showNpoints.lstPointsX vector1.PointsX1 connect showNpoints2.lstPointsX vector1.PointsX2 connect showNpoints.lstPointsY vector1.PointsY1 connect showNpoints2.lstPointsY vector1.PointsY2 connect showNpoints.lstPointsZ vector1.PointsZ1 connect showNpoints2.lstPointsZ vector1.PointsZ2 connect transform.Out reslice1.Transform connect reslice1.Out viewer3.In connect showNpoints.Widget hello.Widget1 connect butExec.Widget hello.Widget2 connect hello.Widget tab1.Widget1 connect viewer.Widget tab1.Widget2 connect showNpoints2.Widget tab2.Widget1 connect viewer2.Widget tab2.Widget2 connect butExec.BoxChange viewer3.BoxExecute connect tab1.Widget main.Widget1 connect tab2.Widget main.Widget2 connect Box17.Out viewer2.In connect Box17.Out reslice1.In connect Box17.Out showNpoints2.Image connect Box18.Out Box17.In connect Box20.Out viewer.In connect Box20.Out showNpoints.Image connect Box19.Out Box20.In exec main