1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/C11/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/exampleSlicesImages3D.bbs
4 # ----------------------------------
7 # ----------------------
12 include creaMaracasVisu
19 description "Description ??"
22 new vtk:LoadHola Box00
24 new creaMaracasVisu:ViewerNV Box01
25 set Box01.nTypeView "6 1 2 0"
27 new wx:LayoutSplit Box02
28 set Box02.Orientation "H"
30 new wx:LayoutLine Box03
36 set Box06.ReactiveOnTrack "true"
41 new wx:RadioButton Box17
42 set Box17.In0 "Inside"
43 set Box17.In1 "Outside"
45 new creaMiniTools:SlicesImages3D Box15
46 set Box15.TypeImageCutByAxis "x-y-z+"
48 new creaVtk:ScalarsToColors Box16
49 set Box16.Range "0 2000"
52 new vtk:RescaleSlopeIntercept Box21
58 connect Box00.Out Box01.In
60 connect Box01.Widget Box02.Widget2
62 connect Box03.Widget Box02.Widget1
64 connect Box06.Widget Box03.Widget1
66 connect Box06.Out Box07.In1
68 connect Box17.Widget Box03.Widget2
70 connect Box07.Out Box15.opacity
72 connect Box01.Point Box15.point
74 connect Box17.Out Box15.insidevol
76 connect Box01.Renderer1 Box15.render
78 connect Box01.BoxChange Box15.boxExecute
80 connect Box16.LookupTable Box15.lookuptable
82 connect Box00.Out Box21.In
84 connect Box21.Out Box15.InputImage