# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /home/davila/Creatis/C11/creatools_source/creaMaracasVisu/bbtk/bbs/appli/ExampleSliceImage-3DVisu.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include creaMaracasVisu include vtk include wx include creaVtk include std author "Author ??" description "Description ??" category "" new creaMaracasVisu:SliceImage-3DVisu Box00 set Box00.ColorBorder "0 0 0" set Box00.Direction "0" set Box00.SliceOpacity "50" set Box00.WindowColorLevel "2500 1000" new vtk:LoadHola Box01 new creaMaracasVisu:ViewerNV Box02 new wx:Slider Box03 set Box03.Label "true" set Box03.ReactiveOnTrack "true" set Box03.Title "Slice Y" new creaVtk:OutputWindow Box05 new wx:LayoutSplit Box06 set Box06.Orientation "H" new wx:LayoutLine Box07 new vtk:UpdateRender Box08 set Box08.Active "true" new wx:Slider Box10 set Box10.In "100" set Box10.Label "true" set Box10.Max "100" set Box10.ReactiveOnTrack "true" set Box10.Title "Opacity" new std:Div Box11 set Box11.In2 "100" new std:MultipleInputs Box13 new creaMaracasVisu:SliceImage-3DVisu Box14 set Box14.ColorBorder "0 0 0" set Box14.Direction "0" set Box14.SliceOpacity "50" set Box14.WindowColorLevel "2500 1000" new wx:Slider Box15 set Box15.Label "true" set Box15.ReactiveOnTrack "true" set Box15.Title "Slice Z" new wx:Slider Box16 set Box16.Label "true" set Box16.ReactiveOnTrack "true" set Box16.Title "Slice X" new creaMaracasVisu:SliceImage-3DVisu Box17 set Box17.ColorBorder "0 0 0" set Box17.Direction "0" set Box17.SliceOpacity "50" set Box17.WindowColorLevel "2500 1000" new wx:RadioButton Box18 set Box18.In0 "XY" set Box18.In1 "YZ" set Box18.In2 "XZ" connect Box01.Out Box02.In connect Box02.Renderer1 Box00.Render connect Box02.Widget Box06.Widget2 connect Box07.Widget Box06.Widget1 connect Box03.Out Box00.SliceDeep connect Box02.Renderer1 Box08.Renderer connect Box10.Out Box11.In1 connect Box11.Out Box00.SliceOpacity connect Box01.Out Box00.Image connect Box15.Out Box14.SliceDeep connect Box11.Out Box14.SliceOpacity connect Box10.Widget Box07.Widget8 connect Box03.Widget Box07.Widget4 connect Box01.Out Box14.Image connect Box14.BoxChangeImageSlice Box13.In1 connect Box00.BoxChangeImageSlice Box13.In3 connect Box17.BoxChangeImageSlice Box13.In5 connect Box01.Out Box17.Image connect Box16.Out Box17.SliceDeep connect Box11.Out Box17.SliceOpacity connect Box02.Renderer1 Box14.Render connect Box02.Renderer1 Box17.Render connect Box13.BoxChange Box08.BoxExecute connect Box15.Widget Box07.Widget6 connect Box18.Out Box14.Direction connect Box18.Out Box00.Direction connect Box18.Out Box17.Direction connect Box16.Widget Box07.Widget2 connect Box18.Widget Box07.Widget1 # Complex input ports exec Box05 exec Box06