From: eduardo.davila@creatis.insa-lyon.fr Date: Wed, 20 Mar 2024 15:39:57 +0000 (+0100) Subject: #3468 CompareImages new version X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=21c5daa7a6e1b58f594d72f0240c38c4b13e04c1;p=creaRigidRegistration.git #3468 CompareImages new version --- diff --git a/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbg b/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbg index 5a71fbb..dcd6e37 100644 --- a/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbg +++ b/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbg @@ -1,41 +1,42 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbg +# - BBTKGEditor v 1.6 BBG BlackBox Diagram file +# - /Users/davila/Creatis/C23/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbg # ---------------------------------- APP_START CATEGORY:example DESCRIPTION:creatisRecalage AUTHOR:info-dev@creatis.insa-lyon.fr +EXPORTFORMAT:0 COMPLEXBOX:TRUE COMPLEXBOXNAME:CompareImagesSwitcherWidget_3Dp PACKAGENAME:PackRecalage COMPLEXOUTPUTS:1 COMPLEX_PORT Widget -9.779254:-145.273634:-900.000000 +12.745006:-161.854537:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:2 COMPLEX_PORT ImageVector1 --133.409322:201.831382:-900.000000 +-93.386525:60.549415:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT ImageVector2 --7.650970:201.506959:-900.000000 +-5.355679:60.452088:-900.000000 FIN_COMPLEX_PORT -BOXES:39 +BOXES:40 BOX PackRecalage:ImageSwitcherBox:switch ISEXEC:FALSE -132.146271:63.887922:-900.000000 -177.721271:53.887922:-900.000000 +92.502390:19.166377:-900.000000 +117.022390:16.666377:-900.000000 FIN_BOX BOX wx:CheckBox:checkS ISEXEC:FALSE -228.560359:105.616599:-900.000000 -274.135359:95.616599:-900.000000 +159.992251:31.684980:-900.000000 +181.777251:29.184980:-900.000000 PORT In:"true" PORT @@ -44,8 +45,8 @@ FIN_BOX BOX wx:Slider:sdrT ISEXEC:FALSE -166.856418:104.851197:-900.000000 -218.256418:94.851197:-900.000000 +116.799493:31.455359:-900.000000 +146.599493:28.955359:-900.000000 PORT In:"500" PORT @@ -58,258 +59,266 @@ FIN_BOX BOX wx:LayoutSplit:switchWindow ISEXEC:FALSE -9.170784:-129.015578:-900.000000 -54.745784:-139.015578:-900.000000 +11.070712:-150.332601:-900.000000 +33.830712:-152.832601:-900.000000 PORT Proportion:"90" +PORT +WinTitle:"Switcher" FIN_BOX BOX wx:LayoutLine:Box47 ISEXEC:FALSE -215.370456:14.508509:-900.000000 -272.930456:4.508509:-900.000000 +150.759319:4.352553:-900.000000 +184.079319:1.852553:-900.000000 PORT Orientation:H FIN_BOX BOX wx:LayoutLine:Box48 ISEXEC:FALSE -171.462072:-84.191621:-900.000000 -229.022072:-94.191621:-900.000000 +120.023450:-25.257486:-900.000000 +153.343450:-27.757486:-900.000000 FIN_BOX BOX creaMaracasVisu:ViewerNV:Box49 ISEXEC:FALSE --212.488065:-27.283436:-900.000000 --151.848065:-37.283436:-900.000000 +-96.028458:-16.207341:-900.000000 +-55.668458:-18.707341:-900.000000 PORT nTypeView:"-1" FIN_BOX BOX wx:LayoutSplit:Box10 ISEXEC:FALSE --59.661405:-102.024887:-900.000000 --14.086405:-112.024887:-900.000000 +-38.883692:-138.691650:-900.000000 +-16.123692:-141.191650:-900.000000 PORT Orientation:"H" FIN_BOX BOX wx:LayoutSplit:Box12 ISEXEC:FALSE --142.093048:-80.131087:-900.000000 --96.518048:-90.131087:-900.000000 +-93.887764:-111.585904:-900.000000 +-71.127764:-114.085904:-900.000000 FIN_BOX BOX PackRecalage:ImageSwitcherFilter:Box17 ISEXEC:FALSE --216.556769:16.785448:-900.000000 --170.981769:6.785448:-900.000000 +-92.191761:3.827540:-900.000000 +-69.661761:1.327540:-900.000000 FIN_BOX BOX vtk:GetVectorVtkImageDataElement:Box19 ISEXEC:FALSE --258.664040:125.670629:-900.000000 --187.489040:115.670629:-900.000000 +-123.478992:40.117378:-900.000000 +-99.643992:37.617378:-900.000000 PORT I:"1" FIN_BOX BOX vtk:GetVectorVtkImageDataElement:Box21 ISEXEC:FALSE --237.331791:102.628759:-900.000000 --166.156791:92.628759:-900.000000 +-108.546418:33.204817:-900.000000 +-84.711418:30.704817:-900.000000 PORT I:"1" FIN_BOX BOX std:MagicBox:Box22 ISEXEC:FALSE --152.501419:167.006478:-900.000000 --106.926419:157.006478:-900.000000 +-106.750993:50.101943:-900.000000 +-85.150993:47.601943:-900.000000 FIN_BOX BOX std:MagicBox:Box23 ISEXEC:FALSE --6.134009:165.138534:-900.000000 -39.440991:155.138534:-900.000000 +-4.293806:49.541560:-900.000000 +17.306194:47.041560:-900.000000 FIN_BOX BOX creaMaracasVisu:ViewerNV:Box24 ISEXEC:FALSE --132.228005:-26.178069:-900.000000 --71.588005:-36.178069:-900.000000 +-173.588539:-81.523570:-900.000000 +-133.228539:-84.023570:-900.000000 PORT nTypeView:"-1" FIN_BOX BOX PackRecalage:ImageSwitcherFilter:Box25 ISEXEC:FALSE --126.227114:16.945750:-900.000000 --80.652114:6.945750:-900.000000 +-167.086469:4.681027:-900.000000 +-144.556469:2.181027:-900.000000 FIN_BOX BOX vtk:GetVectorVtkImageDataElement:Box26 ISEXEC:FALSE --161.355106:124.464359:-900.000000 --90.180106:114.464359:-900.000000 +-191.676063:36.936610:-900.000000 +-167.841063:34.436610:-900.000000 PORT I:"0" FIN_BOX BOX vtk:GetVectorVtkImageDataElement:Box27 ISEXEC:FALSE --141.633460:101.959356:-900.000000 --70.458460:91.959356:-900.000000 +-177.870911:30.185109:-900.000000 +-154.035911:27.685109:-900.000000 PORT I:"0" FIN_BOX BOX creaMaracasVisu:ViewerNV:Box28 ISEXEC:FALSE --43.245529:-24.117119:-900.000000 -17.394471:-34.117119:-900.000000 +-32.526980:-78.734192:-900.000000 +7.833020:-81.234192:-900.000000 PORT nTypeView:"-1" FIN_BOX BOX wx:LayoutSplit:Box29 ISEXEC:FALSE --4.744306:-83.615406:-900.000000 -40.830694:-93.615406:-900.000000 +1.189206:-114.805770:-900.000000 +23.949206:-117.305770:-900.000000 FIN_BOX BOX PackRecalage:ImageSwitcherFilter:Box30 ISEXEC:FALSE --40.108671:13.992978:-900.000000 -5.466329:3.992978:-900.000000 +-26.666626:6.815431:-900.000000 +-4.136626:4.315431:-900.000000 FIN_BOX BOX vtk:GetVectorVtkImageDataElement:Box31 ISEXEC:FALSE --61.766167:127.417131:-900.000000 -9.408833:117.417131:-900.000000 +-43.236317:38.225139:-900.000000 +-19.401317:35.725139:-900.000000 PORT I:"2" FIN_BOX BOX vtk:GetVectorVtkImageDataElement:Box32 ISEXEC:FALSE --40.702352:104.106827:-900.000000 -30.472648:94.106827:-900.000000 +-28.491646:31.232048:-900.000000 +-4.656646:28.732048:-900.000000 PORT I:"2" FIN_BOX BOX -creaMaracasVisu:ViewerNV:Box33 +creaMaracasVisu:ImageChangeInformation:Box37 ISEXEC:FALSE -36.477662:-25.860257:-900.000000 -97.117662:-35.860257:-900.000000 -PORT -nTypeView:"-1" +-88.840316:-3.843721:-900.000000 +-65.690316:-6.343721:-900.000000 FIN_BOX BOX -PackRecalage:ImageSwitcherFilter:Box34 +creaMaracasVisu:ImageChangeInformation:Box38 ISEXEC:FALSE -38.165867:16.569185:-900.000000 -83.740867:6.569185:-900.000000 +-165.279240:-2.216118:-900.000000 +-142.129240:-4.716118:-900.000000 FIN_BOX BOX -vtk:GetVectorVtkImageDataElement:Box35 +creaMaracasVisu:ImageChangeInformation:Box39 ISEXEC:FALSE -60.238676:128.358331:-900.000000 -131.413676:118.358331:-900.000000 -PORT -I:"2" +-24.418248:-0.863293:-900.000000 +-1.268248:-3.363293:-900.000000 +FIN_BOX +BOX +wx:LayoutTab:Box41 +ISEXEC:FALSE +-83.157696:-100.808264:-900.000000 +-49.837696:-103.308264:-900.000000 FIN_BOX BOX -vtk:GetVectorVtkImageDataElement:Box36 +wx:LayoutLine:Box42 ISEXEC:FALSE -62.243691:106.121762:-900.000000 -133.418691:96.121762:-900.000000 +-80.172913:-94.750733:-900.000000 +-46.852913:-97.250733:-900.000000 PORT -I:"2" +WinTitle:"Plane XZ (rotation/slice Y)" FIN_BOX BOX -creaMaracasVisu:ImageChangeInformation:Box37 +wx:LayoutTab:Box44 ISEXEC:FALSE --209.755500:-6.100768:-900.000000 --138.580500:-16.100768:-900.000000 +-167.343844:-99.705676:-900.000000 +-134.023844:-102.205676:-900.000000 FIN_BOX BOX -creaMaracasVisu:ImageChangeInformation:Box38 +wx:LayoutLine:Box45 ISEXEC:FALSE --123.645359:-6.044734:-900.000000 --52.470359:-16.044734:-900.000000 +-166.783749:-94.133492:-900.000000 +-133.463749:-96.633492:-900.000000 +PORT +WinTitle:"Plane XY (rotation/slice Z)" FIN_BOX BOX -creaMaracasVisu:ImageChangeInformation:Box39 +wx:LayoutTab:Box46 ISEXEC:FALSE --34.307929:-4.891134:-900.000000 -36.867071:-14.891134:-900.000000 +-23.748311:-102.173738:-900.000000 +9.571689:-104.673738:-900.000000 FIN_BOX BOX -creaMaracasVisu:ImageChangeInformation:Box40 +wx:LayoutLine:Box50 ISEXEC:FALSE -43.993230:-5.079130:-900.000000 -115.168230:-15.079130:-900.000000 +-23.381065:-97.324301:-900.000000 +9.938935:-99.824301:-900.000000 +PORT +WinTitle:"Plane YZ (rotation/slice X)" FIN_BOX BOX -wx:LayoutTab:Box41 +wx:LayoutTab:Box51 ISEXEC:FALSE --209.029859:-60.984709:-900.000000 --151.469859:-70.984709:-900.000000 +26.284837:-103.104775:-900.000000 +59.604837:-105.604775:-900.000000 FIN_BOX BOX -wx:LayoutLine:Box42 +wx:LayoutLine:Box52 ISEXEC:FALSE --208.505223:-44.819919:-900.000000 --150.945223:-54.819919:-900.000000 +32.382029:-96.042609:-900.000000 +65.702029:-98.542609:-900.000000 PORT -WinTitle:"Plane XZ (rotation/slice Y)" +WinTitle:"Viewer help" FIN_BOX BOX -wx:LayoutTab:Box44 +creaMaracasVisu:HelpViewerNV:Box53 ISEXEC:FALSE --139.164728:-59.994069:-900.000000 --81.604728:-69.994069:-900.000000 +38.626906:-90.428699:-900.000000 +60.661906:-92.928699:-900.000000 FIN_BOX BOX -wx:LayoutLine:Box45 +creaMaracasVisu:wxVtkBaseView_Info:Box54 ISEXEC:FALSE --138.364593:-44.104777:-900.000000 --80.804593:-54.104777:-900.000000 +-99.994455:-30.626837:-900.000000 +-70.954455:-33.126837:-900.000000 PORT -WinTitle:"Plane XY (rotation/slice Z)" +InteractionType:"12" FIN_BOX BOX -wx:LayoutTab:Box46 +std:GetVectorDoubleElement:Box55 ISEXEC:FALSE --45.633169:-61.509307:-900.000000 -11.926831:-71.509307:-900.000000 +-120.262930:-53.254552:-900.000000 +-97.137930:-55.754552:-900.000000 +PORT +I:"0" FIN_BOX BOX -wx:LayoutLine:Box50 +std:GetVectorDoubleElement:Box56 ISEXEC:FALSE --45.108532:-45.344518:-900.000000 -12.451468:-55.344518:-900.000000 +-82.055993:-53.835490:-900.000000 +-58.930993:-56.335490:-900.000000 PORT -WinTitle:"Plane YZ (rotation/slice X)" +I:"1" FIN_BOX BOX -wx:LayoutTab:Box51 +std:MultipleInputs:Box57 ISEXEC:FALSE -24.231963:-60.518667:-900.000000 -81.791963:-70.518667:-900.000000 +-17.214029:-54.884857:-900.000000 +4.755971:-57.384857:-900.000000 FIN_BOX BOX -wx:LayoutLine:Box52 +std:MultipleInputs:Box59 ISEXEC:FALSE -25.032097:-44.629375:-900.000000 -82.592097:-54.629375:-900.000000 -PORT -WinTitle:"Plane YZ (rotation/slice X)" +-185.233594:-55.932074:-900.000000 +-163.263594:-58.432074:-900.000000 FIN_BOX -CONNECTIONS:58 +CONNECTIONS:61 CONNECTION checkS:Out:switch:On NumberOfControlPoints:0 @@ -347,9 +356,6 @@ CONNECTION switch:BoxChange:Box17:BoxExecute NumberOfControlPoints:0 CONNECTION -Box17:BoxChange:Box49:BoxExecute -NumberOfControlPoints:0 -CONNECTION ImageVector1:ImageVector1:Box22:In NumberOfControlPoints:0 CONNECTION @@ -368,39 +374,21 @@ CONNECTION Box21:Out:Box17:In2 NumberOfControlPoints:0 CONNECTION -Box25:BoxChange:Box24:BoxExecute -NumberOfControlPoints:0 -CONNECTION Box26:Out:Box25:In1 NumberOfControlPoints:0 CONNECTION Box27:Out:Box25:In2 NumberOfControlPoints:0 CONNECTION -Box30:BoxChange:Box28:BoxExecute -NumberOfControlPoints:0 -CONNECTION Box31:Out:Box30:In1 NumberOfControlPoints:0 CONNECTION Box32:Out:Box30:In2 NumberOfControlPoints:0 CONNECTION -Box34:BoxChange:Box33:BoxExecute -NumberOfControlPoints:0 -CONNECTION -Box35:Out:Box34:In1 -NumberOfControlPoints:0 -CONNECTION -Box36:Out:Box34:In2 -NumberOfControlPoints:0 -CONNECTION switch:BoxChange:Box30:BoxExecute NumberOfControlPoints:0 CONNECTION -switch:BoxChange:Box34:BoxExecute -NumberOfControlPoints:0 -CONNECTION Box29:Widget:Box10:Widget2 NumberOfControlPoints:0 CONNECTION @@ -419,12 +407,6 @@ CONNECTION Box23:Out:Box32:In NumberOfControlPoints:0 CONNECTION -Box22:Out:Box35:In -NumberOfControlPoints:0 -CONNECTION -Box23:Out:Box36:In -NumberOfControlPoints:0 -CONNECTION Box17:Out:Box37:In NumberOfControlPoints:0 CONNECTION @@ -443,12 +425,6 @@ CONNECTION Box39:Out:Box28:In NumberOfControlPoints:0 CONNECTION -Box34:Out:Box40:In -NumberOfControlPoints:0 -CONNECTION -Box40:Out:Box33:In -NumberOfControlPoints:0 -CONNECTION Box41:Widget:Box12:Widget1 NumberOfControlPoints:0 CONNECTION @@ -479,9 +455,51 @@ CONNECTION Box46:Widget:Box29:Widget1 NumberOfControlPoints:0 CONNECTION -Box33:Widget:Box52:Widget1 +Box51:Widget:Box29:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box53:widget:Box52:Widget1 NumberOfControlPoints:0 CONNECTION -Box51:Widget:Box29:Widget2 +Box54:WindowColorLevel:Box55:In +NumberOfControlPoints:0 +CONNECTION +Box54:WindowColorLevel:Box56:In +NumberOfControlPoints:0 +CONNECTION +Box55:Out:Box28:WindowLevel +NumberOfControlPoints:0 +CONNECTION +Box56:Out:Box28:ColorLevel +NumberOfControlPoints:0 +CONNECTION +Box30:BoxChange:Box57:In1 +NumberOfControlPoints:0 +CONNECTION +Box57:BoxChange:Box28:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box54:BoxChange:Box57:In2 +NumberOfControlPoints:0 +CONNECTION +Box49:wxVtkBaseView1:Box54:wxVtkBaseView +NumberOfControlPoints:0 +CONNECTION +Box17:BoxChange:Box49:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box25:BoxChange:Box59:In1 +NumberOfControlPoints:0 +CONNECTION +Box59:BoxChange:Box24:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box54:BoxChange:Box59:In2 +NumberOfControlPoints:0 +CONNECTION +Box56:Out:Box24:ColorLevel +NumberOfControlPoints:0 +CONNECTION +Box55:Out:Box24:WindowLevel NumberOfControlPoints:0 APP_END diff --git a/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs b/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs index 0a1439e..018a352 100644 --- a/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs +++ b/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs @@ -1,6 +1,6 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs +# - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/C23/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesSwitcherWidget_3Dp.bbs # ---------------------------------- include std @@ -18,108 +18,111 @@ description "creatisRecalage" category "example" -new ImageSwitcherBox switch +new PackRecalage:ImageSwitcherBox switch -new CheckBox checkS +new wx:CheckBox checkS set checkS.In "true" set checkS.Title "On" -new Slider sdrT +new wx:Slider sdrT set sdrT.In "500" set sdrT.Max "1000" set sdrT.Min "0" set sdrT.ReactiveOnTrack "True" -new LayoutSplit switchWindow +new wx:LayoutSplit switchWindow set switchWindow.Proportion "90" + set switchWindow.WinTitle "Switcher" -new LayoutLine Box47 +new wx:LayoutLine Box47 set Box47.Orientation H -new LayoutLine Box48 +new wx:LayoutLine Box48 -new ViewerNV Box49 +new creaMaracasVisu:ViewerNV Box49 set Box49.nTypeView "-1" -new LayoutSplit Box10 +new wx:LayoutSplit Box10 set Box10.Orientation "H" -new LayoutSplit Box12 +new wx:LayoutSplit Box12 -new ImageSwitcherFilter Box17 +new PackRecalage:ImageSwitcherFilter Box17 -new GetVectorVtkImageDataElement Box19 +new vtk:GetVectorVtkImageDataElement Box19 set Box19.I "1" -new GetVectorVtkImageDataElement Box21 +new vtk:GetVectorVtkImageDataElement Box21 set Box21.I "1" -new MagicBox Box22 +new std:MagicBox Box22 -new MagicBox Box23 +new std:MagicBox Box23 -new ViewerNV Box24 +new creaMaracasVisu:ViewerNV Box24 set Box24.nTypeView "-1" -new ImageSwitcherFilter Box25 +new PackRecalage:ImageSwitcherFilter Box25 -new GetVectorVtkImageDataElement Box26 +new vtk:GetVectorVtkImageDataElement Box26 set Box26.I "0" -new GetVectorVtkImageDataElement Box27 +new vtk:GetVectorVtkImageDataElement Box27 set Box27.I "0" -new ViewerNV Box28 +new creaMaracasVisu:ViewerNV Box28 set Box28.nTypeView "-1" -new LayoutSplit Box29 +new wx:LayoutSplit Box29 -new ImageSwitcherFilter Box30 +new PackRecalage:ImageSwitcherFilter Box30 -new GetVectorVtkImageDataElement Box31 +new vtk:GetVectorVtkImageDataElement Box31 set Box31.I "2" -new GetVectorVtkImageDataElement Box32 +new vtk:GetVectorVtkImageDataElement Box32 set Box32.I "2" -new ViewerNV Box33 - set Box33.nTypeView "-1" +new creaMaracasVisu:ImageChangeInformation Box37 -new ImageSwitcherFilter Box34 +new creaMaracasVisu:ImageChangeInformation Box38 -new GetVectorVtkImageDataElement Box35 - set Box35.I "2" +new creaMaracasVisu:ImageChangeInformation Box39 -new GetVectorVtkImageDataElement Box36 - set Box36.I "2" +new wx:LayoutTab Box41 -new ImageChangeInformation Box37 +new wx:LayoutLine Box42 + set Box42.WinTitle "Plane XZ (rotation/slice Y)" -new ImageChangeInformation Box38 +new wx:LayoutTab Box44 -new ImageChangeInformation Box39 +new wx:LayoutLine Box45 + set Box45.WinTitle "Plane XY (rotation/slice Z)" -new ImageChangeInformation Box40 +new wx:LayoutTab Box46 -new LayoutTab Box41 +new wx:LayoutLine Box50 + set Box50.WinTitle "Plane YZ (rotation/slice X)" -new LayoutLine Box42 - set Box42.WinTitle "Plane XZ (rotation/slice Y)" +new wx:LayoutTab Box51 -new LayoutTab Box44 +new wx:LayoutLine Box52 + set Box52.WinTitle "Viewer help" -new LayoutLine Box45 - set Box45.WinTitle "Plane XY (rotation/slice Z)" +new creaMaracasVisu:HelpViewerNV Box53 -new LayoutTab Box46 +new creaMaracasVisu:wxVtkBaseView_Info Box54 + set Box54.InteractionType "12" -new LayoutLine Box50 - set Box50.WinTitle "Plane YZ (rotation/slice X)" +new std:GetVectorDoubleElement Box55 + set Box55.I "0" + +new std:GetVectorDoubleElement Box56 + set Box56.I "1" -new LayoutTab Box51 +new std:MultipleInputs Box57 -new LayoutLine Box52 - set Box52.WinTitle "Plane YZ (rotation/slice X)" +new std:MultipleInputs Box59 connect checkS.Out switch.On @@ -133,38 +136,27 @@ connect Box48.Widget switchWindow.Widget2 connect Box12.Widget Box10.Widget1 connect Box10.Widget switchWindow.Widget1 connect switch.BoxChange Box17.BoxExecute -connect Box17.BoxChange Box49.BoxExecute connect Box22.Out Box19.In connect Box23.Out Box21.In connect Box19.Out Box17.In1 connect Box21.Out Box17.In2 -connect Box25.BoxChange Box24.BoxExecute connect Box26.Out Box25.In1 connect Box27.Out Box25.In2 -connect Box30.BoxChange Box28.BoxExecute connect Box31.Out Box30.In1 connect Box32.Out Box30.In2 -connect Box34.BoxChange Box33.BoxExecute -connect Box35.Out Box34.In1 -connect Box36.Out Box34.In2 connect switch.BoxChange Box30.BoxExecute -connect switch.BoxChange Box34.BoxExecute connect Box29.Widget Box10.Widget2 connect Box22.Out Box26.In connect Box23.Out Box27.In connect switch.BoxChange Box25.BoxExecute connect Box22.Out Box31.In connect Box23.Out Box32.In -connect Box22.Out Box35.In -connect Box23.Out Box36.In connect Box17.Out Box37.In connect Box37.Out Box49.In connect Box25.Out Box38.In connect Box38.Out Box24.In connect Box30.Out Box39.In connect Box39.Out Box28.In -connect Box34.Out Box40.In -connect Box40.Out Box33.In connect Box41.Widget Box12.Widget1 connect Box49.Widget Box42.Widget1 connect Box42.Widget Box41.Widget1 @@ -175,8 +167,22 @@ connect Box50.Widget Box46.Widget1 connect Box52.Widget Box51.Widget1 connect Box28.Widget Box50.Widget1 connect Box46.Widget Box29.Widget1 -connect Box33.Widget Box52.Widget1 connect Box51.Widget Box29.Widget2 +connect Box53.widget Box52.Widget1 +connect Box54.WindowColorLevel Box55.In +connect Box54.WindowColorLevel Box56.In +connect Box55.Out Box28.WindowLevel +connect Box56.Out Box28.ColorLevel +connect Box30.BoxChange Box57.In1 +connect Box57.BoxChange Box28.BoxExecute +connect Box54.BoxChange Box57.In2 +connect Box49.wxVtkBaseView1 Box54.wxVtkBaseView +connect Box17.BoxChange Box49.BoxExecute +connect Box25.BoxChange Box59.In1 +connect Box59.BoxChange Box24.BoxExecute +connect Box54.BoxChange Box59.In2 +connect Box56.Out Box24.ColorLevel +connect Box55.Out Box24.WindowLevel # Complex input ports input ImageVector1 Box22.In " " diff --git a/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbg b/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbg index 652a18c..0a21cd4 100644 --- a/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbg +++ b/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbg @@ -1,45 +1,46 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbg +# - BBTKGEditor v 1.6 BBG BlackBox Diagram file +# - /Users/davila/Creatis/C23/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbg # ---------------------------------- APP_START CATEGORY: DESCRIPTION:Description ?? AUTHOR:Author ?? +EXPORTFORMAT:0 COMPLEXBOX:TRUE COMPLEXBOXNAME:CompareImagesTransparencyWidget_3Dp PACKAGENAME:PackRecalage COMPLEXOUTPUTS:1 COMPLEX_PORT Widget -143.195244:-259.362919:-900.000000 +101.042067:-166.603818:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:3 COMPLEX_PORT BoxExecute -225.904940:26.281617:-900.000000 +158.133458:7.884485:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT VectorImage1 --52.929447:25.756390:-900.000000 +-37.050613:7.726917:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT VectorImate2 -51.978420:26.687673:-900.000000 +36.384894:8.006302:-900.000000 FIN_COMPLEX_PORT -BOXES:32 +BOXES:34 BOX PackRecalage:TransparencyBox:Box00 ISEXEC:FALSE --102.765851:-110.733504:-900.000000 --57.190851:-120.733504:-900.000000 +-71.936096:-33.220051:-900.000000 +-49.646096:-35.720051:-900.000000 FIN_BOX BOX wx:Slider:Box01 ISEXEC:FALSE -127.650045:8.854228:-900.000000 -179.050045:-1.145772:-900.000000 +89.355031:2.656268:-900.000000 +119.155031:0.156268:-900.000000 PORT In:"50" PORT @@ -52,16 +53,16 @@ FIN_BOX BOX creaMaracasVisu:ViewerNV:Box02 ISEXEC:FALSE --106.738580:-127.731651:-900.000000 --46.098580:-137.731651:-900.000000 +-73.506794:-81.433309:-900.000000 +-33.146794:-83.933309:-900.000000 PORT nTypeView:"-1" FIN_BOX BOX wx:LayoutSplit:Box03 ISEXEC:FALSE -139.205435:-235.099023:-900.000000 -184.780435:-245.099023:-900.000000 +98.249201:-159.324649:-900.000000 +121.009201:-161.824649:-900.000000 PORT Proportion:"90" PORT @@ -70,211 +71,223 @@ FIN_BOX BOX std:MultipleInputs:Box04 ISEXEC:FALSE -311.545287:-52.468753:-900.000000 -357.120287:-62.468753:-900.000000 +218.081701:-15.740626:-900.000000 +240.051701:-18.240626:-900.000000 FIN_BOX BOX PackRecalage:TransparencyBox:Box05 ISEXEC:FALSE --3.529661:-110.543171:-900.000000 -42.045339:-120.543171:-900.000000 +13.668433:-33.958545:-900.000000 +35.958433:-36.458545:-900.000000 FIN_BOX BOX creaMaracasVisu:ViewerNV:Box06 ISEXEC:FALSE --9.853317:-128.470859:-900.000000 -50.786683:-138.470859:-900.000000 +9.181733:-39.877892:-900.000000 +49.541733:-42.377892:-900.000000 PORT nTypeView:"-1" FIN_BOX BOX PackRecalage:TransparencyBox:Box07 ISEXEC:FALSE -104.351213:-116.400931:-900.000000 -149.926213:-126.400931:-900.000000 +73.045849:-34.920279:-900.000000 +95.335849:-37.420279:-900.000000 FIN_BOX BOX creaMaracasVisu:ViewerNV:Box08 ISEXEC:FALSE -99.935102:-133.317144:-900.000000 -160.575102:-143.317144:-900.000000 -PORT -nTypeView:"-1" -FIN_BOX -BOX -PackRecalage:TransparencyBox:Box09 -ISEXEC:FALSE -173.545270:-116.529382:-900.000000 -219.120270:-126.529382:-900.000000 -FIN_BOX -BOX -creaMaracasVisu:ViewerNV:Box10 -ISEXEC:FALSE -168.606142:-134.022625:-900.000000 -229.246142:-144.022625:-900.000000 +69.753222:-77.244722:-900.000000 +110.113222:-79.744722:-900.000000 PORT nTypeView:"-1" FIN_BOX BOX wx:LayoutSplit:Box11 ISEXEC:FALSE --42.155666:-183.713821:-900.000000 -3.419334:-193.713821:-900.000000 +-30.113013:-136.861871:-900.000000 +-7.353013:-139.361871:-900.000000 FIN_BOX BOX wx:LayoutSplit:Box12 ISEXEC:FALSE -133.784493:-186.218207:-900.000000 -179.359493:-196.218207:-900.000000 +93.850494:-143.653659:-900.000000 +116.610494:-146.153659:-900.000000 FIN_BOX BOX wx:LayoutSplit:Box13 ISEXEC:FALSE -49.676901:-205.563867:-900.000000 -95.251901:-215.563867:-900.000000 +35.579227:-150.464103:-900.000000 +58.339227:-152.964103:-900.000000 PORT Orientation:"H" FIN_BOX BOX vtk:GetVectorVtkImageDataElement:Box17 ISEXEC:FALSE --192.895472:-40.045781:-900.000000 --121.720472:-50.045781:-900.000000 +-135.026830:-12.013734:-900.000000 +-111.191830:-14.513734:-900.000000 PORT I:"0" FIN_BOX BOX vtk:GetVectorVtkImageDataElement:Box18 ISEXEC:FALSE --157.252345:-51.609907:-900.000000 --86.077345:-61.609907:-900.000000 +-110.076641:-15.482972:-900.000000 +-86.241642:-17.982972:-900.000000 PORT I:"0" FIN_BOX BOX std:MagicBox:Box19 ISEXEC:FALSE -41.250079:-12.754701:-900.000000 -86.825079:-22.754701:-900.000000 +28.875055:-3.826410:-900.000000 +50.475055:-6.326410:-900.000000 FIN_BOX BOX std:MagicBox:Box20 ISEXEC:FALSE --57.521421:-10.456367:-900.000000 --11.946421:-20.456367:-900.000000 +-40.264995:-3.136910:-900.000000 +-18.664995:-5.636910:-900.000000 FIN_BOX BOX vtk:GetVectorVtkImageDataElement:Box22 ISEXEC:FALSE --81.957883:-44.380593:-900.000000 --10.782883:-54.380593:-900.000000 +-57.370518:-13.314178:-900.000000 +-33.535518:-15.814178:-900.000000 PORT I:"1" FIN_BOX BOX vtk:GetVectorVtkImageDataElement:Box23 ISEXEC:FALSE --41.966779:-59.890158:-900.000000 -29.208221:-69.890158:-900.000000 +-29.376745:-17.967047:-900.000000 +-5.541745:-20.467047:-900.000000 PORT I:"1" FIN_BOX BOX vtk:GetVectorVtkImageDataElement:Box24 ISEXEC:FALSE -63.082032:-61.716873:-900.000000 -134.257032:-71.716873:-900.000000 +44.157422:-18.515062:-900.000000 +67.992422:-21.015062:-900.000000 PORT I:"2" FIN_BOX BOX vtk:GetVectorVtkImageDataElement:Box25 ISEXEC:FALSE -85.867342:-50.522028:-900.000000 -157.042342:-60.522028:-900.000000 -PORT -I:"2" -FIN_BOX -BOX -vtk:GetVectorVtkImageDataElement:Box26 -ISEXEC:FALSE -185.609664:-60.708223:-900.000000 -256.784664:-70.708223:-900.000000 -PORT -I:"2" -FIN_BOX -BOX -vtk:GetVectorVtkImageDataElement:Box27 -ISEXEC:FALSE -209.486893:-48.527095:-900.000000 -280.661893:-58.527095:-900.000000 +60.107139:-15.156608:-900.000000 +83.942139:-17.656608:-900.000000 PORT I:"2" FIN_BOX BOX wx:LayoutTab:Box28 ISEXEC:FALSE --103.761623:-164.149919:-900.000000 --46.201623:-174.149919:-900.000000 +-60.430868:-120.620576:-900.000000 +-27.110868:-123.120576:-900.000000 FIN_BOX BOX wx:LayoutLine:Box29 ISEXEC:FALSE --105.892248:-146.438055:-900.000000 --48.332248:-156.438055:-900.000000 +-61.922305:-115.307017:-900.000000 +-28.602305:-117.807017:-900.000000 PORT WinTitle:"Plane XY (rotation/slice Z)" FIN_BOX BOX wx:LayoutTab:Box30 ISEXEC:FALSE --7.491407:-163.680338:-900.000000 -50.068593:-173.680338:-900.000000 +18.757854:-121.689914:-900.000000 +52.077854:-124.189914:-900.000000 FIN_BOX BOX wx:LayoutLine:Box31 ISEXEC:FALSE --9.508190:-146.537683:-900.000000 -48.051810:-156.537683:-900.000000 +17.346106:-116.547117:-900.000000 +50.666106:-119.047117:-900.000000 PORT WinTitle:"Plane XZ (rotation/slice Y)" FIN_BOX BOX wx:LayoutTab:Box32 ISEXEC:FALSE -103.263821:-166.066627:-900.000000 -160.823821:-176.066627:-900.000000 +72.687373:-122.708354:-900.000000 +106.007373:-125.208354:-900.000000 FIN_BOX BOX wx:LayoutLine:Box33 ISEXEC:FALSE -101.247038:-148.923973:-900.000000 -158.807038:-158.923973:-900.000000 +71.275625:-117.565557:-900.000000 +104.595625:-120.065557:-900.000000 PORT WinTitle:"Plane YZ (rotation/slice X)" FIN_BOX BOX wx:LayoutTab:Box34 ISEXEC:FALSE -171.666610:-166.839491:-900.000000 -229.226610:-176.839491:-900.000000 +120.569325:-122.940213:-900.000000 +153.889325:-125.440213:-900.000000 FIN_BOX BOX wx:LayoutLine:Box35 ISEXEC:FALSE -169.649827:-149.696836:-900.000000 -227.209827:-159.696836:-900.000000 +119.157577:-117.797416:-900.000000 +152.477577:-120.297416:-900.000000 PORT -WinTitle:"Plane YZ (rotation/slice X)" +WinTitle:"Viewer help" +FIN_BOX +BOX +creaMaracasVisu:HelpViewerNV:Box36 +ISEXEC:FALSE +122.788713:-110.971884:-900.000000 +144.823713:-113.471884:-900.000000 FIN_BOX -CONNECTIONS:53 +BOX +creaMaracasVisu:wxVtkBaseView_Info:Box37 +ISEXEC:FALSE +-8.076674:-49.674644:-900.000000 +20.963326:-52.174644:-900.000000 +PORT +InteractionType:"12" +FIN_BOX +BOX +std:GetVectorDoubleElement:Box38 +ISEXEC:FALSE +-11.842967:-58.777477:-900.000000 +11.282033:-61.277477:-900.000000 +PORT +I:"0" +FIN_BOX +BOX +std:GetVectorDoubleElement:Box39 +ISEXEC:FALSE +19.887417:-59.483199:-900.000000 +43.012417:-61.983199:-900.000000 +PORT +I:"1" +FIN_BOX +BOX +std:MultipleInputs:Box40 +ISEXEC:FALSE +-60.395119:-50.500860:-900.000000 +-38.425119:-53.000860:-900.000000 +FIN_BOX +BOX +std:MultipleInputs:Box41 +ISEXEC:FALSE +79.315687:-52.669793:-900.000000 +101.285687:-55.169793:-900.000000 +FIN_BOX +CONNECTIONS:57 CONNECTION Box01:Out:Box00:Percent NumberOfControlPoints:0 CONNECTION Box01:Widget:Box03:Widget2 NumberOfControlPoints:1 -264.457489:-136.827850:-900.000000 +185.120239:-41.048355:-900.000000 CONNECTION Box01:BoxChange:Box04:In2 NumberOfControlPoints:0 @@ -282,9 +295,6 @@ CONNECTION Box04:BoxChange:Box00:BoxExecute NumberOfControlPoints:0 CONNECTION -Box00:BoxChange:Box02:BoxExecute -NumberOfControlPoints:0 -CONNECTION Box00:Out:Box02:In NumberOfControlPoints:0 CONNECTION @@ -306,18 +316,12 @@ CONNECTION Box04:BoxChange:Box07:BoxExecute NumberOfControlPoints:0 CONNECTION -Box04:BoxChange:Box09:BoxExecute -NumberOfControlPoints:0 -CONNECTION Box01:Out:Box05:Percent NumberOfControlPoints:0 CONNECTION Box01:Out:Box07:Percent NumberOfControlPoints:0 CONNECTION -Box01:Out:Box09:Percent -NumberOfControlPoints:0 -CONNECTION Box17:Out:Box00:In1 NumberOfControlPoints:0 CONNECTION @@ -342,9 +346,6 @@ CONNECTION Box05:BoxChange:Box06:BoxExecute NumberOfControlPoints:0 CONNECTION -Box07:BoxChange:Box08:BoxExecute -NumberOfControlPoints:0 -CONNECTION Box05:Out:Box06:In NumberOfControlPoints:0 CONNECTION @@ -375,57 +376,81 @@ CONNECTION Box19:Out:Box23:In NumberOfControlPoints:0 CONNECTION -Box09:BoxChange:Box10:BoxExecute +Box29:Widget:Box28:Widget1 NumberOfControlPoints:0 CONNECTION -Box09:Out:Box10:In +Box31:Widget:Box30:Widget1 NumberOfControlPoints:0 CONNECTION -Box27:Out:Box09:In2 +Box33:Widget:Box32:Widget1 NumberOfControlPoints:0 CONNECTION -Box26:Out:Box09:In1 +Box35:Widget:Box34:Widget1 NumberOfControlPoints:0 CONNECTION -Box19:Out:Box27:In +Box02:Widget:Box29:Widget1 NumberOfControlPoints:0 CONNECTION -Box20:Out:Box26:In +Box28:Widget:Box11:Widget2 NumberOfControlPoints:0 CONNECTION -Box29:Widget:Box28:Widget1 +Box06:Widget:Box31:Widget1 NumberOfControlPoints:0 CONNECTION -Box31:Widget:Box30:Widget1 +Box30:Widget:Box11:Widget1 NumberOfControlPoints:0 CONNECTION -Box33:Widget:Box32:Widget1 +Box08:Widget:Box33:Widget1 NumberOfControlPoints:0 CONNECTION -Box35:Widget:Box34:Widget1 +Box32:Widget:Box12:Widget1 NumberOfControlPoints:0 CONNECTION -Box02:Widget:Box29:Widget1 +Box34:Widget:Box12:Widget2 NumberOfControlPoints:0 CONNECTION -Box28:Widget:Box11:Widget2 +Box36:widget:Box35:Widget1 NumberOfControlPoints:0 CONNECTION -Box06:Widget:Box31:Widget1 +Box37:WindowColorLevel:Box38:In NumberOfControlPoints:0 CONNECTION -Box30:Widget:Box11:Widget1 +Box37:WindowColorLevel:Box39:In NumberOfControlPoints:0 CONNECTION -Box08:Widget:Box33:Widget1 +Box38:Out:Box02:WindowLevel NumberOfControlPoints:0 CONNECTION -Box32:Widget:Box12:Widget1 +Box39:Out:Box02:ColorLevel NumberOfControlPoints:0 CONNECTION -Box10:Widget:Box35:Widget1 +Box06:wxVtkBaseView1:Box37:wxVtkBaseView NumberOfControlPoints:0 CONNECTION -Box34:Widget:Box12:Widget2 +Box38:Out:Box08:WindowLevel +NumberOfControlPoints:0 +CONNECTION +Box39:Out:Box08:ColorLevel +NumberOfControlPoints:0 +CONNECTION +Box00:BoxChange:Box40:In1 +NumberOfControlPoints:0 +CONNECTION +Box40:BoxChange:Box02:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box07:BoxChange:Box41:In1 +NumberOfControlPoints:0 +CONNECTION +Box41:BoxChange:Box08:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box37:BoxChange:Box11:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box37:BoxChange:Box40:In2 +NumberOfControlPoints:0 +CONNECTION +Box37:BoxChange:Box41:In2 NumberOfControlPoints:0 APP_END diff --git a/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs b/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs index 7055cfc..aa36744 100644 --- a/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs +++ b/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs @@ -1,6 +1,6 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs +# - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/C23/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs # ---------------------------------- include std @@ -18,115 +18,115 @@ description "Description ??" category "" -new TransparencyBox Box00 +new PackRecalage:TransparencyBox Box00 -new Slider Box01 +new wx:Slider Box01 set Box01.In "50" set Box01.Max "100" set Box01.Min "0" set Box01.ReactiveOnTrack "true" -new ViewerNV Box02 +new creaMaracasVisu:ViewerNV Box02 set Box02.nTypeView "-1" -new LayoutSplit Box03 +new wx:LayoutSplit Box03 set Box03.Proportion "90" set Box03.WinTitle "Transparency" -new MultipleInputs Box04 +new std:MultipleInputs Box04 -new TransparencyBox Box05 +new PackRecalage:TransparencyBox Box05 -new ViewerNV Box06 +new creaMaracasVisu:ViewerNV Box06 set Box06.nTypeView "-1" -new TransparencyBox Box07 +new PackRecalage:TransparencyBox Box07 -new ViewerNV Box08 +new creaMaracasVisu:ViewerNV Box08 set Box08.nTypeView "-1" -new TransparencyBox Box09 +new wx:LayoutSplit Box11 -new ViewerNV Box10 - set Box10.nTypeView "-1" +new wx:LayoutSplit Box12 -new LayoutSplit Box11 - -new LayoutSplit Box12 - -new LayoutSplit Box13 +new wx:LayoutSplit Box13 set Box13.Orientation "H" -new GetVectorVtkImageDataElement Box17 +new vtk:GetVectorVtkImageDataElement Box17 set Box17.I "0" -new GetVectorVtkImageDataElement Box18 +new vtk:GetVectorVtkImageDataElement Box18 set Box18.I "0" -new MagicBox Box19 +new std:MagicBox Box19 -new MagicBox Box20 +new std:MagicBox Box20 -new GetVectorVtkImageDataElement Box22 +new vtk:GetVectorVtkImageDataElement Box22 set Box22.I "1" -new GetVectorVtkImageDataElement Box23 +new vtk:GetVectorVtkImageDataElement Box23 set Box23.I "1" -new GetVectorVtkImageDataElement Box24 +new vtk:GetVectorVtkImageDataElement Box24 set Box24.I "2" -new GetVectorVtkImageDataElement Box25 +new vtk:GetVectorVtkImageDataElement Box25 set Box25.I "2" -new GetVectorVtkImageDataElement Box26 - set Box26.I "2" - -new GetVectorVtkImageDataElement Box27 - set Box27.I "2" +new wx:LayoutTab Box28 -new LayoutTab Box28 - -new LayoutLine Box29 +new wx:LayoutLine Box29 set Box29.WinTitle "Plane XY (rotation/slice Z)" -new LayoutTab Box30 +new wx:LayoutTab Box30 -new LayoutLine Box31 +new wx:LayoutLine Box31 set Box31.WinTitle "Plane XZ (rotation/slice Y)" -new LayoutTab Box32 +new wx:LayoutTab Box32 -new LayoutLine Box33 +new wx:LayoutLine Box33 set Box33.WinTitle "Plane YZ (rotation/slice X)" -new LayoutTab Box34 +new wx:LayoutTab Box34 + +new wx:LayoutLine Box35 + set Box35.WinTitle "Viewer help" + +new creaMaracasVisu:HelpViewerNV Box36 + +new creaMaracasVisu:wxVtkBaseView_Info Box37 + set Box37.InteractionType "12" + +new std:GetVectorDoubleElement Box38 + set Box38.I "0" + +new std:GetVectorDoubleElement Box39 + set Box39.I "1" + +new std:MultipleInputs Box40 -new LayoutLine Box35 - set Box35.WinTitle "Plane YZ (rotation/slice X)" +new std:MultipleInputs Box41 connect Box01.Out Box00.Percent connect Box01.Widget Box03.Widget2 connect Box01.BoxChange Box04.In2 connect Box04.BoxChange Box00.BoxExecute -connect Box00.BoxChange Box02.BoxExecute connect Box00.Out Box02.In connect Box12.Widget Box13.Widget2 connect Box11.Widget Box13.Widget1 connect Box04.BoxChange Box05.BoxExecute connect Box04.BoxChange Box07.BoxExecute -connect Box04.BoxChange Box09.BoxExecute connect Box01.Out Box05.Percent connect Box01.Out Box07.Percent -connect Box01.Out Box09.Percent connect Box17.Out Box00.In1 connect Box18.Out Box00.In2 connect Box13.Widget Box03.Widget1 connect Box19.Out Box18.In connect Box20.Out Box17.In connect Box05.BoxChange Box06.BoxExecute -connect Box07.BoxChange Box08.BoxExecute connect Box05.Out Box06.In connect Box07.Out Box08.In connect Box20.Out Box22.In @@ -137,12 +137,6 @@ connect Box19.Out Box25.In connect Box25.Out Box07.In2 connect Box24.Out Box07.In1 connect Box19.Out Box23.In -connect Box09.BoxChange Box10.BoxExecute -connect Box09.Out Box10.In -connect Box27.Out Box09.In2 -connect Box26.Out Box09.In1 -connect Box19.Out Box27.In -connect Box20.Out Box26.In connect Box29.Widget Box28.Widget1 connect Box31.Widget Box30.Widget1 connect Box33.Widget Box32.Widget1 @@ -153,8 +147,22 @@ connect Box06.Widget Box31.Widget1 connect Box30.Widget Box11.Widget1 connect Box08.Widget Box33.Widget1 connect Box32.Widget Box12.Widget1 -connect Box10.Widget Box35.Widget1 connect Box34.Widget Box12.Widget2 +connect Box36.widget Box35.Widget1 +connect Box37.WindowColorLevel Box38.In +connect Box37.WindowColorLevel Box39.In +connect Box38.Out Box02.WindowLevel +connect Box39.Out Box02.ColorLevel +connect Box06.wxVtkBaseView1 Box37.wxVtkBaseView +connect Box38.Out Box08.WindowLevel +connect Box39.Out Box08.ColorLevel +connect Box00.BoxChange Box40.In1 +connect Box40.BoxChange Box02.BoxExecute +connect Box07.BoxChange Box41.In1 +connect Box41.BoxChange Box08.BoxExecute +connect Box37.BoxChange Box11.BoxExecute +connect Box37.BoxChange Box40.In2 +connect Box37.BoxChange Box41.In2 # Complex input ports input BoxExecute Box04.In1 " " diff --git a/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbg b/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbg index fb522a5..f3a0e07 100644 --- a/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbg +++ b/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbg @@ -1,143 +1,144 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /tmpEED/creaTools/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbg +# - BBTKGEditor v 1.6 BBG BlackBox Diagram file +# - /Users/davila/Creatis/C23/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbg # ---------------------------------- APP_START CATEGORY:example DESCRIPTION:creatisRecalage AUTHOR:info-dev@creatis.insa-lyon.fr +EXPORTFORMAT:0 COMPLEXBOX:TRUE COMPLEXBOXNAME:CompareImagesWidget_base_3Dp_B PACKAGENAME:PackRecalage COMPLEXOUTPUTS:1 COMPLEX_PORT Out --39.040299:-19.061192:-900.000000 +-27.466371:-30.863715:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:5 COMPLEX_PORT BoxExecute --149.004941:180.370177:-900.000000 +-104.303459:54.111053:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT ConvolutionFactor --90.891907:177.306831:-900.000000 +-63.624335:53.192049:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT ConvolutionOnOff --76.654192:177.986332:-900.000000 +-53.657934:53.395900:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT In --45.093836:184.744916:-900.000000 +-26.315556:57.910378:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Point -64.238326:184.778911:-900.000000 +48.734864:58.402429:-900.000000 FIN_COMPLEX_PORT BOXES:15 BOX PackRecalage:ImageConvolution:convol1 ISEXEC:FALSE --129.257405:29.544828:-900.000000 --58.082405:19.544828:-900.000000 +-61.880793:-1.360488:-900.000000 +-39.240793:-3.860488:-900.000000 FIN_BOX BOX creaMaracasVisu:SliceImage:Box02 ISEXEC:FALSE --59.065585:66.675821:-900.000000 --13.490585:56.675821:-900.000000 +6.457902:19.311940:-900.000000 +28.182902:16.811940:-900.000000 PORT TypeOrientation:"0" FIN_BOX BOX PackRecalage:ImageConvolution:Box03 ISEXEC:FALSE --28.553872:27.066231:-900.000000 -17.021128:17.066231:-900.000000 +-21.921969:-1.413261:-900.000000 +0.513031:-3.913261:-900.000000 FIN_BOX BOX creaMaracasVisu:SliceImage:Box04 ISEXEC:FALSE -54.161310:66.376039:-900.000000 -99.736310:56.376039:-900.000000 +37.912917:19.912812:-900.000000 +59.637917:17.412812:-900.000000 PORT TypeOrientation:"1" FIN_BOX BOX PackRecalage:ImageConvolution:Box05 ISEXEC:FALSE -40.657572:28.034771:-900.000000 -86.232572:18.034771:-900.000000 +18.927170:-0.984537:-900.000000 +41.362170:-3.484537:-900.000000 FIN_BOX BOX creaMaracasVisu:SliceImage:Box06 ISEXEC:FALSE -106.717875:65.208831:-900.000000 -152.292875:55.208831:-900.000000 +71.048660:19.676832:-900.000000 +92.773660:17.176832:-900.000000 PORT TypeOrientation:"2" FIN_BOX BOX PackRecalage:AddImageToVector:Box07 ISEXEC:FALSE --41.499685:2.698530:-900.000000 -4.075315:-7.301470:-900.000000 +-29.049779:-18.118540:-900.000000 +-4.529779:-20.618540:-900.000000 FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box08 ISEXEC:FALSE --7.705582:106.766132:-900.000000 -63.469418:96.766132:-900.000000 +-33.164330:46.674938:-900.000000 +-9.954330:44.174938:-900.000000 FIN_BOX BOX std:MagicBox:Box09 ISEXEC:FALSE --163.575163:67.004889:-900.000000 --118.000163:57.004889:-900.000000 +-111.324904:21.759402:-900.000000 +-89.724904:19.259402:-900.000000 FIN_BOX BOX std:MagicBox:Box10 ISEXEC:FALSE --108.495930:66.598751:-900.000000 --62.920930:56.598751:-900.000000 +-75.532667:21.361238:-900.000000 +-53.932667:18.861238:-900.000000 FIN_BOX BOX std:MagicBox:Box11 ISEXEC:FALSE --8.084224:67.421072:-900.000000 -37.490776:57.421072:-900.000000 +-47.798155:20.502644:-900.000000 +-26.198155:18.002644:-900.000000 FIN_BOX BOX std:GetVectorIntElement:Box12 ISEXEC:FALSE -101.805438:110.840152:-900.000000 -172.980438:100.840152:-900.000000 +80.106130:39.192982:-900.000000 +102.766130:36.692982:-900.000000 PORT I:"2" FIN_BOX BOX std:GetVectorIntElement:Box13 ISEXEC:FALSE -70.340365:125.154852:-900.000000 -141.515365:115.154852:-900.000000 +48.961933:39.618875:-900.000000 +71.621933:37.118875:-900.000000 PORT I:"1" FIN_BOX BOX std:GetVectorIntElement:Box14 ISEXEC:FALSE -33.623885:140.775162:-900.000000 -104.798885:130.775162:-900.000000 +20.220848:39.193000:-900.000000 +42.880848:36.693000:-900.000000 PORT I:"0" FIN_BOX BOX std:MagicBox:Box15 ISEXEC:FALSE -62.865247:169.029337:-900.000000 -108.440247:159.029337:-900.000000 +44.005673:50.708801:-900.000000 +65.605673:48.208801:-900.000000 FIN_BOX CONNECTIONS:30 CONNECTION diff --git a/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs b/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs index 9007172..67bf3a0 100644 --- a/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs +++ b/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs @@ -1,6 +1,6 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /tmpEED/creaTools/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs +# - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/C23/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs # ---------------------------------- include std diff --git a/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbg b/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbg index c47f34b..fbe49da 100644 --- a/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbg +++ b/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbg @@ -1,113 +1,146 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbg +# - BBTKGEditor v 1.6 BBG BlackBox Diagram file +# - /Users/davila/Creatis/C23/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbg # ---------------------------------- APP_START CATEGORY:example DESCRIPTION:creatisRecalage AUTHOR:info-dev@creatis.insa-lyon.fr +EXPORTFORMAT:0 COMPLEXBOX:TRUE COMPLEXBOXNAME:CompareImages_3DwithPlanes_Widget PACKAGENAME:PackRecalage COMPLEXOUTPUTS:1 COMPLEX_PORT Widget --108.366991:-196.535870:-900.000000 +-74.419573:-102.932032:-900.000000 FIN_COMPLEX_PORT COMPLEXINPUTS:5 COMPLEX_PORT In2 --128.435187:86.737006:-900.000000 +-89.904631:26.021102:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT In1 --228.445825:83.864755:-900.000000 +-159.912078:25.159426:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT WinTitle --66.610205:85.090557:-900.000000 +-46.627143:25.527167:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT Point -11.084283:87.860582:-900.000000 +7.758998:26.358175:-900.000000 FIN_COMPLEX_PORT COMPLEX_PORT BoxExecute --277.232202:86.333155:-900.000000 +-194.062541:25.899947:-900.000000 FIN_COMPLEX_PORT -BOXES:11 +BOXES:16 BOX wx:LayoutTab:tabs ISEXEC:FALSE --225.271510:-125.902354:-900.000000 --167.711510:-135.902354:-900.000000 +-152.924653:-77.415468:-900.000000 +-119.604653:-79.915468:-900.000000 PORT Orientation:V FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box56 ISEXEC:FALSE --233.390434:61.714899:-900.000000 --162.215434:51.714899:-900.000000 +-163.373304:18.514470:-900.000000 +-140.163304:16.014470:-900.000000 FIN_BOX BOX vtk:vtkImageDataPointerRelay:Box59 ISEXEC:FALSE --139.679829:61.146125:-900.000000 --68.504829:51.146125:-900.000000 +-97.775880:18.343837:-900.000000 +-74.565880:15.843837:-900.000000 FIN_BOX BOX PackRecalage:CompareImagesWidget_base_interface_3Dp:Box18 ISEXEC:FALSE --178.721954:28.498746:-900.000000 --107.546954:18.498746:-900.000000 +-126.935814:9.880857:-900.000000 +-101.945814:7.380857:-900.000000 FIN_BOX BOX PackRecalage:CompareImagesWidget_base_3Dp_B:Box13 ISEXEC:FALSE --247.413390:-29.070921:-900.000000 --176.238390:-39.070921:-900.000000 +-174.681937:-8.725716:-900.000000 +-150.446937:-11.225716:-900.000000 FIN_BOX BOX PackRecalage:CompareImagesTransparencyWidget_3Dp:Box14 ISEXEC:FALSE --180.424968:-80.994962:-900.000000 --109.249968:-90.994962:-900.000000 +-123.522582:-58.774574:-900.000000 +-98.772582:-61.274574:-900.000000 FIN_BOX BOX PackRecalage:CompareImagesWidget_base_3Dp_B:Box15 ISEXEC:FALSE --143.103126:-28.467309:-900.000000 --71.928126:-38.467309:-900.000000 +-96.177219:-9.534813:-900.000000 +-71.942219:-12.034813:-900.000000 FIN_BOX BOX PackRecalage:CompareImagesSwitcherWidget_3Dp:Box17 ISEXEC:FALSE --259.611672:-82.254672:-900.000000 --188.436672:-92.254672:-900.000000 +-178.953274:-58.489407:-900.000000 +-154.693274:-60.989407:-900.000000 FIN_BOX BOX std:MultipleInputs:Box11 ISEXEC:FALSE --281.827702:1.495944:-900.000000 --236.252702:-8.504056:-900.000000 +-197.279391:0.448783:-900.000000 +-175.309391:-2.051217:-900.000000 FIN_BOX BOX std:StringRelay:Box12 ISEXEC:FALSE --8.818974:28.249882:-900.000000 -36.756026:18.249882:-900.000000 +0.930237:17.806148:-900.000000 +22.625237:15.306148:-900.000000 FIN_BOX BOX wx:LayoutSplit:Box16 ISEXEC:FALSE --107.295275:-169.215306:-900.000000 --61.720275:-179.215306:-900.000000 +-76.430966:-95.476325:-900.000000 +-53.670966:-97.976325:-900.000000 PORT Proportion:"10" FIN_BOX -CONNECTIONS:26 +BOX +creaVtk:CompareImagesByRGB-Widget:Box19 +ISEXEC:FALSE +-69.901579:-58.674078:-900.000000 +-46.226579:-61.174078:-900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box20 +ISEXEC:FALSE +-107.007717:-68.978893:-900.000000 +-73.687717:-71.478893:-900.000000 +PORT +WinTitle:"RGB" +FIN_BOX +BOX +std:MagicBox:Box21 +ISEXEC:FALSE +-198.553687:17.495161:-900.000000 +-176.953687:14.995161:-900.000000 +FIN_BOX +BOX +PackRecalage:ImageConvolution:Box22 +ISEXEC:FALSE +-43.729401:-27.023708:-900.000000 +-21.294401:-29.523708:-900.000000 +FIN_BOX +BOX +PackRecalage:ImageConvolution:Box23 +ISEXEC:FALSE +-14.044831:-27.161148:-900.000000 +8.390169:-29.661148:-900.000000 +FIN_BOX +CONNECTIONS:40 CONNECTION In2:In2:Box59:In NumberOfControlPoints:0 @@ -154,18 +187,9 @@ CONNECTION Box15:Out:Box17:ImageVector2 NumberOfControlPoints:0 CONNECTION -BoxExecute:BoxExecute:Box11:In1 -NumberOfControlPoints:0 -CONNECTION Box18:BoxChange:Box11:In2 NumberOfControlPoints:0 CONNECTION -Box11:Out:Box13:BoxExecute -NumberOfControlPoints:0 -CONNECTION -Box11:Out:Box15:BoxExecute -NumberOfControlPoints:0 -CONNECTION Point:Point:Box12:In NumberOfControlPoints:0 CONNECTION @@ -186,4 +210,55 @@ NumberOfControlPoints:0 CONNECTION tabs:Widget:Box16:Widget2 NumberOfControlPoints:0 +CONNECTION +Box19:OutWidget:Box20:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box20:Widget:tabs:Widget3 +NumberOfControlPoints:0 +CONNECTION +BoxExecute:BoxExecute:Box21:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box21:BoxChange:Box11:In1 +NumberOfControlPoints:0 +CONNECTION +Box11:BoxChange:Box13:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box11:BoxChange:Box15:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box11:BoxChange:Box19:boxExecute +NumberOfControlPoints:0 +CONNECTION +Box18:ConvolutionOnOff:Box22:On +NumberOfControlPoints:0 +CONNECTION +Box18:ConvolutionOnOff:Box23:On +NumberOfControlPoints:0 +CONNECTION +Box59:Out:Box23:In +NumberOfControlPoints:0 +CONNECTION +Box23:Out:Box19:Image2 +NumberOfControlPoints:0 +CONNECTION +Box56:Out:Box22:In +NumberOfControlPoints:0 +CONNECTION +Box18:ConvolutionFactor:Box22:Factor +NumberOfControlPoints:0 +CONNECTION +Box18:ConvolutionFactor:Box23:Factor +NumberOfControlPoints:0 +CONNECTION +Box11:BoxChange:Box22:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box11:BoxChange:Box23:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box22:Out:Box19:Image1 +NumberOfControlPoints:0 APP_END diff --git a/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbs b/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbs index eb19c8d..a4536c9 100644 --- a/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbs +++ b/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbs @@ -1,6 +1,6 @@ # ---------------------------------- -# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) -# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbs +# - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box) +# - /Users/davila/Creatis/C23/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImages_3DwithPlanes_Widget.bbs # ---------------------------------- include std @@ -9,6 +9,7 @@ include wx include vtk include PackRecalage include std +include creaVtk define CompareImages_3DwithPlanes_Widget PackRecalage @@ -17,30 +18,41 @@ description "creatisRecalage" category "example" -new LayoutTab tabs +new wx:LayoutTab tabs set tabs.Orientation V -new vtkImageDataPointerRelay Box56 +new vtk:vtkImageDataPointerRelay Box56 -new vtkImageDataPointerRelay Box59 +new vtk:vtkImageDataPointerRelay Box59 -new CompareImagesWidget_base_interface_3Dp Box18 +new PackRecalage:CompareImagesWidget_base_interface_3Dp Box18 -new CompareImagesWidget_base_3Dp_B Box13 +new PackRecalage:CompareImagesWidget_base_3Dp_B Box13 -new CompareImagesTransparencyWidget_3Dp Box14 +new PackRecalage:CompareImagesTransparencyWidget_3Dp Box14 -new CompareImagesWidget_base_3Dp_B Box15 +new PackRecalage:CompareImagesWidget_base_3Dp_B Box15 -new CompareImagesSwitcherWidget_3Dp Box17 +new PackRecalage:CompareImagesSwitcherWidget_3Dp Box17 -new MultipleInputs Box11 +new std:MultipleInputs Box11 -new StringRelay Box12 +new std:StringRelay Box12 -new LayoutSplit Box16 +new wx:LayoutSplit Box16 set Box16.Proportion "10" +new creaVtk:CompareImagesByRGB-Widget Box19 + +new wx:LayoutLine Box20 + set Box20.WinTitle "RGB" + +new std:MagicBox Box21 + +new PackRecalage:ImageConvolution Box22 + +new PackRecalage:ImageConvolution Box23 + connect Box18.ConvolutionFactor Box13.ConvolutionFactor connect Box18.ConvolutionOnOff Box13.ConvolutionOnOff @@ -56,19 +68,33 @@ connect Box17.Widget tabs.Widget1 connect Box13.Out Box17.ImageVector1 connect Box15.Out Box17.ImageVector2 connect Box18.BoxChange Box11.In2 -connect Box11.Out Box13.BoxExecute -connect Box11.Out Box15.BoxExecute connect Box12.Out Box15.Point connect Box12.Out Box13.Point connect Box18.Widget Box16.Widget1 connect tabs.Widget Box16.Widget2 +connect Box19.OutWidget Box20.Widget2 +connect Box20.Widget tabs.Widget3 +connect Box21.BoxChange Box11.In1 +connect Box11.BoxChange Box13.BoxExecute +connect Box11.BoxChange Box15.BoxExecute +connect Box11.BoxChange Box19.boxExecute +connect Box18.ConvolutionOnOff Box22.On +connect Box18.ConvolutionOnOff Box23.On +connect Box59.Out Box23.In +connect Box23.Out Box19.Image2 +connect Box56.Out Box22.In +connect Box18.ConvolutionFactor Box22.Factor +connect Box18.ConvolutionFactor Box23.Factor +connect Box11.BoxChange Box22.BoxExecute +connect Box11.BoxChange Box23.BoxExecute +connect Box22.Out Box19.Image1 # Complex input ports input In2 Box59.In " " input In1 Box56.In " " -input BoxExecute Box11.In1 " " input Point Box12.In " " input WinTitle Box16.WinTitle " " +input BoxExecute Box21.BoxExecute " " # Complex output ports output Widget Box16.Widget " "