# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ViewerPlaneMHD.bbs # ---------------------------------- include std include itkvtk include creaMaracasVisu include creaVtk include wx include std define ViewerPlaneMHD creaMiniTools author "Author ??" description "Description ??" category "" new creaMaracasVisu:ViewerNV Box01 set Box01.nTypeView "-1" new creaVtk:ReadMHDPlane Box02 set Box02.Type "1" new wx:Slider Box03 set Box03.ReactiveOnTrack "true" new std:ConcatStrings Box07 new creaVtk:MHDFileInfo Box08 new std:GetVectorIntElement Box09 set Box09.I "2" new std:MathOperation Box10 set Box10.In2 "-1" new wx:LayoutSplit Box28 set Box28.Proportion "90" new std:MathOperation Box29 set Box29.In2 "2" set Box29.Type "3" new wx:LayoutLine Box38 new std:MagicBox Box15 new std:StringSelect Box16 set Box16.In0 "2" set Box16.In1 "1" set Box16.In2 "0" new std:StringSelect Box17 set Box17.In0 "XY" set Box17.In1 "XZ" set Box17.In2 "YZ" connect Box02.Out Box01.In connect Box07.Out Box02.FileName connect Box07.Out Box08.FileName connect Box08.DimSize Box09.In connect Box09.Out Box10.In1 connect Box10.Out Box03.Max connect Box03.BoxChange Box01.BoxExecute connect Box03.Out Box02.Slice connect Box09.Out Box29.In1 connect Box29.Out Box03.In connect Box03.Widget Box38.Widget1 connect Box38.Widget Box28.Widget2 connect Box01.Widget Box28.Widget1 connect Box16.Out Box09.I connect Box15.Out Box17.In connect Box17.Out Box02.DirectionPlane connect Box15.Out Box16.In # Complex input ports input NameFile Box07.In1 " " input TypeDirection Box15.In " " # Complex output ports output widget Box28.Widget " " endefine