X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fbbs%2Fboxes%2FRescaleSlopeIntercept_Interface.bbs;fp=packages%2Fvtk%2Fbbs%2Fboxes%2FRescaleSlopeIntercept_Interface.bbs;h=f2cbefeb2fe8f048fe202350656dfd4372f7b440;hb=427d8c0ac838ab789a57b28f62a7f9ff243e7b60;hp=0000000000000000000000000000000000000000;hpb=c2d2ccbc4bac635e5d0b802d9830efd94b060dab;p=bbtk.git diff --git a/packages/vtk/bbs/boxes/RescaleSlopeIntercept_Interface.bbs b/packages/vtk/bbs/boxes/RescaleSlopeIntercept_Interface.bbs new file mode 100644 index 0000000..f2cbefe --- /dev/null +++ b/packages/vtk/bbs/boxes/RescaleSlopeIntercept_Interface.bbs @@ -0,0 +1,52 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) +# - RescaleSlopeIntercept_Interface.bbs +# ---------------------------------- + +include std +include itkvtk +include wx + +define RescaleReslopeIntercept_Interface vtk + +author "Author ??" +description "Description ??" + +category "" + +new wx:InputText Box00 + set Box00.In "1" + set Box00.Title "A" + +new wx:InputText Box01 + set Box01.In "0" + set Box01.Title "B" + +new wx:LayoutLine Box06 + +new wx:ComboBox Box07 + set Box07.In "SlopeIntercept(np=A*p+B) Invert Redimension(A=newMin_B=newMax) InvertRedimension(A=newMin_B=newMax)" + set Box07.Title "Type" + +new wx:ComboBox Box08 + set Box08.In "SAME VTK_BIT VTK_CHAR VTK_UNSIGNED_CHAR VTK_INT VTK_UNSIGNED_INT VTK_SHORT VTK_UNSIGNED_SHORT VTK_LONG VTK_UNSIGNED_LONG VTK_FLOAT VTK_DOUBLE" + set Box08.Title "Format" + + +connect Box00.Widget Box06.Widget1 +connect Box01.Widget Box06.Widget2 +connect Box07.Widget Box06.Widget3 +connect Box08.Widget Box06.Widget4 + +# Complex input ports + +# Complex output ports +output A Box00.Out " " +output B Box01.Out " " +output widget Box06.Widget " " +output Format Box08.OutString " " +output Type Box07.Out " " + +exec Box06 + +endefine