1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept.bbs
4 # ----------------------------------
7 # ----------------------
12 include creaMaracasVisu
18 description "Description ??"
21 new vtk:RescaleSlopeIntercept Box00
23 new vtk:RescaleReslopeIntercept_Interface Box01
25 new vtk:LoadHola Box02
27 new vtk:vtkImageDataPointerRelay Box03
29 new creaMaracasVisu:ViewerNV Box04
31 new wx:LayoutSplit Box05
32 set Box05.Orientation "H"
34 new wx:LayoutTab Box06
36 new wx:LayoutLine Box07
37 set Box07.WinTitle "Rescale Reslope"
39 new toolsbbtk:ImageVtkPropertiesWidget Box08
41 new wx:CommandButton Box09
42 set Box09.Label "Save"
44 new vtk:MetaImageWriter Box10
46 new wx:FileSelector Box11
47 set Box11.OpenSave "Save"
49 new creaImageIO:ImagesChooserDialogBox Box12
52 connect Box03.Out Box00.In
54 connect Box03.Out Box04.In
56 connect Box04.Widget Box05.Widget2
58 connect Box03.Out Box08.in
60 connect Box06.Widget Box05.Widget1
62 connect Box08.widget Box06.Widget2
64 connect Box07.Widget Box06.Widget1
66 connect Box01.widget Box07.Widget1
68 connect Box09.Widget Box07.Widget2
70 connect Box01.A Box00.A
72 connect Box01.B Box00.B
74 connect Box01.Format Box00.OutputFormat
76 connect Box01.Type Box00.Type
78 connect Box11.Out Box10.Filename
80 connect Box00.Out Box10.In
82 connect Box09.BoxChange Box10.BoxExecute
84 connect Box12.Out Box03.In
86 connect Box12.FileName Box08.FileName