]> Creatis software - creaMiniTools.git/commitdiff
#3418 merge vtk8itk5wx3-mingw64 master
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Fri, 10 Sep 2021 08:55:36 +0000 (10:55 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Fri, 10 Sep 2021 08:55:36 +0000 (10:55 +0200)
bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbg
bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbs
bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbg
bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbs
bbtk_package_creaMiniTools/bbs/appli/viewerNVwithVolRenExample.bbg
bbtk_package_creaMiniTools/bbs/appli/viewerNVwithVolRenExample.bbs
bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Multi-Widget.bbg
bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Multi-Widget.bbs
bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Widget.bbg
bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Widget.bbs

index 7969d2894ddec7200239e8862f4d54ed396737a4..24f2035b70bc3d6fa6384b7d83698e1ea7bcda32 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbg
+# - /home/davila/Creatis/C8/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbg
 # ----------------------------------
 
 APP_START
@@ -9,7 +9,7 @@ DESCRIPTION:Show N Points
 AUTHOR:info-dev@creatis.insa-lyon.fr
 COMPLEXBOX:FALSE
 COMPLEXINPUTS:0
-BOXES:28
+BOXES:30
 BOX
 creaMaracasVisu:ViewerNV:viewer
 ISEXEC:FALSE
@@ -21,8 +21,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:ShowNPoints:showNpoints
 ISEXEC:FALSE
--146.394252:-3.709677:-900.000000
--100.819252:-13.709677:-900.000000
+-130.810673:-0.635541:-900.000000
+-70.170673:-10.635541:-900.000000
 PORT
 Radio:"10"
 PORT
@@ -32,7 +32,7 @@ BOX
 creaImageIO:ImagesChooserDialogBox:Box04
 ISEXEC:FALSE
 106.944221:120.009570:-900.000000
-178.119221:110.009570:-900.000000
+158.419221:110.009570:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box06
@@ -46,15 +46,15 @@ BOX
 creaMaracasVisu:ColorLayerImageView:Box10
 ISEXEC:FALSE
 -351.844966:-16.053157:-900.000000
--280.669966:-26.053157:-900.000000
+-281.964966:-26.053157:-900.000000
 PORT
 WinTitle:"Image Layer"
 FIN_BOX
 BOX
 creaMaracasVisu:ManualPaint:Box11
 ISEXEC:FALSE
--37.981566:-130.541589:-900.000000
-7.593434:-140.541589:-900.000000
+-88.902890:-136.639951:-900.000000
+-43.662890:-146.639951:-900.000000
 PORT
 WinTitle:"Paint"
 FIN_BOX
@@ -62,7 +62,7 @@ BOX
 wx:LayoutTab:Box12
 ISEXEC:FALSE
 51.808241:-277.901790:-900.000000
-97.383241:-287.901790:-900.000000
+109.368241:-287.901790:-900.000000
 PORT
 WinTitle:Filters
 FIN_BOX
@@ -70,39 +70,39 @@ BOX
 wx:LayoutTab:Box13
 ISEXEC:FALSE
 25.025304:-307.420578:-900.000000
-70.600304:-317.420578:-900.000000
+82.585304:-317.420578:-900.000000
 FIN_BOX
 BOX
 toolsbbtk:SaveMHD-Button:Box21
 ISEXEC:FALSE
--101.851785:-27.059586:-900.000000
--56.276785:-37.059586:-900.000000
+-93.258638:-26.505189:-900.000000
+-50.733638:-36.505189:-900.000000
 FIN_BOX
 BOX
 creaMiniTools:ThresholdWidget:Box22
 ISEXEC:FALSE
 -2.341228:-207.881975:-900.000000
-43.233772:-217.881975:-900.000000
+39.908772:-217.881975:-900.000000
 FIN_BOX
 BOX
 creaMiniTools:ConnectivityWidget:Box16
 ISEXEC:FALSE
 61.974834:-215.138914:-900.000000
-107.549834:-225.138914:-900.000000
+107.299834:-225.138914:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box18
 ISEXEC:FALSE
 -157.480851:-29.691282:-900.000000
--111.905851:-39.691282:-900.000000
+-99.920851:-39.691282:-900.000000
 PORT
 WinTitle:"show N-Points"
 FIN_BOX
 BOX
 wx:LayoutLine:Box19
 ISEXEC:FALSE
--125.693371:-52.080329:-900.000000
--80.118371:-62.080329:-900.000000
+-126.524966:-55.683907:-900.000000
+-68.964966:-65.683907:-900.000000
 PORT
 WinTitle:"Save MHD"
 FIN_BOX
@@ -110,7 +110,7 @@ BOX
 wx:LayoutLine:Box20
 ISEXEC:FALSE
 -373.889781:-114.690466:-900.000000
--328.314781:-124.690466:-900.000000
+-316.329781:-124.690466:-900.000000
 PORT
 WinTitle:"Layers"
 FIN_BOX
@@ -118,7 +118,7 @@ BOX
 wx:LayoutLine:Box23
 ISEXEC:FALSE
 -94.484830:-201.968967:-900.000000
--48.909830:-211.968967:-900.000000
+-36.924830:-211.968967:-900.000000
 PORT
 Orientation:H
 PORT
@@ -128,43 +128,43 @@ BOX
 creaMaracasVisu:CutModule2:Box24
 ISEXEC:FALSE
 -31.541511:-156.104481:-900.000000
-14.033489:-166.104481:-900.000000
+6.608489:-166.104481:-900.000000
 FIN_BOX
 BOX
 std:MultipleInputs:Box25
 ISEXEC:FALSE
 193.461788:-298.903547:-900.000000
-239.036788:-308.903547:-900.000000
+233.161788:-308.903547:-900.000000
 FIN_BOX
 BOX
 creaMiniTools:ErodeWidget:Box26
 ISEXEC:FALSE
 127.580373:-217.870289:-900.000000
-173.155373:-227.870289:-900.000000
+166.280373:-227.870289:-900.000000
 FIN_BOX
 BOX
 creaMiniTools:DilateWidget:Box27
 ISEXEC:FALSE
 202.155519:-213.402703:-900.000000
-247.730519:-223.402703:-900.000000
+240.830519:-223.402703:-900.000000
 FIN_BOX
 BOX
 toolsbbtk:ImageVtkPropertiesWidget:Box28
 ISEXEC:FALSE
 -67.347684:-221.649376:-900.000000
-3.827316:-231.649376:-900.000000
+-15.197684:-231.649376:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box29
 ISEXEC:FALSE
 -372.469828:-95.544664:-900.000000
--326.894828:-105.544664:-900.000000
+-314.909828:-105.544664:-900.000000
 FIN_BOX
 BOX
 creaMiniTools:LayerCol-VolRend-SurRend_Widget:Box30
 ISEXEC:FALSE
 -336.435240:-29.737380:-900.000000
--265.260240:-39.737380:-900.000000
+-276.085240:-39.737380:-900.000000
 PORT
 title:"Layer-1"
 FIN_BOX
@@ -172,7 +172,7 @@ BOX
 creaMiniTools:LayerCol-VolRend-SurRend_Widget:Box31
 ISEXEC:FALSE
 -327.541464:-46.787001:-900.000000
--256.366464:-56.787001:-900.000000
+-267.191464:-56.787001:-900.000000
 PORT
 title:"Layer-2"
 FIN_BOX
@@ -180,7 +180,7 @@ BOX
 wx:LayoutLine:Box32
 ISEXEC:FALSE
 -370.565590:-78.671647:-900.000000
--324.990590:-88.671647:-900.000000
+-313.005590:-88.671647:-900.000000
 PORT
 WinTitle:"Layer-Base"
 FIN_BOX
@@ -188,7 +188,7 @@ BOX
 wx:LayoutTab:Box33
 ISEXEC:FALSE
 -366.766856:-142.939770:-900.000000
--321.191856:-152.939770:-900.000000
+-309.206856:-152.939770:-900.000000
 PORT
 WinTitle:"Superpose"
 FIN_BOX
@@ -196,25 +196,37 @@ BOX
 creaVtk:VectorsTensors_manualread_Widget:Box35
 ISEXEC:FALSE
 -296.945953:-100.622592:-900.000000
--225.770953:-110.622592:-900.000000
+-235.495953:-110.622592:-900.000000
 FIN_BOX
 BOX
 creaVtk:OutputWindow:Box36
 ISEXEC:TRUE
 101.677450:-337.896727:-900.000000
-147.252450:-347.896727:-900.000000
+142.277450:-347.896727:-900.000000
 FIN_BOX
 BOX
 wx:LayoutSplit:Box37
 ISEXEC:TRUE
 154.731901:-338.273293:-900.000000
-200.306901:-348.273293:-900.000000
+193.811901:-348.273293:-900.000000
 PORT
 Orientation:"H"
 PORT
 WinTitle:"ImageTool.bbg"
 FIN_BOX
-CONNECTIONS:66
+BOX
+vtk:vtkImageDataPointerRelay:Box38
+ISEXEC:FALSE
+-79.265683:86.819111:-900.000000
+-27.090683:76.819111:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ImageChangeInformation:Box39
+ISEXEC:FALSE
+-126.115812:61.913442:-900.000000
+-74.590812:51.913442:-900.000000
+FIN_BOX
+CONNECTIONS:68
 CONNECTION
 viewer:Renderer1:showNpoints:Renderer
 NumberOfControlPoints:0
@@ -225,22 +237,11 @@ CONNECTION
 viewer:BoxChange:showNpoints:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box04:Out:showNpoints:Image
-NumberOfControlPoints:1
--13.630965:26.438316:-900.000000
-CONNECTION
-Box04:Out:viewer:In
-NumberOfControlPoints:0
-CONNECTION
 viewer:BoxChange:Box11:BoxExecute
 NumberOfControlPoints:2
 -162.452789:-13.599417:-900.000000
 -129.994598:-92.765739:-900.000000
 CONNECTION
-Box04:Out:Box11:In
-NumberOfControlPoints:1
-41.886299:-51.200848:-900.000000
-CONNECTION
 viewer:wxVtkBaseView2:Box11:WxVtkBaseView1
 NumberOfControlPoints:0
 CONNECTION
@@ -256,23 +257,12 @@ CONNECTION
 Box12:Widget:Box13:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box04:Out:Box21:In
-NumberOfControlPoints:0
-CONNECTION
-Box04:Out:Box22:In
-NumberOfControlPoints:1
-53.882099:-78.422401:-900.000000
-CONNECTION
 Box22:Widget:Box12:Widget1
 NumberOfControlPoints:0
 CONNECTION
 Box16:Widget:Box12:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box04:Out:Box16:In
-NumberOfControlPoints:1
-75.021088:-98.781540:-900.000000
-CONNECTION
 Box18:Widget:Box06:Widget1
 NumberOfControlPoints:0
 CONNECTION
@@ -297,9 +287,6 @@ CONNECTION
 viewer:BoxChange:Box24:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box04:Out:Box24:In
-NumberOfControlPoints:0
-CONNECTION
 viewer:Interactor1:Box24:Interactor
 NumberOfControlPoints:0
 CONNECTION
@@ -336,12 +323,6 @@ CONNECTION
 viewer:Renderer1:Box26:vtkRenderer
 NumberOfControlPoints:0
 CONNECTION
-Box04:Out:Box26:In
-NumberOfControlPoints:0
-CONNECTION
-Box04:Out:Box27:In
-NumberOfControlPoints:0
-CONNECTION
 viewer:Point:Box16:point
 NumberOfControlPoints:0
 CONNECTION
@@ -351,10 +332,6 @@ CONNECTION
 Box28:widget:Box06:Widget5
 NumberOfControlPoints:0
 CONNECTION
-Box04:Out:Box28:in
-NumberOfControlPoints:1
-53.842674:-119.647697:-900.000000
-CONNECTION
 Box29:Widget:Box20:Widget1
 NumberOfControlPoints:0
 CONNECTION
@@ -420,4 +397,40 @@ NumberOfControlPoints:0
 CONNECTION
 viewer:Renderer1:Box31:Rederer3D
 NumberOfControlPoints:0
+CONNECTION
+Box38:Out:Box39:In
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:viewer:In
+NumberOfControlPoints:0
+CONNECTION
+Box04:Out:Box38:In
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:showNpoints:Image
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:Box21:In
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:Box11:In
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:Box24:In
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:Box22:In
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:Box16:In
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:Box26:In
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:Box27:In
+NumberOfControlPoints:0
+CONNECTION
+Box39:Out:Box28:in
+NumberOfControlPoints:0
 APP_END
index b9a04c941f51dd0ed21896fe28c405bbbe3de19d..2e15ca7bb6ec3a337cc680754096307f65e5dfc1 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script
-# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbs
+# - /home/davila/Creatis/C8/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbs
 # ----------------------------------
 
 # BBTK GEditor Script
@@ -15,6 +15,7 @@ include toolsbbtk
 include creaMiniTools
 include std
 include creaVtk
+include vtk
 
 author "info-dev@creatis.insa-lyon.fr"
 description "Show N Points"
@@ -94,6 +95,10 @@ new wx:LayoutSplit Box37
   set Box37.Orientation "H"
   set Box37.WinTitle "ImageTool.bbg"
 
+new vtk:vtkImageDataPointerRelay Box38
+
+new creaMaracasVisu:ImageChangeInformation Box39
+
 
 connect viewer.Renderer1 showNpoints.Renderer
 
@@ -101,14 +106,8 @@ connect viewer.Point showNpoints.In
 
 connect viewer.BoxChange showNpoints.BoxExecute
 
-connect Box04.Out showNpoints.Image
-
-connect Box04.Out viewer.In
-
 connect viewer.BoxChange Box11.BoxExecute
 
-connect Box04.Out Box11.In
-
 connect viewer.wxVtkBaseView2 Box11.WxVtkBaseView1
 
 connect viewer.wxVtkBaseView3 Box11.WxVtkBaseView2
@@ -119,16 +118,10 @@ connect Box06.Widget Box13.Widget1
 
 connect Box12.Widget Box13.Widget2
 
-connect Box04.Out Box21.In
-
-connect Box04.Out Box22.In
-
 connect Box22.Widget Box12.Widget1
 
 connect Box16.Widget Box12.Widget2
 
-connect Box04.Out Box16.In
-
 connect Box18.Widget Box06.Widget1
 
 connect showNpoints.Widget Box18.Widget1
@@ -145,8 +138,6 @@ connect Box24.Widget Box23.Widget2
 
 connect viewer.BoxChange Box24.BoxExecute
 
-connect Box04.Out Box24.In
-
 connect viewer.Interactor1 Box24.Interactor
 
 connect viewer.Renderer1 Box24.Renderer
@@ -171,18 +162,12 @@ connect viewer.Renderer1 Box27.vtkRenderer
 
 connect viewer.Renderer1 Box26.vtkRenderer
 
-connect Box04.Out Box26.In
-
-connect Box04.Out Box27.In
-
 connect viewer.Point Box16.point
 
 connect Box25.Out viewer.BoxExecute
 
 connect Box28.widget Box06.Widget5
 
-connect Box04.Out Box28.in
-
 connect Box29.Widget Box20.Widget1
 
 connect viewer.Renderer1 Box30.Rederer3D
@@ -227,6 +212,30 @@ connect viewer.Widget Box37.Widget2
 
 connect viewer.Renderer1 Box31.Rederer3D
 
+connect Box38.Out Box39.In
+
+connect Box39.Out viewer.In
+
+connect Box04.Out Box38.In
+
+connect Box39.Out showNpoints.Image
+
+connect Box39.Out Box21.In
+
+connect Box39.Out Box11.In
+
+connect Box39.Out Box24.In
+
+connect Box39.Out Box22.In
+
+connect Box39.Out Box16.In
+
+connect Box39.Out Box26.In
+
+connect Box39.Out Box27.In
+
+connect Box39.Out Box28.in
+
 
 
 # Complex input ports
index 36891d1a1aaab9cb861f63b952ef76ecce36415a..9c23f2eaeb6fde9bc862cb7f17ca72515970571d 100755 (executable)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbg
+# - /home/davila/Creatis/C8/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbg
 # ----------------------------------
 
 APP_START
@@ -9,30 +9,32 @@ DESCRIPTION:Description ??
 AUTHOR:Author ??
 COMPLEXBOX:FALSE
 COMPLEXINPUTS:0
-BOXES:36
+BOXES:39
 BOX
 creaImageIO:ImagesChooserDialogBox:Box00
 ISEXEC:FALSE
--19.703199:161.952689:-900.000000
-51.471801:151.952689:-900.000000
+-22.593359:192.781067:-900.000000
+28.881641:182.781067:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:ViewerNV:Box01
 ISEXEC:FALSE
 92.878707:104.248747:-900.000000
-138.453707:94.248747:-900.000000
+156.598707:94.248747:-900.000000
+PORT
+nTypeView:"6 1 2 0"
 FIN_BOX
 BOX
 toolsbbtk:ImageVtkPropertiesWidget:Box04
 ISEXEC:FALSE
 -51.283648:96.969486:-900.000000
-19.891352:86.969486:-900.000000
+0.866352:86.969486:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box05
 ISEXEC:FALSE
 17.115805:9.090075:-900.000000
-62.690805:-0.909925:-900.000000
+74.675805:-0.909925:-900.000000
 PORT
 WinHide:"800"
 PORT
@@ -42,7 +44,7 @@ BOX
 toolsbbtk:SaveMHD-Button:Box06
 ISEXEC:FALSE
 30.936355:98.719169:-900.000000
-76.511355:88.719169:-900.000000
+73.461355:88.719169:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box07
@@ -56,13 +58,13 @@ BOX
 creaMiniTools:LayerCol-VolRend-SurRend_Multi-Widget:Box16
 ISEXEC:FALSE
 -127.699667:43.560172:-900.000000
--56.524667:33.560172:-900.000000
+-61.949667:33.560172:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box11
 ISEXEC:FALSE
 -119.524604:-326.768067:-900.000000
--73.949604:-336.768067:-900.000000
+-61.964604:-336.768067:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box14
@@ -76,7 +78,7 @@ BOX
 wx:LayoutSplit:Box15
 ISEXEC:FALSE
 -88.989036:-293.379348:-900.000000
--43.414036:-303.379348:-900.000000
+-49.909036:-303.379348:-900.000000
 PORT
 Proportion:"15"
 PORT
@@ -134,7 +136,7 @@ BOX
 std:ConcatStrings:Box23
 ISEXEC:FALSE
 -40.292769:-18.216453:-900.000000
-5.282231:-28.216453:-900.000000
+-0.567769:-28.216453:-900.000000
 PORT
 In2:" "
 PORT
@@ -144,37 +146,37 @@ BOX
 vtk:vtkImageDataPointerRelay:Box24
 ISEXEC:FALSE
 -21.500285:135.932912:-900.000000
-49.674715:125.932912:-900.000000
+30.674715:125.932912:-900.000000
 FIN_BOX
 BOX
 vtk:LoadHola:Box26
 ISEXEC:FALSE
 -82.733089:161.786575:-900.000000
--37.158089:151.786575:-900.000000
+-47.183089:151.786575:-900.000000
 FIN_BOX
 BOX
 std:MultipleInputs:Box34
 ISEXEC:FALSE
 -28.171891:-99.413110:-900.000000
-17.403109:-109.413110:-900.000000
+11.528109:-109.413110:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box36
 ISEXEC:FALSE
-85.590716:-276.693831:-900.000000
-131.165716:-286.693831:-900.000000
+81.269521:-226.410837:-900.000000
+138.829521:-236.410837:-900.000000
 FIN_BOX
 BOX
 std:MultipleInputs:Box50
 ISEXEC:FALSE
 -69.433744:-48.846784:-900.000000
--23.858744:-58.846784:-900.000000
+-29.733744:-58.846784:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box57
 ISEXEC:FALSE
 -147.527923:-145.339995:-900.000000
--101.952923:-155.339995:-900.000000
+-89.967923:-155.339995:-900.000000
 PORT
 WinTitle:"Layer"
 FIN_BOX
@@ -182,27 +184,29 @@ BOX
 creaVtk:OutputWindow:Box71
 ISEXEC:TRUE
 -127.211392:-360.773780:-900.000000
--81.636392:-370.773780:-900.000000
+-86.611392:-370.773780:-900.000000
 FIN_BOX
 BOX
 wx:LayoutSplit:Box72
 ISEXEC:TRUE
 -36.039635:-359.784631:-900.000000
-9.535365:-369.784631:-900.000000
+3.040365:-369.784631:-900.000000
 PORT
 Orientation:"H"
+PORT
+WinTitle:"ImageTools-Viewer-ViewerNV"
 FIN_BOX
 BOX
 creaMaracasVisu:Measure3DLength_Widget:Box74
 ISEXEC:FALSE
 -274.335219:-145.856647:-900.000000
--196.272398:-155.856647:-900.000000
+-222.810219:-155.856647:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box75
 ISEXEC:FALSE
 -152.976375:-295.546787:-900.000000
--107.401375:-305.546787:-900.000000
+-95.416375:-305.546787:-900.000000
 PORT
 WinTitle:"Tools"
 FIN_BOX
@@ -286,7 +290,7 @@ BOX
 std:ConcatStrings:Box86
 ISEXEC:FALSE
 -173.942465:-43.014228:-900.000000
--128.367465:-53.014228:-900.000000
+-134.217465:-53.014228:-900.000000
 PORT
 In2:" "
 PORT
@@ -296,13 +300,13 @@ BOX
 std:MathOperationVector:Box87
 ISEXEC:FALSE
 -136.645928:-73.308976:-900.000000
--65.470928:-83.308976:-900.000000
+-89.120928:-83.308976:-900.000000
 FIN_BOX
 BOX
 creaMiniTools:crop-viewer-widget:Box88
 ISEXEC:FALSE
 20.852498:-188.623188:-900.000000
-66.427498:-198.623188:-900.000000
+66.402498:-198.623188:-900.000000
 PORT
 title:"Base Image A"
 FIN_BOX
@@ -310,7 +314,7 @@ BOX
 creaMiniTools:crop-viewer-widget:Box89
 ISEXEC:FALSE
 93.625618:-198.149131:-900.000000
-139.200618:-208.149131:-900.000000
+139.175618:-208.149131:-900.000000
 PORT
 title:"Base Image B"
 FIN_BOX
@@ -318,7 +322,7 @@ BOX
 creaMiniTools:crop-viewer-widget-manual:Box85
 ISEXEC:FALSE
 171.088596:-188.775244:-900.000000
-242.263596:-198.775244:-900.000000
+224.888596:-198.775244:-900.000000
 PORT
 _title:"Image A"
 FIN_BOX
@@ -326,7 +330,7 @@ BOX
 creaMiniTools:crop-viewer-widget-manual:Box90
 ISEXEC:FALSE
 247.547207:-186.402300:-900.000000
-318.722207:-196.402300:-900.000000
+301.347207:-196.402300:-900.000000
 PORT
 _title:"Image B"
 FIN_BOX
@@ -334,9 +338,29 @@ BOX
 std:MultipleInputs:Box91
 ISEXEC:FALSE
 -259.067762:-50.286627:-900.000000
--213.492762:-60.286627:-900.000000
+-219.367762:-60.286627:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ImageChangeInformation:Box49
+ISEXEC:FALSE
+-22.318461:163.615191:-900.000000
+29.206539:153.615191:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:HelpViewerNV:Box51
+ISEXEC:FALSE
+-33.587468:-291.484229:-900.000000
+6.712532:-301.484229:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box52
+ISEXEC:FALSE
+-55.980541:-308.937837:-900.000000
+1.579459:-318.937837:-900.000000
+PORT
+WinTitle:"Viewer Help"
 FIN_BOX
-CONNECTIONS:71
+CONNECTIONS:74
 CONNECTION
 Box04:widget:Box05:Widget2
 NumberOfControlPoints:0
@@ -548,6 +572,15 @@ CONNECTION
 Box50:BoxChange:Box34:In2
 NumberOfControlPoints:0
 CONNECTION
-Box00:Out:Box24:In
+Box00:Out:Box49:In
+NumberOfControlPoints:0
+CONNECTION
+Box49:Out:Box24:In
+NumberOfControlPoints:0
+CONNECTION
+Box51:widget:Box52:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box52:Widget:Box11:Widget5
 NumberOfControlPoints:0
 APP_END
index 96439bb06dfd2f285a640b7330a7544942831954..365fdbdaa46e94bb38e07751b6ec362841498c41 100755 (executable)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script
-# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbs
+# - /home/davila/Creatis/C8/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbs
 # ----------------------------------
 
 # BBTK GEditor Script
@@ -24,6 +24,7 @@ category "<VOID>"
 new creaImageIO:ImagesChooserDialogBox Box00
 
 new creaMaracasVisu:ViewerNV Box01
+  set Box01.nTypeView "6 1 2 0"
 
 new toolsbbtk:ImageVtkPropertiesWidget Box04
 
@@ -89,6 +90,7 @@ new creaVtk:OutputWindow Box71
 
 new wx:LayoutSplit Box72
   set Box72.Orientation "H"
+  set Box72.WinTitle "ImageTools-Viewer-ViewerNV"
 
 new creaMaracasVisu:Measure3DLength_Widget Box74
 
@@ -148,6 +150,13 @@ new creaMiniTools:crop-viewer-widget-manual Box90
 
 new std:MultipleInputs Box91
 
+new creaMaracasVisu:ImageChangeInformation Box49
+
+new creaMaracasVisu:HelpViewerNV Box51
+
+new wx:LayoutLine Box52
+  set Box52.WinTitle "Viewer Help"
+
 
 connect Box04.widget Box05.Widget2
 
@@ -289,7 +298,13 @@ connect Box91.BoxChange Box34.In3
 
 connect Box50.BoxChange Box34.In2
 
-connect Box00.Out Box24.In
+connect Box00.Out Box49.In
+
+connect Box49.Out Box24.In
+
+connect Box51.widget Box52.Widget1
+
+connect Box52.Widget Box11.Widget5
 
 
 
index 8e0dd1bb4809813fc90f95ff3fd87a28d7fc3223..be11281cb9ec0ea1ccbd26980200b4450e6d5632 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVwithVolRenExample.bbg
+# - /home/davila/Creatis/C8/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVwithVolRenExample.bbg
 # ----------------------------------
 
 APP_START
@@ -9,32 +9,30 @@ DESCRIPTION:Description ??
 AUTHOR:Author ??
 COMPLEXBOX:FALSE
 COMPLEXINPUTS:0
-BOXES:8
+BOXES:12
 BOX
 creaImageIO:ImagesChooserDialogBox:Box00
 ISEXEC:FALSE
--32.069940:88.006745:-900.000000
-39.105060:78.006745:-900.000000
+-28.449670:131.967160:-900.000000
+23.025330:121.967160:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:ViewerNV:Box01
 ISEXEC:FALSE
 -82.653137:61.767325:-900.000000
--22.013137:51.767325:-900.000000
-PORT
-nTypeView:"5 1 2 0"
+-18.933137:51.767325:-900.000000
 FIN_BOX
 BOX
 toolsbbtk:ImageVtkPropertiesWidget:Box04
 ISEXEC:FALSE
 -10.231970:64.047466:-900.000000
-60.943030:54.047466:-900.000000
+41.918030:54.047466:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box05
 ISEXEC:FALSE
-29.201253:-12.466273:-900.000000
-86.761253:-22.466273:-900.000000
+22.347298:-25.771010:-900.000000
+79.907298:-35.771010:-900.000000
 PORT
 WinHide:"800"
 PORT
@@ -44,13 +42,13 @@ BOX
 toolsbbtk:SaveMHD-Button:Box06
 ISEXEC:FALSE
 77.377634:66.337046:-900.000000
-122.952634:56.337046:-900.000000
+119.902634:56.337046:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box07
 ISEXEC:FALSE
--66.111428:33.588530:-900.000000
--8.551428:23.588530:-900.000000
+-58.870889:24.796447:-900.000000
+-1.310889:14.796447:-900.000000
 PORT
 WinTitle:"MPR Viewer"
 FIN_BOX
@@ -58,23 +56,45 @@ BOX
 creaMiniTools:LayerCol-VolRend-SurRend_Multi-Widget:Box08
 ISEXEC:FALSE
 -96.266590:-2.061123:-900.000000
--25.091590:-12.061123:-900.000000
+-30.516590:-12.061123:-900.000000
 FIN_BOX
 BOX
 wx:LayoutSplit:Box09
 ISEXEC:TRUE
--5.577158:-40.131286:-900.000000
-39.997842:-50.131286:-900.000000
+-11.221592:-53.436023:-900.000000
+27.858408:-63.436023:-900.000000
 PORT
 Orientation:"H"
+PORT
+WinTitle:"ImageTools-Viewer-ViewerNV  (with VolRendering)"
 FIN_BOX
-CONNECTIONS:13
-CONNECTION
-Box00:Out:Box01:In
-NumberOfControlPoints:0
-CONNECTION
-Box00:Out:Box04:in
-NumberOfControlPoints:0
+BOX
+creaMaracasVisu:ImageChangeInformation:Box10
+ISEXEC:FALSE
+-12.115948:109.684020:-900.000000
+39.409052:99.684020:-900.000000
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box11
+ISEXEC:FALSE
+-4.945723:91.070893:-900.000000
+47.229277:81.070893:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:HelpViewerNV:Box12
+ISEXEC:FALSE
+90.210149:26.407887:-900.000000
+130.510149:16.407887:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box13
+ISEXEC:FALSE
+69.179703:-3.181241:-900.000000
+126.739703:-13.181241:-900.000000
+PORT
+WinTitle:"Viewer Help"
+FIN_BOX
+CONNECTIONS:17
 CONNECTION
 Box04:widget:Box05:Widget2
 NumberOfControlPoints:0
@@ -82,9 +102,6 @@ CONNECTION
 Box06:Widget:Box05:Widget3
 NumberOfControlPoints:0
 CONNECTION
-Box00:Out:Box06:In
-NumberOfControlPoints:0
-CONNECTION
 Box01:Widget:Box07:Widget1
 NumberOfControlPoints:0
 CONNECTION
@@ -108,4 +125,25 @@ NumberOfControlPoints:0
 CONNECTION
 Box01:wxVtkBaseView4:Box08:wxvtkbaseview3
 NumberOfControlPoints:0
+CONNECTION
+Box11:Out:Box01:In
+NumberOfControlPoints:0
+CONNECTION
+Box11:Out:Box04:in
+NumberOfControlPoints:0
+CONNECTION
+Box11:Out:Box06:In
+NumberOfControlPoints:0
+CONNECTION
+Box10:Out:Box11:In
+NumberOfControlPoints:0
+CONNECTION
+Box00:Out:Box10:In
+NumberOfControlPoints:0
+CONNECTION
+Box12:widget:Box13:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box13:Widget:Box05:Widget6
+NumberOfControlPoints:0
 APP_END
index d1b140676339aef19a2b8a19c4eb48d0bffb1c9e..b87cac5dcbce222e88c678711aafb723b56d9940 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script
-# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVwithVolRenExample.bbs
+# - /home/davila/Creatis/C8/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVwithVolRenExample.bbs
 # ----------------------------------
 
 # BBTK GEditor Script
@@ -13,6 +13,7 @@ include creaMaracasVisu
 include toolsbbtk
 include wx
 include creaMiniTools
+include vtk
 
 author "Author ??"
 description "Description ??"
@@ -21,7 +22,6 @@ category "<VOID>"
 new creaImageIO:ImagesChooserDialogBox Box00
 
 new creaMaracasVisu:ViewerNV Box01
-  set Box01.nTypeView "5 1 2 0"
 
 new toolsbbtk:ImageVtkPropertiesWidget Box04
 
@@ -38,18 +38,22 @@ new creaMiniTools:LayerCol-VolRend-SurRend_Multi-Widget Box08
 
 new wx:LayoutSplit Box09
   set Box09.Orientation "H"
+  set Box09.WinTitle "ImageTools-Viewer-ViewerNV  (with VolRendering)"
 
+new creaMaracasVisu:ImageChangeInformation Box10
 
-connect Box00.Out Box01.In
+new vtk:vtkImageDataPointerRelay Box11
+
+new creaMaracasVisu:HelpViewerNV Box12
+
+new wx:LayoutLine Box13
+  set Box13.WinTitle "Viewer Help"
 
-connect Box00.Out Box04.in
 
 connect Box04.widget Box05.Widget2
 
 connect Box06.Widget Box05.Widget3
 
-connect Box00.Out Box06.In
-
 connect Box01.Widget Box07.Widget1
 
 connect Box07.Widget Box05.Widget1
@@ -66,6 +70,20 @@ connect Box01.wxVtkBaseView3 Box08.wxvtkbaseview2
 
 connect Box01.wxVtkBaseView4 Box08.wxvtkbaseview3
 
+connect Box11.Out Box01.In
+
+connect Box11.Out Box04.in
+
+connect Box11.Out Box06.In
+
+connect Box10.Out Box11.In
+
+connect Box00.Out Box10.In
+
+connect Box12.widget Box13.Widget1
+
+connect Box13.Widget Box05.Widget6
+
 
 
 # Complex input ports
index 068dd3cece7cbaace3285921c3e80b55aa20016b..e221db023006b869855cfbc1fe8f8c7ed0c66ad3 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Multi-Widget.bbg
+# - /home/davila/Creatis/C8/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Multi-Widget.bbg
 # ----------------------------------
 
 APP_START
@@ -37,7 +37,9 @@ BOX
 creaMiniTools:LayerCol-VolRend-SurRend_Widget:Box08
 ISEXEC:FALSE
 -140.679007:-0.207604:-900.000000
--69.504007:-10.207604:-900.000000
+-80.329007:-10.207604:-900.000000
+PORT
+colorbarposition:"0    100"
 PORT
 title:"Layer-1"
 FIN_BOX
@@ -45,7 +47,7 @@ BOX
 wx:LayoutTab:Box10
 ISEXEC:FALSE
 -104.959681:-82.554057:-900.000000
--47.399681:-92.554057:-900.000000
+-68.709681:-92.554057:-900.000000
 PORT
 WinTitle:"Superpose"
 FIN_BOX
@@ -53,13 +55,15 @@ BOX
 wx:LayoutTab:Box11
 ISEXEC:FALSE
 -83.472534:-107.035525:-900.000000
--25.912534:-117.035525:-900.000000
+-47.222534:-117.035525:-900.000000
 FIN_BOX
 BOX
 creaMiniTools:LayerCol-VolRend-SurRend_Widget:Box12
 ISEXEC:FALSE
 -106.008658:-13.816040:-900.000000
--34.833658:-23.816040:-900.000000
+-45.658658:-23.816040:-900.000000
+PORT
+colorbarposition:"60    100"
 PORT
 title:"Layer-2"
 FIN_BOX
@@ -67,7 +71,9 @@ BOX
 creaMiniTools:LayerCol-VolRend-SurRend_Widget:Box13
 ISEXEC:FALSE
 -80.082555:-27.424477:-900.000000
--8.907555:-37.424477:-900.000000
+-19.732555:-37.424477:-900.000000
+PORT
+colorbarposition:"120  100"
 PORT
 title:"Layer-3"
 FIN_BOX
@@ -75,7 +81,9 @@ BOX
 creaMaracasVisu:ColorLayerImageView:Box14
 ISEXEC:FALSE
 -67.454266:-45.155335:-900.000000
-3.720734:-55.155335:-900.000000
+2.425734:-55.155335:-900.000000
+PORT
+ColorBarPosition:"180 100"
 PORT
 WinTitle:"Layer-Base"
 PORT
@@ -85,7 +93,7 @@ BOX
 wx:LayoutLine:Box15
 ISEXEC:FALSE
 -62.169855:-63.197436:-900.000000
--4.609855:-73.197436:-900.000000
+-25.594855:-73.197436:-900.000000
 PORT
 WinTitle:"Layer-Base"
 FIN_BOX
@@ -93,25 +101,25 @@ BOX
 std:MagicBox:Box16
 ISEXEC:FALSE
 -120.543629:92.148908:-900.000000
--74.968629:82.148908:-900.000000
+-84.468629:82.148908:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box17
 ISEXEC:FALSE
 -56.803503:99.000035:-900.000000
--11.228503:89.000035:-900.000000
+-20.728503:89.000035:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box18
 ISEXEC:FALSE
 49.603373:96.995800:-900.000000
-95.178373:86.995800:-900.000000
+85.678373:86.995800:-900.000000
 FIN_BOX
 BOX
 std:MagicBox:Box19
 ISEXEC:FALSE
 -3.260461:98.605866:-900.000000
-42.314539:88.605866:-900.000000
+32.814539:88.605866:-900.000000
 FIN_BOX
 CONNECTIONS:26
 CONNECTION
index 0d1722f95ad6180dcf2ce962f5369d15f95710b9..3d005b65b3e2efafcc5583be295dcf2137be8cb8 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Multi-Widget.bbs
+# - /home/davila/Creatis/C8/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Multi-Widget.bbs
 # ----------------------------------
 
 include std
@@ -18,6 +18,7 @@ description "Description ??"
 category "<VOID>"
 
 new creaMiniTools:LayerCol-VolRend-SurRend_Widget Box08
+  set Box08.colorbarposition "0    100"
   set Box08.title "Layer-1"
 
 new wx:LayoutTab Box10
@@ -26,12 +27,15 @@ new wx:LayoutTab Box10
 new wx:LayoutTab Box11
 
 new creaMiniTools:LayerCol-VolRend-SurRend_Widget Box12
+  set Box12.colorbarposition "60    100"
   set Box12.title "Layer-2"
 
 new creaMiniTools:LayerCol-VolRend-SurRend_Widget Box13
+  set Box13.colorbarposition "120  100"
   set Box13.title "Layer-3"
 
 new creaMaracasVisu:ColorLayerImageView Box14
+  set Box14.ColorBarPosition "180 100"
   set Box14.WinTitle "Layer-Base"
   set Box14.lstTransparenceBoundaries "0"
 
index 0d085470cf10567a2e1fd4b28060dbaed1153524..84f249e0dd8551bc4cfaf78775e685170cf38384 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Widget.bbg
+# - /home/davila/Creatis/C8/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Widget.bbg
 # ----------------------------------
 
 APP_START
@@ -15,28 +15,32 @@ COMPLEX_PORT
 widgetLayer
 -331.526176:-242.692372:-900.000000
 FIN_COMPLEX_PORT
-COMPLEXINPUTS:5
+COMPLEXINPUTS:6
 COMPLEX_PORT
 Rederer3D
 -6.791163:282.884110:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 vtkbaseview1
--391.405057:285.327934:-900.000000
+-399.770890:339.182984:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 vtkbaseview2
--365.476084:283.026149:-900.000000
+-372.273323:343.678439:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 vtkbaseview3
--333.787254:286.793158:-900.000000
+-342.153087:343.785396:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 title
--304.265811:289.354543:-900.000000
+-269.438888:346.907509:-900.000000
 FIN_COMPLEX_PORT
-BOXES:36
+COMPLEX_PORT
+colorbarposition
+-216.202353:341.176658:-900.000000
+FIN_COMPLEX_PORT
+BOXES:46
 BOX
 wx:LayoutLine:Box06
 ISEXEC:FALSE
@@ -49,15 +53,15 @@ BOX
 wx:CommandButton:Box23
 ISEXEC:FALSE
 -257.536202:235.521759:-900.000000
--211.961202:225.521759:-900.000000
+-214.761202:225.521759:-900.000000
 PORT
 Label:"Load Image"
 FIN_BOX
 BOX
 creaImageIO:ImagesChooserDialogBox:Box24
 ISEXEC:FALSE
--139.270189:186.004326:-900.000000
--68.095189:176.004326:-900.000000
+-145.924829:198.362943:-900.000000
+-94.449829:188.362943:-900.000000
 PORT
 BoxProcessMode:"Manual"
 PORT
@@ -66,11 +70,13 @@ FIN_BOX
 BOX
 creaMaracasVisu:ColorLayerImageView:Box26
 ISEXEC:FALSE
--405.969489:118.743039:-900.000000
--334.794489:108.743039:-900.000000
+-406.559776:119.333326:-900.000000
+-336.679776:109.333326:-900.000000
 PORT
 FittingMode:"-1"
 PORT
+Opacity:"50"
+PORT
 PlainOrGradientColor:"false"
 PORT
 TypeControlsInterface:"2"
@@ -81,25 +87,25 @@ BOX
 vtk:VolumeRenderer:Box32
 ISEXEC:FALSE
 -231.930975:39.582988:-900.000000
--176.952438:29.582988:-900.000000
+-189.305975:29.582988:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:TransferFunctionView:Box33
 ISEXEC:FALSE
 -269.742969:79.625606:-900.000000
--198.567969:69.625606:-900.000000
+-223.117969:69.625606:-900.000000
 FIN_BOX
 BOX
 creaVtk:Actor:Box34
 ISEXEC:FALSE
 -262.924791:18.810861:-900.000000
--230.149791:8.810861:-900.000000
+-231.324791:8.810861:-900.000000
 FIN_BOX
 BOX
 vtk:UpdateRender:Box35
 ISEXEC:FALSE
 -64.879661:-47.894946:-900.000000
--19.304661:-57.894946:-900.000000
+-24.554661:-57.894946:-900.000000
 PORT
 Active:"true"
 FIN_BOX
@@ -107,7 +113,7 @@ BOX
 wxvtk:IsoSurfaceWidget:Box36
 ISEXEC:FALSE
 -116.137275:77.578915:-900.000000
--70.562275:67.578915:-900.000000
+-72.987275:67.578915:-900.000000
 PORT
 Colour:"1 1 0"
 FIN_BOX
@@ -115,7 +121,7 @@ BOX
 vtk:vtkImageDataPointerRelay:Box38
 ISEXEC:FALSE
 -124.390007:165.848654:-900.000000
--53.215007:155.848654:-900.000000
+-72.215007:155.848654:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box27
@@ -149,13 +155,13 @@ BOX
 wx:LayoutTab:Box31
 ISEXEC:FALSE
 -97.827376:-10.964342:-900.000000
--52.252376:-20.964342:-900.000000
+-40.267376:-20.964342:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box37
 ISEXEC:FALSE
--121.404862:47.404626:-900.000000
--63.844862:37.404626:-900.000000
+-122.939685:18.104690:-900.000000
+-65.379685:8.104690:-900.000000
 PORT
 WinTitle:"Surface Rendering-1"
 FIN_BOX
@@ -177,7 +183,7 @@ BOX
 wx:LayoutSplit:Box41
 ISEXEC:FALSE
 -336.519542:-218.920349:-900.000000
--290.944542:-228.920349:-900.000000
+-297.439542:-228.920349:-900.000000
 PORT
 Proportion:"10"
 PORT
@@ -195,37 +201,37 @@ BOX
 toolsbbtk:ImageVtkPropertiesWidget:Box44
 ISEXEC:FALSE
 -114.046325:-116.656292:-900.000000
--42.871325:-126.656292:-900.000000
+-61.896325:-126.656292:-900.000000
 FIN_BOX
 BOX
 wxvtk:IsoSurfaceWidget:Box47
 ISEXEC:FALSE
--55.620898:77.017382:-900.000000
--10.045898:67.017382:-900.000000
+-10.623333:80.588617:-900.000000
+32.526667:70.588617:-900.000000
 PORT
 Colour:"1 0 0"
 FIN_BOX
 BOX
 wx:LayoutLine:Box48
 ISEXEC:FALSE
--50.254138:48.588000:-900.000000
--4.679138:38.588000:-900.000000
+-3.177861:18.541051:-900.000000
+54.382139:8.541051:-900.000000
 PORT
 WinTitle:"Surface Rendering-2"
 FIN_BOX
 BOX
 wxvtk:IsoSurfaceWidget:Box49
 ISEXEC:FALSE
-11.110327:77.496106:-900.000000
-56.685327:67.496106:-900.000000
+92.534493:89.281183:-900.000000
+135.684493:79.281183:-900.000000
 PORT
 Colour:"0 0 1"
 FIN_BOX
 BOX
 wx:LayoutLine:Box50
 ISEXEC:FALSE
-15.484422:48.922481:-900.000000
-61.059422:38.922481:-900.000000
+79.048547:27.882552:-900.000000
+136.608547:17.882552:-900.000000
 PORT
 WinTitle:"Surface Rendering-3"
 FIN_BOX
@@ -233,13 +239,13 @@ BOX
 std:MultipleInputs:Box52
 ISEXEC:FALSE
 -97.024399:-98.117170:-900.000000
--51.449399:-108.117170:-900.000000
+-57.324399:-108.117170:-900.000000
 FIN_BOX
 BOX
 wx:LayoutSplit:Box53
 ISEXEC:FALSE
 -108.345291:-140.977108:-900.000000
--62.770291:-150.977108:-900.000000
+-69.265291:-150.977108:-900.000000
 PORT
 Proportion:"90"
 FIN_BOX
@@ -247,7 +253,7 @@ BOX
 wx:CommandButton:Box54
 ISEXEC:FALSE
 -46.959604:-72.461857:-900.000000
--1.384604:-82.461857:-900.000000
+-4.184604:-82.461857:-900.000000
 PORT
 Label:"Refresh"
 FIN_BOX
@@ -255,7 +261,7 @@ BOX
 wx:LayoutLine:Box55
 ISEXEC:FALSE
 -201.484471:-169.361130:-900.000000
--130.811069:-179.361130:-900.000000
+-143.924471:-179.361130:-900.000000
 PORT
 WinTitle:"Image Properties"
 FIN_BOX
@@ -263,25 +269,25 @@ BOX
 std:MagicBox:Box56
 ISEXEC:FALSE
 -11.246369:183.643876:-900.000000
-34.328631:173.643876:-900.000000
+24.828631:173.643876:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:ImageChangeInformation:Box57
 ISEXEC:FALSE
 -344.740309:139.788910:-900.000000
--273.565309:129.788910:-900.000000
+-293.215309:129.788910:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:ImageChangeInformation:Box59
 ISEXEC:FALSE
 -437.948998:7.260499:-900.000000
--366.773998:-2.739501:-900.000000
+-386.423998:-2.739501:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:SliderMinMax-flexible:Box60
 ISEXEC:FALSE
 -472.391816:186.923334:-900.000000
--401.216816:176.923334:-900.000000
+-425.266816:176.923334:-900.000000
 PORT
 maxIn:"1000"
 PORT
@@ -293,13 +299,13 @@ BOX
 std:MultipleInputs:Box61
 ISEXEC:FALSE
 -409.338655:154.856618:-900.000000
--363.763655:144.856618:-900.000000
+-369.638655:144.856618:-900.000000
 FIN_BOX
 BOX
 std:ConcatStrings:Box62
 ISEXEC:FALSE
 -485.624471:157.257221:-900.000000
--440.049471:147.257221:-900.000000
+-445.899471:147.257221:-900.000000
 PORT
 In2:" "
 FIN_BOX
@@ -307,9 +313,93 @@ BOX
 std:ConcatStrings:Box63
 ISEXEC:FALSE
 -464.024069:141.514915:-900.000000
--418.449069:131.514915:-900.000000
+-424.299069:131.514915:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ColorLayerImageView:Box64
+ISEXEC:FALSE
+-94.902840:37.290548:-900.000000
+-25.022840:27.290548:-900.000000
+PORT
+FittingMode:"-1"
+PORT
+Opacity:"0"
+PORT
+TypeControlsInterface:"2"
+PORT
+lstTransparenceBoundaries:"0"
+FIN_BOX
+BOX
+std:MagicBox:Box66
+ISEXEC:FALSE
+-378.916808:294.087720:-900.000000
+-342.841808:284.087720:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box67
+ISEXEC:FALSE
+-329.605133:294.186576:-900.000000
+-293.530133:284.186576:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box68
+ISEXEC:FALSE
+-443.469312:294.858668:-900.000000
+-407.394312:284.858668:-900.000000
+FIN_BOX
+BOX
+creaVtk:ImageThreshold:Box69
+ISEXEC:FALSE
+-96.263709:56.700807:-900.000000
+-54.463709:46.700807:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ColorLayerImageView:Box70
+ISEXEC:FALSE
+12.235302:44.076978:-900.000000
+82.115302:34.076978:-900.000000
+PORT
+FittingMode:"-1"
+PORT
+Opacity:"0"
+PORT
+TypeControlsInterface:"2"
+PORT
+lstTransparenceBoundaries:"0"
+FIN_BOX
+BOX
+creaVtk:ImageThreshold:Box71
+ISEXEC:FALSE
+9.088816:63.130112:-900.000000
+50.888816:53.130112:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ColorLayerImageView:Box72
+ISEXEC:FALSE
+106.159874:49.792036:-900.000000
+176.039874:39.792036:-900.000000
+PORT
+FittingMode:"-1"
+PORT
+Opacity:"0"
+PORT
+TypeControlsInterface:"2"
+PORT
+lstTransparenceBoundaries:"0"
 FIN_BOX
-CONNECTIONS:69
+BOX
+creaVtk:ImageThreshold:Box73
+ISEXEC:FALSE
+107.298870:72.059283:-900.000000
+149.098870:62.059283:-900.000000
+FIN_BOX
+BOX
+wx:LayoutCenter:Box74
+ISEXEC:FALSE
+-317.661384:11.427953:-900.000000
+-278.361384:1.427953:-900.000000
+FIN_BOX
+CONNECTIONS:96
 CONNECTION
 Box23:BoxChange:Box24:BoxExecute
 NumberOfControlPoints:0
@@ -344,9 +434,6 @@ CONNECTION
 Box33:Widget:Box30:Widget1
 NumberOfControlPoints:0
 CONNECTION
-Box29:Widget:Box06:Widget3
-NumberOfControlPoints:0
-CONNECTION
 Box37:Widget:Box31:Widget1
 NumberOfControlPoints:0
 CONNECTION
@@ -368,9 +455,6 @@ CONNECTION
 Box23:BoxChange:Box32:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box23:Widget:Box41:Widget1
-NumberOfControlPoints:0
-CONNECTION
 Box40:Widget:Box41:Widget2
 NumberOfControlPoints:0
 CONNECTION
@@ -449,15 +533,6 @@ CONNECTION
 Box41:Widget:widgetLayer:widgetLayer
 NumberOfControlPoints:0
 CONNECTION
-vtkbaseview1:vtkbaseview1:Box26:WxVtkBaseView
-NumberOfControlPoints:0
-CONNECTION
-vtkbaseview2:vtkbaseview2:Box26:WxVtkBaseView1
-NumberOfControlPoints:0
-CONNECTION
-vtkbaseview3:vtkbaseview3:Box26:WxVtkBaseView2
-NumberOfControlPoints:0
-CONNECTION
 title:title:Box41:WinTitle
 NumberOfControlPoints:0
 CONNECTION
@@ -517,4 +592,100 @@ NumberOfControlPoints:0
 CONNECTION
 Box62:Out:Box26:lstRangeForColorBar
 NumberOfControlPoints:0
+CONNECTION
+colorbarposition:colorbarposition:Box26:ColorBarPosition
+NumberOfControlPoints:0
+CONNECTION
+Box29:Widget:Box06:Widget7
+NumberOfControlPoints:0
+CONNECTION
+Box64:Widget:Box37:Widget3
+NumberOfControlPoints:0
+CONNECTION
+vtkbaseview1:vtkbaseview1:Box68:In
+NumberOfControlPoints:0
+CONNECTION
+vtkbaseview2:vtkbaseview2:Box66:In
+NumberOfControlPoints:0
+CONNECTION
+vtkbaseview3:vtkbaseview3:Box67:In
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box26:WxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box26:WxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box26:WxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box64:WxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box64:WxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box64:WxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box36:BoxChange:Box64:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box69:Out:Box64:In
+NumberOfControlPoints:0
+CONNECTION
+Box36:OutIsovalue:Box69:Lower
+NumberOfControlPoints:0
+CONNECTION
+Box26:NewImage:Box69:In
+NumberOfControlPoints:0
+CONNECTION
+Box71:Out:Box70:In
+NumberOfControlPoints:0
+CONNECTION
+Box70:Widget:Box48:Widget3
+NumberOfControlPoints:0
+CONNECTION
+Box47:OutIsovalue:Box71:Lower
+NumberOfControlPoints:0
+CONNECTION
+Box47:BoxChange:Box70:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box73:Out:Box72:In
+NumberOfControlPoints:0
+CONNECTION
+Box49:OutIsovalue:Box73:Lower
+NumberOfControlPoints:0
+CONNECTION
+Box72:Widget:Box50:Widget4
+NumberOfControlPoints:0
+CONNECTION
+Box49:BoxChange:Box72:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box70:WxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box70:WxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box70:WxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box68:Out:Box72:WxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+Box66:Out:Box72:WxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+Box67:Out:Box72:WxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box23:Widget:Box74:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box74:Widget:Box41:Widget1
+NumberOfControlPoints:0
 APP_END
index 0a193bd27b447d4b52b00b17d02c8f9709f61109..74e3db84b821bd25a62ddc61458d78e622b6c3b8 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Widget.bbs
+# - /home/davila/Creatis/C8/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Widget.bbs
 # ----------------------------------
 
 include std
@@ -33,6 +33,7 @@ new creaImageIO:ImagesChooserDialogBox Box24
 
 new creaMaracasVisu:ColorLayerImageView Box26
   set Box26.FittingMode "-1"
+  set Box26.Opacity "50"
   set Box26.PlainOrGradientColor "false"
   set Box26.TypeControlsInterface "2"
   set Box26.lstTransparenceBoundaries "0"
@@ -121,6 +122,38 @@ new std:ConcatStrings Box62
 
 new std:ConcatStrings Box63
 
+new creaMaracasVisu:ColorLayerImageView Box64
+  set Box64.FittingMode "-1"
+  set Box64.Opacity "0"
+  set Box64.TypeControlsInterface "2"
+  set Box64.lstTransparenceBoundaries "0"
+
+new std:MagicBox Box66
+
+new std:MagicBox Box67
+
+new std:MagicBox Box68
+
+new creaVtk:ImageThreshold Box69
+
+new creaMaracasVisu:ColorLayerImageView Box70
+  set Box70.FittingMode "-1"
+  set Box70.Opacity "0"
+  set Box70.TypeControlsInterface "2"
+  set Box70.lstTransparenceBoundaries "0"
+
+new creaVtk:ImageThreshold Box71
+
+new creaMaracasVisu:ColorLayerImageView Box72
+  set Box72.FittingMode "-1"
+  set Box72.Opacity "0"
+  set Box72.TypeControlsInterface "2"
+  set Box72.lstTransparenceBoundaries "0"
+
+new creaVtk:ImageThreshold Box73
+
+new wx:LayoutCenter Box74
+
 
 connect Box23.BoxChange Box24.BoxExecute
 connect Box33.Active Box34.Active
@@ -133,7 +166,6 @@ connect Box28.Widget Box27.Widget1
 connect Box27.Widget Box06.Widget2
 connect Box30.Widget Box29.Widget1
 connect Box33.Widget Box30.Widget1
-connect Box29.Widget Box06.Widget3
 connect Box37.Widget Box31.Widget1
 connect Box31.Widget Box06.Widget4
 connect Box34.BoxChange Box35.BoxExecute
@@ -141,7 +173,6 @@ connect Box36.Widget Box37.Widget1
 connect Box23.BoxChange Box36.BoxExecute
 connect Box23.BoxChange Box33.BoxExecute
 connect Box23.BoxChange Box32.BoxExecute
-connect Box23.Widget Box41.Widget1
 connect Box40.Widget Box41.Widget2
 connect Box06.Widget Box40.Widget1
 connect Box39.Widget Box43.Widget1
@@ -185,13 +216,42 @@ connect Box63.Out Box26.lstTransparenceBoundaries
 connect Box60.outstart Box62.In1
 connect Box60.outend Box62.In3
 connect Box62.Out Box26.lstRangeForColorBar
+connect Box29.Widget Box06.Widget7
+connect Box64.Widget Box37.Widget3
+connect Box68.Out Box26.WxVtkBaseView
+connect Box66.Out Box26.WxVtkBaseView1
+connect Box67.Out Box26.WxVtkBaseView2
+connect Box68.Out Box64.WxVtkBaseView
+connect Box66.Out Box64.WxVtkBaseView1
+connect Box67.Out Box64.WxVtkBaseView2
+connect Box36.BoxChange Box64.BoxExecute
+connect Box69.Out Box64.In
+connect Box36.OutIsovalue Box69.Lower
+connect Box26.NewImage Box69.In
+connect Box71.Out Box70.In
+connect Box70.Widget Box48.Widget3
+connect Box47.OutIsovalue Box71.Lower
+connect Box47.BoxChange Box70.BoxExecute
+connect Box73.Out Box72.In
+connect Box49.OutIsovalue Box73.Lower
+connect Box72.Widget Box50.Widget4
+connect Box49.BoxChange Box72.BoxExecute
+connect Box68.Out Box70.WxVtkBaseView
+connect Box66.Out Box70.WxVtkBaseView1
+connect Box67.Out Box70.WxVtkBaseView2
+connect Box68.Out Box72.WxVtkBaseView
+connect Box66.Out Box72.WxVtkBaseView1
+connect Box67.Out Box72.WxVtkBaseView2
+connect Box23.Widget Box74.Widget2
+connect Box74.Widget Box41.Widget1
 
 # Complex input ports
 input Rederer3D Box56.In " "
-input vtkbaseview1 Box26.WxVtkBaseView " "
-input vtkbaseview2 Box26.WxVtkBaseView1 " "
-input vtkbaseview3 Box26.WxVtkBaseView2 " "
 input title Box41.WinTitle " "
+input colorbarposition Box26.ColorBarPosition " "
+input vtkbaseview1 Box68.In " "
+input vtkbaseview2 Box66.In " "
+input vtkbaseview3 Box67.In " "
 
 # Complex output ports
 output widgetLayer Box41.Widget " "