# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /home/davila/Creatis/C11/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/exampleSlicesImages3D.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include vtk include creaMaracasVisu include wx include std include creaMiniTools 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 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 wx:RadioButton Box17 set Box17.In0 "Inside" set Box17.In1 "Outside" new creaMiniTools:SlicesImages3D Box15 set Box15.TypeImageCutByAxis "x-y-z+" new creaVtk:ScalarsToColors Box16 set Box16.Range "0 2000" set Box16.Type "1" new vtk:RescaleSlopeIntercept Box21 set Box21.A "100" set Box21.B "2000" set Box21.Type "2" connect Box00.Out Box01.In connect Box01.Widget Box02.Widget2 connect Box03.Widget Box02.Widget1 connect Box06.Widget Box03.Widget1 connect Box06.Out Box07.In1 connect Box17.Widget Box03.Widget2 connect Box07.Out Box15.opacity connect Box01.Point Box15.point connect Box17.Out Box15.insidevol connect Box01.Renderer1 Box15.render connect Box01.BoxChange Box15.boxExecute connect Box16.LookupTable Box15.lookuptable connect Box00.Out Box21.In connect Box21.Out Box15.InputImage # Complex input ports exec Box02