]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept.bbs
#2966 CreaMiniTools Feature New Normal - new option menuCreatools Crop2(manuel...
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / rescaleSlopeIntercept.bbs
diff --git a/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept.bbs b/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept.bbs
new file mode 100644 (file)
index 0000000..f45872b
--- /dev/null
@@ -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 "<VOID>"
+
+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