# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleFillHoles.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include creaVtk include creaMaracasVisu include vtk include wx include std author "Author ??" description "Description ??" category "" new creaVtk:Stripper Box03 new creaMaracasVisu:ViewerNV Box05 new vtk:LoadHola Box06 new creaVtk:OutputWindow Box08 new wx:LayoutSplit Box09 set Box09.Orientation "H" new vtk:PolyDataToActor Box11 set Box11.Representation "2" new vtk:UpdateRender Box12 set Box12.Active "true" new vtk:SphereSource Box13 set Box13.PhiResolution "20" set Box13.Radius "40" set Box13.ThetaResolution "20" new creaVtk:MeshCutByAxis Box14 set Box14.InsideVol "false" set Box14.Point "0 0 0" set Box14.Type "x" new creaVtk:FillHolesFilter Box15 set Box15.HoleSize "500" new vtk:PolyDataToActor Box16 set Box16.Colour "1 0 0" set Box16.Representation "1" new wx:Slider Box17 set Box17.In "100" set Box17.Max "100" set Box17.ReactiveOnTrack "true" new std:Div Box18 set Box18.In2 "100" new wx:LayoutLine Box19 new wx:Slider Box20 set Box20.In "100" set Box20.Max "100" set Box20.ReactiveOnTrack "true" new std:Div Box21 set Box21.In2 "100" new std:MultipleInputs Box22 connect Box06.Out Box05.In connect Box05.Widget Box09.Widget2 connect Box05.Renderer1 Box11.Renderer connect Box05.Renderer1 Box12.Renderer connect Box13.Out Box14.In connect Box14.Out Box11.In connect Box14.Out Box15.In connect Box15.Out Box16.In connect Box05.Renderer1 Box16.Renderer connect Box11.BoxChange Box16.BoxExecute connect Box16.BoxChange Box12.BoxExecute connect Box17.Out Box18.In1 connect Box17.Widget Box19.Widget1 connect Box18.Out Box11.Opacity connect Box20.Out Box21.In1 connect Box20.Widget Box19.Widget3 connect Box19.Widget Box09.Widget1 connect Box21.Out Box16.Opacity connect Box20.BoxChange Box22.In2 connect Box17.BoxChange Box22.In1 connect Box22.BoxChange Box11.BoxExecute # Complex input ports exec Box08 exec Box09