# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /home/davila/Creatis/C11/creatools_source/bbtk/packages/wxvtk/bbs/boxes/SphereListWidget.bbs # ---------------------------------- include std include itkvtk include wx include vtk include std define SphereListWidget wxvtk author "Author ??" description "Description ??" category "" new wx:Slider Box00 set Box00.In "50" set Box00.Label "true" set Box00.Max "100" set Box00.Min "0" set Box00.ReactiveOnTrack "true" set Box00.Title "Opacity4" new wx:Slider Box01 set Box01.Label "true" set Box01.Max "50" set Box01.Min "1" set Box01.ReactiveOnTrack "true" set Box01.Title "Radio" new wx:LayoutLine Box02 set Box02.WinTitle "Center Point" new vtk:SphereList Box03 set Box03.Colour "1 0 0" set Box03.lstPointX "10 10" set Box03.lstPointY "10 20" set Box03.lstPointZ "10 30" set Box03.lstRadio "10" new std:Div Box04 set Box04.In2 "100" new std:ConcatStrings Box05 new std:MultipleInputs Box08 set Box08.BoxProcessMode "Reactive" new std:MagicBox Box09 new std:MagicBox Box10 connect Box00.Widget Box02.Widget1 connect Box01.Widget Box02.Widget2 connect Box04.Out Box03.Opacity connect Box00.Out Box04.In1 connect Box01.Out Box05.In1 connect Box00.BoxChange Box08.In1 connect Box08.BoxChange Box03.BoxExecute connect Box09.Out Box03.Renderer connect Box05.Out Box03.lstRadio connect Box05.BoxChange Box08.In2 connect Box01.BoxChange Box08.In3 connect Box10.Out Box03.Transform # Complex input ports input Renderer Box09.In " " input lstPointX Box03.lstPointX " " input lstPointY Box03.lstPointY " " input lstPointZ Box03.lstPointZ " " input spc Box03.Spacing " " input WinTitle Box02.WinTitle " " input transform Box10.In " " input boxExecute Box08.In5 " " # Complex output ports output Widget Box02.Widget " " output BoxChangeForRender Box08.BoxChange " " endefine