X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fbbs%2Fboxes%2FManualPaint2.bbs;fp=bbtk%2Fbbs%2Fboxes%2FManualPaint2.bbs;h=cae9275f73d517323a2d02352254e0545aa80467;hb=8cb2e736dbd160649089afd44928db6d26febcca;hp=0000000000000000000000000000000000000000;hpb=228dd2fe51b414e56427b93a1d99a35e568c7033;p=creaMaracasVisu.git diff --git a/bbtk/bbs/boxes/ManualPaint2.bbs b/bbtk/bbs/boxes/ManualPaint2.bbs new file mode 100644 index 0000000..cae9275 --- /dev/null +++ b/bbtk/bbs/boxes/ManualPaint2.bbs @@ -0,0 +1,152 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) +# - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ManualPaint2.bbs +# ---------------------------------- + +include std +include itkvtk +include creaMaracasVisu +include wx +include std + +define ManualPaint2 creaMaracasVisu + +author "Author ??" +description "Description ??" + +category "" + +new creaMaracasVisu:ManualPaint_Model Box00 + set Box00.2D3D "1" + set Box00.Active "true" + set Box00.BrushForm "1" + set Box00.BrushSize "3" + set Box00.DistanceFill "25" + set Box00.GrayLevel "1000" + set Box00.Range "-10000 10000" + set Box00.Tool "1" + +new wx:RadioButton Box01 + set Box01.In0 "Deselect" + set Box01.In1 "BigBlue" + set Box01.In2 "SmallBlue" + set Box01.In3 "BigClean" + set Box01.In4 "SmallClean" + +new std:StringSelect Box02 + +new creaMaracasVisu:ColorLayerImageView Box03 + set Box03.TypeControlsInterface "2" + set Box03.lstTransparenceBoundaries "0" + +new std:TransposeVectorVectorString Box04 + set Box04.In0 "Desactivate Big-Blue Small-Blue Big-Clean Small-Clean" + set Box04.In1 "false true true true true" + set Box04.In2 "-1 10 3 10 3" + set Box04.In3 "-1 4000 4000 0 0" + set Box04.In4 "-1 1200 1200 3999 3999" + set Box04.In5 "-1 1500 1500 4001 4001" + +new std:GetVectorStringElement Box05 + set Box05.I "1" + +new wx:LayoutLine Box09 + +new std:GetVectorStringElement Box11 + set Box11.I "2" + +new std:GetVectorStringElement Box12 + set Box12.I "3" + +new std:ConcatStrings Box13 + set Box13.In2 " " + +new std:GetVectorStringElement Box14 + set Box14.I "5" + +new std:GetVectorStringElement Box15 + set Box15.I "4" + +new std:TransposeVectorVectorString Box17 + set Box17.In0 "Desactivate Big-Blue Small-Blue Big-Clean Small-Clean" + +new wx:RadioButton Box18 + set Box18.In "1" + set Box18.In0 "Brush" + set Box18.In1 "Fill" + +new wx:LayoutLine Box19 + set Box19.Orientation "H" + +new std:MagicBox Box20 + +new std:GetVectorStringElement Box21 + set Box21.I "6" + + +connect Box01.Out Box02.In +connect Box04.Out0 Box02.In0 +connect Box04.Out1 Box02.In1 +connect Box04.Out2 Box02.In2 +connect Box04.Out3 Box02.In3 +connect Box04.Out4 Box02.In4 +connect Box04.Out5 Box02.In5 +connect Box04.Out6 Box02.In6 +connect Box04.Out7 Box02.In7 +connect Box04.Out8 Box02.In8 +connect Box04.Out9 Box02.In9 +connect Box02.Out Box05.In +connect Box03.Widget Box09.Widget2 +connect Box00.Out Box03.In +connect Box05.Out Box00.Active +connect Box02.Out Box11.In +connect Box11.Out Box00.DistanceFill +connect Box02.Out Box12.In +connect Box12.Out Box00.GrayLevel +connect Box02.Out Box15.In +connect Box02.Out Box14.In +connect Box15.Out Box13.In1 +connect Box14.Out Box13.In3 +connect Box13.Out Box00.Range +connect Box17.Out0 Box01.In0 +connect Box17.Out1 Box01.In1 +connect Box17.Out2 Box01.In2 +connect Box17.Out3 Box01.In3 +connect Box17.Out4 Box01.In4 +connect Box17.Out5 Box01.In5 +connect Box17.Out6 Box01.In6 +connect Box17.Out7 Box01.In7 +connect Box17.Out8 Box01.In8 +connect Box17.Out9 Box01.In9 +connect Box18.Widget Box19.Widget1 +connect Box01.Widget Box19.Widget2 +connect Box19.Widget Box09.Widget1 +connect Box18.Out Box00.Tool +connect Box11.Out Box00.BrushSize +connect Box20.Out Box17.In0 +connect Box20.Out Box04.In0 +connect Box02.Out Box21.In +connect Box21.Out Box00.ToleranceFill + +# Complex input ports +input TitleOptions Box20.In " " +input Active_ManualPaint_Model Box04.In1 " " +input SizeDistance_ManualPaint_Model Box04.In2 " " +input GrayLevel_ManualPaint_Model Box04.In3 " " +input MinRange_ManualPaint_Model Box04.In4 " " +input MaxRange_ManualPaint_Model Box04.In5 " " +input Point_ManualPaint_Model Box00.Point " " +input Image_ManualPaint_Model Box00.Image " " +input Image2_ManualPaint_Model Box00.Image2 " " +input BoxExecute_ManualPaint_Model Box00.BoxExecute " " +input wxvtkbaseview1 Box03.WxVtkBaseView " " +input wxvtkbaseview2 Box03.WxVtkBaseView1 " " +input wxvtkbaseview3 Box03.WxVtkBaseView2 " " +input Tolerance_Fill_ManualPaint_Model Box04.In6 " " +input colorBarPosition Box03.ColorBarPosition " " + +# Complex output ports +output widgetOut Box09.Widget " " + + +endefine