# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleMeshCutByAxis.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include vtk include creaMaracasVisu include wx include std include creaVtk author "Author ??" description "Description ??" category "" new vtk:LoadHola Box00 new creaMaracasVisu:ViewerNV Box01 set Box01.nTypeView "6 1 2 0" new wx:LayoutSplit Box02 set Box02.Orientation "H" new wx:LayoutLine Box03 new vtk:PolyDataToActor Box05 set Box05.Colour "1 0 0" new wx:Slider Box06 set Box06.In "100" set Box06.Max "100" set Box06.Min "0" set Box06.ReactiveOnTrack "true" new std:Div Box07 set Box07.In2 "100" new creaVtk:MeshCutByAxis Box08 set Box08.InsideVol "true" set Box08.Point "30 30 30" new vtk:MarchingCubes Box14 set Box14.Value "500" new wx:RadioButton Box17 set Box17.In0 "Inside" set Box17.In1 "Outside" new vtk:ImageVtkProperties Box18 new std:MathOperationVector Box19 set Box19.Type "2" connect Box00.Out Box01.In connect Box01.Widget Box02.Widget2 connect Box03.Widget Box02.Widget1 connect Box01.Renderer1 Box05.Renderer connect Box06.Widget Box03.Widget1 connect Box06.Out Box07.In1 connect Box07.Out Box05.Opacity connect Box08.Out Box05.In connect Box01.BoxChange Box08.BoxExecute connect Box01.BoxChange Box05.BoxExecute connect Box00.Out Box14.In connect Box14.Out Box08.In connect Box17.Widget Box03.Widget2 connect Box17.Out Box08.InsideVol connect Box00.Out Box18.In connect Box18.Spacing Box19.In1 connect Box01.Point Box19.In0 connect Box19.Out Box08.Point # Complex input ports exec Box02