# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /tmpEED/creaWT/wt/bbtk_wt_PKG/bbs/boxes/ImageWriteB.bbs # ---------------------------------- include std include itkvtk include std include itk include wt define ImageWriteB wt author "Author ??" description "Description ??" category "" new ConcatStrings Box00 set Box00.In1 "Image_" set Box00.In3 ".nii" new ImageWriter Box01 new GetConfigServerWt Box02 new RandomString Box03 new ConcatStrings Box04 set Box04.In1 "imagesTMP/" new ConcatStrings Box05 set Box05.In2 "/" connect Box03.Out Box00.In2 connect Box00.Out Box04.In2 connect Box02.DocRoot Box05.In1 connect Box04.Out Box05.In3 connect Box05.Out Box01.Filename # Complex input ports input Image Box01.In " " # Complex output ports output FileName Box04.Out " " output out Box01.BoxChange " " message exec Box01 endefine