# ---------------------------------- # - BBTKGEditor v 1.5 BBS BlackBox Script # - /Users/davila/Creatis/C23/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleMarchingCubes2.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include vtk include creaMaracasVisu include creaVtk include wx include std author "Author ??" description "Description ??" category "" new vtk:LoadHola Box00 new creaMaracasVisu:ViewerNV Box01 new creaMaracasVisu:PolyDataToActor_Widget Box02 new creaVtk:MarchingCubes2 Box03 new wx:LayoutSplit Box04 set Box04.Orientation "H" new wx:LayoutLine Box05 new wx:CheckBox Box06 new std:MultipleInputs Box07 new wx:Slider Box10 set Box10.In "1200" set Box10.Label "true" set Box10.Max "2000" set Box10.ReactiveOnTrack "true" set Box10.Title "Isovalue" connect Box00.Out Box01.In connect Box00.Out Box03.In connect Box01.Widget Box04.Widget2 connect Box03.Out Box02.polydata connect Box01.Renderer1 Box02.render connect Box02.widget Box05.Widget3 connect Box05.Widget Box04.Widget1 connect Box06.Widget Box05.Widget1 connect Box06.Out Box03.Active connect Box06.BoxChange Box07.In1 connect Box01.BoxChange Box07.In2 connect Box07.BoxChange Box02.boxexecute connect Box10.Out Box03.Value connect Box10.Widget Box05.Widget2 # Complex input ports exec Box04