X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_package_creaMiniTools%2Fbbs%2Fappli%2FrescaleSlopeIntercept.bbs;fp=bbtk_package_creaMiniTools%2Fbbs%2Fappli%2FrescaleSlopeIntercept.bbs;h=f45872bdaff4d387d837d7c9bd8af265d95153f3;hb=09bf61638d3c3a059d3b6a9b10d7ef8c2bf2b1b0;hp=0000000000000000000000000000000000000000;hpb=a0ac31b92d3dbb9ee895a08eea9f192fd95b605e;p=creaMiniTools.git diff --git a/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept.bbs b/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept.bbs new file mode 100644 index 0000000..f45872b --- /dev/null +++ b/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept.bbs @@ -0,0 +1,91 @@ +# ---------------------------------- +# - 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 + set Box04.nTypeView "6 1 2 0" + +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 + +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