# ---------------------------------- # - BBTKGEditor v 1.5 BBS BlackBox Script # - /Users/davila/Creatis/C23/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/example_BoxWidget_ClipPolydata.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include vtk include creaMaracasVisu include creaVtk include wx author "Author ??" description "Description ??" category "" new vtk:LoadHola Box00 new creaMaracasVisu:ViewerNV Box01 new creaVtk:BoxWidget Box02 set Box02.Active "true" new wx:LayoutSplit Box03 set Box03.Orientation "H" new wx:CommandButton Box04 set Box04.Label "Refresh" new vtk:SphereSource Box05 set Box05.CenterX "50" set Box05.CenterY "50" set Box05.CenterZ "50" set Box05.Radius "20" new creaVtk:ClipPolyData Box06 new vtk:PolyDataToActor Box07 connect Box00.Out Box01.In connect Box01.Renderer1 Box02.Renderer connect Box01.Widget Box03.Widget2 connect Box04.Widget Box03.Widget1 connect Box04.BoxChange Box02.BoxExecute connect Box05.Out Box06.In connect Box02.ImplicitFunction Box06.ImplicitFunction connect Box06.Out Box07.In connect Box01.Renderer1 Box07.Renderer connect Box06.BoxChange Box07.BoxExecute # Complex input ports exec Box03