From: Eduardo DAVILA Date: Fri, 27 May 2016 13:38:05 +0000 (+0200) Subject: #2915 CreaMiniTools Feature - NewNormalPlane Viewer (mhd) Application X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=372fcd4e0ddc90f91cb02c7824c24be3e859e71b;p=creaMiniTools.git #2915 CreaMiniTools Feature - NewNormalPlane Viewer (mhd) Application --- diff --git a/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbg b/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbg index de285c3..6d8098f 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbg +++ b/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbg @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBG BlackBox Diagram file -# - PlaneViewer-MHD.bbg +# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbg # ---------------------------------- APP_START @@ -9,7 +9,7 @@ DESCRIPTION:Description ?? AUTHOR:Author ?? COMPLEXBOX:FALSE COMPLEXINPUTS:0 -BOXES:41 +BOXES:44 BOX wx:FileSelector:Box00 ISEXEC:FALSE @@ -24,7 +24,7 @@ BOX creaMaracasVisu:ViewerNV:Box01 ISEXEC:FALSE 7.570031:-144.814069:-900.000000 -53.145031:-154.814069:-900.000000 +68.210031:-154.814069:-900.000000 PORT nTypeView:"-1" FIN_BOX @@ -40,23 +40,23 @@ BOX wx:Slider:Box03 ISEXEC:FALSE 6.263285:-11.900187:-900.000000 -39.038285:-21.900187:-900.000000 +57.663285:-21.900187:-900.000000 PORT ReactiveOnTrack:"true" FIN_BOX BOX wx:LayoutSplit:Box04 ISEXEC:TRUE -67.214866:-329.905412:-900.000000 -112.789866:-339.905412:-900.000000 +65.866536:-393.726363:-900.000000 +111.441536:-403.726363:-900.000000 PORT Orientation:"H" FIN_BOX BOX wx:LayoutTab:Box05 ISEXEC:FALSE -7.263609:-295.646603:-900.000000 -52.838609:-305.646603:-900.000000 +65.241797:-345.984255:-900.000000 +122.801797:-355.984255:-900.000000 FIN_BOX BOX std:ConcatStrings:Box07 @@ -91,8 +91,8 @@ FIN_BOX BOX wx:LayoutLine:Box16 ISEXEC:FALSE --54.911039:-269.972785:-900.000000 --9.336039:-279.972785:-900.000000 +6.614432:-328.731882:-900.000000 +64.174432:-338.731882:-900.000000 PORT WinTitle:"Image XY (.mhd)" FIN_BOX @@ -135,8 +135,8 @@ FIN_BOX BOX std:MultipleInputs:Box29 ISEXEC:FALSE -106.058325:-50.412549:-900.000000 -151.633325:-60.412549:-900.000000 +98.204932:-56.695263:-900.000000 +143.779932:-66.695263:-900.000000 FIN_BOX BOX wx:Slider:Box30 @@ -162,7 +162,7 @@ BOX wx:LayoutLine:Box31 ISEXEC:FALSE 259.432587:-176.541408:-900.000000 -305.007587:-186.541408:-900.000000 +316.992587:-186.541408:-900.000000 PORT Orientation:"V" PORT @@ -171,8 +171,8 @@ FIN_BOX BOX creaMaracasVisu:ColorLayerImageView:Box32 ISEXEC:FALSE -97.479321:-180.382987:-900.000000 -168.654321:-190.382987:-900.000000 +90.140120:-237.362562:-900.000000 +161.315120:-247.362562:-900.000000 PORT TypeControlsInterface:"2" FIN_BOX @@ -180,7 +180,7 @@ BOX wx:LayoutLine:Box34 ISEXEC:FALSE 285.423281:-131.024339:-900.000000 -330.998281:-141.024339:-900.000000 +342.983281:-141.024339:-900.000000 PORT Orientation:"H" FIN_BOX @@ -194,7 +194,7 @@ BOX wx:Slider:Box36 ISEXEC:FALSE 191.487186:1.442749:-900.000000 -224.262186:-8.557251:-900.000000 +242.887186:-8.557251:-900.000000 PORT Label:"true" PORT @@ -206,7 +206,7 @@ BOX wx:Slider:Box37 ISEXEC:FALSE 361.306245:-9.134380:-900.000000 -394.081245:-19.134380:-900.000000 +412.706245:-19.134380:-900.000000 PORT Label:"true" PORT @@ -218,7 +218,7 @@ BOX wx:LayoutLine:Box38 ISEXEC:FALSE 327.600980:-47.951598:-900.000000 -373.175980:-57.951598:-900.000000 +385.160980:-57.951598:-900.000000 FIN_BOX BOX std:MathOperation:Box39 @@ -242,13 +242,13 @@ BOX wx:LayoutTab:Box41 ISEXEC:FALSE -146.890557:-123.094462:-900.000000 --101.315557:-133.094462:-900.000000 +-89.330557:-133.094462:-900.000000 FIN_BOX BOX wx:LayoutLine:Box42 ISEXEC:FALSE -146.490944:-103.057249:-900.000000 --100.915944:-113.057249:-900.000000 +-88.930944:-113.057249:-900.000000 PORT WinTitle:"Base Image" FIN_BOX @@ -261,14 +261,14 @@ FIN_BOX BOX wx:LayoutTab:Box46 ISEXEC:FALSE -78.145080:-220.861707:-900.000000 -123.720080:-230.861707:-900.000000 +73.280489:-307.375847:-900.000000 +130.840489:-317.375847:-900.000000 FIN_BOX BOX wx:LayoutLine:Box47 ISEXEC:FALSE -84.828543:-201.569237:-900.000000 -130.403543:-211.569237:-900.000000 +88.580350:-270.616460:-900.000000 +146.140350:-280.616460:-900.000000 PORT WinTitle:"Transparence Layer" FIN_BOX @@ -276,7 +276,7 @@ BOX wx:LayoutLine:Box48 ISEXEC:FALSE 249.636440:-161.349000:-900.000000 -295.211440:-171.349000:-900.000000 +307.196440:-171.349000:-900.000000 PORT Orientation:"V" FIN_BOX @@ -297,8 +297,8 @@ FIN_BOX BOX creaVtk:ReadMHDPlane:Box54 ISEXEC:FALSE -107.589492:-146.937274:-900.000000 -153.164492:-156.937274:-900.000000 +126.437634:-149.555072:-900.000000 +172.012634:-159.555072:-900.000000 PORT Type:"1" FIN_BOX @@ -330,17 +330,45 @@ BOX wx:LayoutLine:Box61 ISEXEC:FALSE -178.219787:-70.436210:-900.000000 --124.323182:-80.436210:-900.000000 +-120.659787:-80.436210:-900.000000 PORT Orientation:"H" FIN_BOX BOX creaVtk:OutputWindow:Box62 ISEXEC:TRUE -119.146976:-329.865078:-900.000000 -164.721976:-339.865078:-900.000000 +116.000873:-390.539926:-900.000000 +161.575873:-400.539926:-900.000000 FIN_BOX -CONNECTIONS:67 +BOX +std:ConcatStrings:Box66 +ISEXEC:FALSE +8.757072:-214.149331:-900.000000 +54.332072:-224.149331:-900.000000 +PORT +In2:" " +FIN_BOX +BOX +creaMaracasVisu:SliderMinMax-flexible:Box68 +ISEXEC:FALSE +5.390153:-188.903464:-900.000000 +76.565153:-198.903464:-900.000000 +PORT +maxIn:"255" +PORT +minIn:"0" +PORT +showactual:"false" +FIN_BOX +BOX +std:ConcatStrings:Box65 +ISEXEC:FALSE +63.257091:-206.729449:-900.000000 +108.832091:-216.729449:-900.000000 +PORT +In2:" " +FIN_BOX +CONNECTIONS:74 CONNECTION Box02:Out:Box01:In NumberOfControlPoints:0 @@ -450,9 +478,6 @@ CONNECTION Box47:Widget:Box46:Widget1 NumberOfControlPoints:0 CONNECTION -Box32:Widget:Box47:Widget1 -NumberOfControlPoints:0 -CONNECTION Box48:Widget:Box31:Widget1 NumberOfControlPoints:0 CONNECTION @@ -471,9 +496,6 @@ CONNECTION Box47:Widget:Box51:Widget NumberOfControlPoints:0 CONNECTION -Box49:Widget:Box47:Widget2 -NumberOfControlPoints:0 -CONNECTION Box29:BoxChange:Box49:BoxExecute NumberOfControlPoints:0 CONNECTION @@ -542,4 +564,31 @@ NumberOfControlPoints:0 CONNECTION Box00:Out:Box57:ErrorValue NumberOfControlPoints:0 +CONNECTION +Box66:Out:Box32:lstRangeForColorBar +NumberOfControlPoints:0 +CONNECTION +Box68:outend:Box66:In3 +NumberOfControlPoints:0 +CONNECTION +Box68:outstart:Box66:In1 +NumberOfControlPoints:0 +CONNECTION +Box68:boxchange:Box29:In5 +NumberOfControlPoints:0 +CONNECTION +Box68:widget:Box47:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box32:Widget:Box47:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box49:Widget:Box47:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box68:outstart:Box65:In1 +NumberOfControlPoints:0 +CONNECTION +Box65:Out:Box32:lstTransparenceBoundaries +NumberOfControlPoints:0 APP_END diff --git a/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbs b/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbs index 449ce7a..3e655c8 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbs +++ b/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbs @@ -1,6 +1,6 @@ # ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script -# - PlaneViewer-MHD.bbs +# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/PlaneViewer-MHD.bbs # ---------------------------------- # BBTK GEditor Script @@ -144,6 +144,17 @@ new wx:LayoutLine Box61 new creaVtk:OutputWindow Box62 +new std:ConcatStrings Box66 + set Box66.In2 " " + +new creaMaracasVisu:SliderMinMax-flexible Box68 + set Box68.maxIn "255" + set Box68.minIn "0" + set Box68.showactual "false" + +new std:ConcatStrings Box65 + set Box65.In2 " " + connect Box02.Out Box01.In @@ -217,8 +228,6 @@ connect Box41.Widget Box16.Widget1 connect Box47.Widget Box46.Widget1 -connect Box32.Widget Box47.Widget1 - connect Box48.Widget Box31.Widget1 connect Box30.Widget Box31.Widget2 @@ -231,8 +240,6 @@ connect Box27.Widget Box48.Widget2 connect Box47.Widget Box51.Widget -connect Box49.Widget Box47.Widget2 - connect Box29.BoxChange Box49.BoxExecute connect Box51.BoxChange Box29.In3 @@ -279,6 +286,24 @@ connect Box31.Widget Box05.Widget2 connect Box00.Out Box57.ErrorValue +connect Box66.Out Box32.lstRangeForColorBar + +connect Box68.outend Box66.In3 + +connect Box68.outstart Box66.In1 + +connect Box68.boxchange Box29.In5 + +connect Box68.widget Box47.Widget3 + +connect Box32.Widget Box47.Widget2 + +connect Box49.Widget Box47.Widget1 + +connect Box68.outstart Box65.In1 + +connect Box65.Out Box32.lstTransparenceBoundaries + # Complex input ports