X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=PackRecalage%2Fbbs%2Fappli%2FExampleRecalage3D1Point.bbg;h=ff4926a33dbcfa7dee12a4462856b6c53bbf965f;hb=3434008d599bd7c195b743856f3591994d6ad773;hp=560d7b36315a53db80192a87a4c827d6a8e7ff88;hpb=ab5334c59e38e205d1fd826dc7fed9454f5194ab;p=creaRigidRegistration.git diff --git a/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbg b/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbg index 560d7b3..ff4926a 100644 --- a/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbg +++ b/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbg @@ -1,29 +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 -# -# 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.4 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All5/creatools_source/creaRigidRegistration/PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbg +# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/appli/ExampleRecalage3D1Point_3a.bbg # ---------------------------------- APP_START @@ -32,178 +9,46 @@ DESCRIPTION:Recalage3D 1-point AUTHOR:info-dev@creatis.insa-lyon.fr COMPLEXBOX:FALSE COMPLEXINPUTS:0 -BOXES:36 +BOXES:11 BOX creaMaracasVisu:ViewerNV:viewer ISEXEC:FALSE -90.360135:-42.468343:-900.000000 -151.000135:-52.468343:-900.000000 +-78.223439:-100.062703:-900.000000 +-17.583439:-110.062703:-900.000000 PORT nTypeView:"5" FIN_BOX BOX creaMaracasVisu:ViewerNV:viewer2 ISEXEC:FALSE --47.024134:-12.908709:-900.000000 -13.615866:-22.908709:-900.000000 -PORT -nTypeView:"5" -FIN_BOX -BOX -wx:Slider:sdrAngleX -ISEXEC:FALSE --153.088264:-26.096799:-900.000000 --101.688264:-36.096799:-900.000000 -PORT -In:"0" -PORT -Max:"180" -PORT -Min:"-180" -PORT -Title:"Rotation angle in X Axis" -FIN_BOX -BOX -wx:Slider:sdrAngleY -ISEXEC:FALSE --124.807150:-48.145742:-900.000000 --73.407150:-58.145742:-900.000000 -PORT -In:"0" -PORT -Max:"180" -PORT -Min:"-180" -PORT -Title:"Rotation angle in Y Axis" -FIN_BOX -BOX -wx:Slider:sdrAngleZ -ISEXEC:FALSE --122.668078:-72.632880:-900.000000 --71.268078:-82.632880:-900.000000 -PORT -In:"0" -PORT -Max:"180" -PORT -Min:"-180" -PORT -Title:"Rotation angle in Z Axis" -FIN_BOX -BOX -wx:Slider:sdrScaleX -ISEXEC:FALSE --238.911928:-38.853711:-900.000000 --187.511928:-48.853711:-900.000000 -PORT -In:"100" -PORT -Max:"300" -PORT -Min:"10" -PORT -Title:"Scale in X Axis" -FIN_BOX -BOX -wx:Slider:sdrScaleY -ISEXEC:FALSE --251.610900:-55.346663:-900.000000 --200.210900:-65.346663:-900.000000 -PORT -In:"100" -PORT -Max:"300" -PORT -Min:"10" -PORT -Title:"Scale in Y Axis" -FIN_BOX -BOX -wx:Slider:sdrScaleZ -ISEXEC:FALSE --221.246429:-71.526605:-900.000000 --169.846429:-81.526605:-900.000000 -PORT -In:"100" -PORT -Max:"300" -PORT -Min:"10" -PORT -Title:"Scale in Z Axis" -FIN_BOX -BOX -PackRecalage:Transform3D1PointBox:transform -ISEXEC:FALSE --82.895553:-211.980656:-900.000000 --11.720553:-221.980656:-900.000000 -FIN_BOX -BOX -PackRecalage:ReSlicerBox:reslicer -ISEXEC:FALSE -9.868770:-240.662296:-900.000000 -55.443770:-250.662296:-900.000000 -FIN_BOX -BOX -std:MultipleInputs:mult -ISEXEC:FALSE -34.133463:-99.687937:-900.000000 -79.708463:-109.687937:-900.000000 -FIN_BOX -BOX -std:MultipleInputs:mult2 -ISEXEC:FALSE --306.113269:-114.895249:-900.000000 --260.538269:-124.895249:-900.000000 -FIN_BOX -BOX -std:MultipleInputs:mult3 -ISEXEC:FALSE --7.207547:-159.189958:-900.000000 -38.367453:-169.189958:-900.000000 -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:viewerResult -ISEXEC:FALSE -225.201963:-265.292080:-900.000000 -285.841963:-275.292080:-900.000000 +-9.071012:-101.575424:-900.000000 +51.568988:-111.575424:-900.000000 PORT nTypeView:"5" FIN_BOX BOX wx:LayoutSplit:imagesLayout ISEXEC:FALSE --40.421850:-472.113974:-900.000000 -5.153150:-482.113974:-900.000000 +-13.395914:-119.626520:-900.000000 +32.179086:-129.626520:-900.000000 PORT Orientation:"v" PORT Proportion:"50" FIN_BOX BOX -wx:LayoutLine:toolsLayout -ISEXEC:FALSE --270.366796:-208.839533:-900.000000 --212.806796:-218.839533:-900.000000 -PORT -Orientation:"v" -PORT -WinTitle:"Rotation" -FIN_BOX -BOX wx:LayoutSplit:resultLayout ISEXEC:FALSE -41.826255:-473.243255:-900.000000 -87.401255:-483.243255:-900.000000 +78.551776:-103.401289:-900.000000 +124.126776:-113.401289:-900.000000 PORT Proportion:"70" FIN_BOX BOX wx:LayoutSplit:main ISEXEC:TRUE --3.260949:-500.894082:-900.000000 -42.314051:-510.894082:-900.000000 +28.141037:-139.355096:-900.000000 +73.716037:-149.355096:-900.000000 PORT Orientation:"h" PORT @@ -216,199 +61,40 @@ FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box22 ISEXEC:FALSE --80.407015:12.725826:-900.000000 --9.232015:2.725826:-900.000000 +-26.597823:27.085923:-900.000000 +44.577177:17.085923:-900.000000 FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box23 ISEXEC:FALSE -78.836417:-15.052381:-900.000000 -150.011417:-25.052381:-900.000000 +49.827351:27.600195:-900.000000 +121.002351:17.600195:-900.000000 FIN_BOX BOX creaImageIO:ImagesChooserDialogBox:Box24 ISEXEC:FALSE --44.746941:47.713068:-900.000000 -26.428059:37.713068:-900.000000 +-26.429081:60.271568:-900.000000 +44.745919:50.271568:-900.000000 FIN_BOX BOX creaImageIO:ImagesChooserDialogBox:Box25 ISEXEC:FALSE -66.270272:48.049484:-900.000000 -137.445272:38.049484:-900.000000 +51.990104:61.564018:-900.000000 +123.165104:51.564018:-900.000000 FIN_BOX BOX -wx:LayoutTab:Box26 +PackRecalage:Recalage3D1PointWidget:Box52 ISEXEC:FALSE -75.709436:-446.477577:-900.000000 -133.269436:-456.477577:-900.000000 -PORT -WinTitle:"2D-Compare" +28.417586:-17.915301:-900.000000 +99.592586:-27.915301:-900.000000 FIN_BOX BOX -PackRecalage:CompareImagesWidget:Box27 +PackRecalage:CompareImagesWidget3D:Box20 ISEXEC:FALSE -30.818476:-420.063285:-900.000000 -101.993476:-430.063285:-900.000000 -PORT -WinTitle:"2D-Comparing" +18.654027:-58.445572:-900.000000 +89.829027:-68.445572:-900.000000 FIN_BOX -BOX -wx:LayoutSplit:Box28 -ISEXEC:FALSE -199.046104:-426.771380:-900.000000 -244.621104:-436.771380:-900.000000 -PORT -Orientation:"H" -PORT -Proportion:"50" -PORT -WinTitle:"3D-Comparing" -FIN_BOX -BOX -wx:LayoutLine:Box29 -ISEXEC:FALSE -135.414196:-398.280657:-900.000000 -192.974196:-408.280657:-900.000000 -FIN_BOX -BOX -wxvtk:IsoSurfaceWidget:Box30 -ISEXEC:FALSE -114.262492:-316.339524:-900.000000 -159.837492:-326.339524:-900.000000 -PORT -Title:"Reference image" -FIN_BOX -BOX -wxvtk:IsoSurfaceWidget:Box31 -ISEXEC:FALSE -187.729941:-322.707814:-900.000000 -233.304941:-332.707814:-900.000000 -PORT -Title:"Registration image" -FIN_BOX -BOX -wx:LayoutTab:Box32 -ISEXEC:FALSE --168.261119:-240.028813:-900.000000 --110.701119:-250.028813:-900.000000 -FIN_BOX -BOX -wx:LayoutLine:Box33 -ISEXEC:FALSE --207.303357:-208.910096:-900.000000 --149.743357:-218.910096:-900.000000 -PORT -WinTitle:"Scale" -FIN_BOX -BOX -wx:Slider:TranslateZ -ISEXEC:FALSE --178.833568:35.008744:-900.000000 --127.433568:25.008744:-900.000000 -FIN_BOX -BOX -wx:Slider:TranslateY -ISEXEC:FALSE --198.558287:50.632292:-900.000000 --147.158287:40.632292:-900.000000 -FIN_BOX -BOX -wx:Slider:TranslateX -ISEXEC:FALSE --220.976208:67.939091:-900.000000 --169.576208:57.939091:-900.000000 -FIN_BOX -BOX -wx:LayoutLine:Box37 -ISEXEC:FALSE --144.549789:-208.672448:-900.000000 --86.989789:-218.672448:-900.000000 -PORT -WinTitle:"Translate" -FIN_BOX -BOX -wx:LayoutTab:Box38 -ISEXEC:FALSE -134.239380:-364.807837:-900.000000 -191.799380:-374.807837:-900.000000 -FIN_BOX -BOX -wx:LayoutTab:Box39 -ISEXEC:FALSE -71.124395:-366.016312:-900.000000 -128.684395:-376.016312:-900.000000 -FIN_BOX -CONNECTIONS:62 -CONNECTION -viewer2:Point:transform:CenterPoint -NumberOfControlPoints:0 -CONNECTION -sdrAngleX:Out:transform:AngleX -NumberOfControlPoints:0 -CONNECTION -sdrAngleY:Out:transform:AngleY -NumberOfControlPoints:0 -CONNECTION -sdrAngleZ:Out:transform:AngleZ -NumberOfControlPoints:0 -CONNECTION -sdrScaleX:Out:transform:ScaleX -NumberOfControlPoints:0 -CONNECTION -sdrScaleY:Out:transform:ScaleY -NumberOfControlPoints:0 -CONNECTION -sdrScaleZ:Out:transform:ScaleZ -NumberOfControlPoints:0 -CONNECTION -viewer:Point:reslicer:Origin -NumberOfControlPoints:0 -CONNECTION -transform:Out:reslicer:Transform -NumberOfControlPoints:0 -CONNECTION -viewer:BoxChange:mult:In1 -NumberOfControlPoints:0 -CONNECTION -viewer2:BoxChange:mult:In2 -NumberOfControlPoints:0 -CONNECTION -sdrAngleX:BoxChange:mult:In3 -NumberOfControlPoints:0 -CONNECTION -sdrAngleY:BoxChange:mult:In4 -NumberOfControlPoints:0 -CONNECTION -sdrAngleZ:BoxChange:mult:In5 -NumberOfControlPoints:0 -CONNECTION -sdrScaleX:BoxChange:mult2:In1 -NumberOfControlPoints:0 -CONNECTION -sdrScaleY:BoxChange:mult2:In2 -NumberOfControlPoints:0 -CONNECTION -sdrScaleZ:BoxChange:mult2:In3 -NumberOfControlPoints:0 -CONNECTION -mult:BoxChange:mult3:In1 -NumberOfControlPoints:0 -CONNECTION -mult2:BoxChange:mult3:In2 -NumberOfControlPoints:0 -CONNECTION -mult3:BoxChange:transform:BoxExecute -NumberOfControlPoints:0 -CONNECTION -mult3:BoxChange:reslicer:BoxExecute -NumberOfControlPoints:0 -CONNECTION -reslicer:Out:viewerResult:In -NumberOfControlPoints:0 -CONNECTION -mult3:BoxChange:viewerResult:BoxExecute -NumberOfControlPoints:0 +CONNECTIONS:15 CONNECTION viewer:Widget:imagesLayout:Widget1 NumberOfControlPoints:0 @@ -416,15 +102,6 @@ CONNECTION viewer2:Widget:imagesLayout:Widget2 NumberOfControlPoints:0 CONNECTION -sdrAngleX:Widget:toolsLayout:Widget1 -NumberOfControlPoints:0 -CONNECTION -sdrAngleY:Widget:toolsLayout:Widget2 -NumberOfControlPoints:0 -CONNECTION -sdrAngleZ:Widget:toolsLayout:Widget3 -NumberOfControlPoints:0 -CONNECTION imagesLayout:Widget:main:Widget1 NumberOfControlPoints:0 CONNECTION @@ -434,9 +111,6 @@ CONNECTION Box22:Out:viewer2:In NumberOfControlPoints:0 CONNECTION -Box22:Out:reslicer:In -NumberOfControlPoints:0 -CONNECTION Box24:Out:Box22:In NumberOfControlPoints:0 CONNECTION @@ -446,84 +120,27 @@ CONNECTION Box25:Out:Box23:In NumberOfControlPoints:0 CONNECTION -Box27:Widget:Box26:Widget2 -NumberOfControlPoints:0 -CONNECTION -Box26:Widget:resultLayout:Widget1 -NumberOfControlPoints:0 -CONNECTION -reslicer:Out:Box27:In2 -NumberOfControlPoints:0 -CONNECTION -Box23:Out:Box27:In1 -NumberOfControlPoints:0 -CONNECTION -viewerResult:Widget:Box28:Widget2 -NumberOfControlPoints:0 -CONNECTION -Box28:Widget:Box26:Widget1 -NumberOfControlPoints:0 -CONNECTION -Box29:Widget:Box28:Widget1 -NumberOfControlPoints:0 -CONNECTION -sdrScaleX:Widget:Box33:Widget1 -NumberOfControlPoints:0 -CONNECTION -sdrScaleY:Widget:Box33:Widget2 +Box22:Out:Box52:Image1 NumberOfControlPoints:0 CONNECTION -sdrScaleZ:Widget:Box33:Widget3 +Box23:Out:Box52:Image2 NumberOfControlPoints:0 CONNECTION -Box33:Widget:Box32:Widget2 +Box20:Widget:resultLayout:Widget1 NumberOfControlPoints:0 CONNECTION -toolsLayout:Widget:Box32:Widget1 -NumberOfControlPoints:0 -CONNECTION -Box32:Widget:resultLayout:Widget2 -NumberOfControlPoints:0 -CONNECTION -TranslateX:Widget:Box37:Widget1 -NumberOfControlPoints:0 -CONNECTION -TranslateY:Widget:Box37:Widget2 -NumberOfControlPoints:0 -CONNECTION -TranslateZ:Widget:Box37:Widget3 -NumberOfControlPoints:0 -CONNECTION -Box37:Widget:Box32:Widget3 -NumberOfControlPoints:0 -CONNECTION -Box31:Widget:Box38:Widget2 -NumberOfControlPoints:0 +Box23:Out:Box20:Image1 +NumberOfControlPoints:2 +112.791573:-27.331705:-900.000000 +53.984684:-42.909939:-900.000000 CONNECTION -Box38:Widget:Box29:Widget2 +Box52:Out:Box20:Image2 NumberOfControlPoints:0 CONNECTION -Box39:Widget:Box29:Widget1 +Box52:BoxChange:Box20:BoxExecute NumberOfControlPoints:0 CONNECTION -Box30:Widget:Box39:Widget1 -NumberOfControlPoints:0 -CONNECTION -Box23:Out:Box30:In -NumberOfControlPoints:0 -CONNECTION -viewerResult:Renderer1:Box30:vtkRenderer -NumberOfControlPoints:0 -CONNECTION -Box30:BoxChange:mult3:In3 -NumberOfControlPoints:0 -CONNECTION -viewerResult:Renderer1:Box31:vtkRenderer -NumberOfControlPoints:0 -CONNECTION -Box31:BoxChange:mult3:In4 -NumberOfControlPoints:0 -CONNECTION -reslicer:Out:Box31:In -NumberOfControlPoints:0 +Box52:Widget:resultLayout:Widget2 +NumberOfControlPoints:1 +93.103615:-51.917995:-900.000000 APP_END