# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include vtk include creaMaracasVisu include wx include toolsbbtk include creaImageIO author "Author ??" description "Description ??" category "" new vtk:RescaleSlopeIntercept Box00 new vtk:RescaleReslopeIntercept_Interface Box01 new vtk:LoadHola Box02 new vtk:vtkImageDataPointerRelay Box03 new creaMaracasVisu:ViewerNV Box04 new wx:LayoutSplit Box05 set Box05.Orientation "H" new wx:LayoutTab Box06 new wx:LayoutLine Box07 set Box07.WinTitle "Rescale Reslope" new toolsbbtk:ImageVtkPropertiesWidget Box08 new wx:CommandButton Box09 set Box09.Label "Save" new vtk:MetaImageWriter Box10 new wx:FileSelector Box11 set Box11.OpenSave "Save" new creaImageIO:ImagesChooserDialogBox Box12 connect Box03.Out Box00.In connect Box03.Out Box04.In connect Box04.Widget Box05.Widget2 connect Box03.Out Box08.in connect Box06.Widget Box05.Widget1 connect Box08.widget Box06.Widget2 connect Box07.Widget Box06.Widget1 connect Box01.widget Box07.Widget1 connect Box09.Widget Box07.Widget2 connect Box01.A Box00.A connect Box01.B Box00.B connect Box01.Format Box00.OutputFormat connect Box01.Type Box00.Type connect Box11.Out Box10.Filename connect Box00.Out Box10.In connect Box09.BoxChange Box10.BoxExecute connect Box12.Out Box03.In connect Box12.FileName Box08.FileName # Complex input ports exec Box05