X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=bbtk.git;a=blobdiff_plain;f=packages%2Fvtk%2Fbbs%2Fboxes%2FRescaleSlopeIntercept_Interface.bbs;h=937c807817d21a17eb793d72bc44a1016aa0316b;hp=d4279a34f59735935ecb518e12c6299ab01650b3;hb=947acfe6b7e7f37d3523f9d5eabfeb9277292aad;hpb=df80b98909d7de9aad3e6684ed7ee6a77cc28224 diff --git a/packages/vtk/bbs/boxes/RescaleSlopeIntercept_Interface.bbs b/packages/vtk/bbs/boxes/RescaleSlopeIntercept_Interface.bbs index d4279a3..937c807 100644 --- a/packages/vtk/bbs/boxes/RescaleSlopeIntercept_Interface.bbs +++ b/packages/vtk/bbs/boxes/RescaleSlopeIntercept_Interface.bbs @@ -6,7 +6,6 @@ include std include itkvtk include wx -include vtk define RescaleReslopeIntercept_Interface vtk @@ -26,30 +25,29 @@ new wx:InputText Box01 new wx:LayoutLine Box06 new wx:ComboBox Box07 - set Box07.In "SlopeIntercept(np=A*p+B) Invert Redimension(A=newMin;B=newMax)" + 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(default) 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.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" -new wx:CommandButton Box09 - set Box09.Label "Save (*.mhd)" - -new vtk:RescaleSlopeIntercept Box10 - connect Box00.Widget Box06.Widget1 connect Box01.Widget Box06.Widget2 connect Box07.Widget Box06.Widget3 -connect Box09.Widget Box06.Widget5 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 " " -message 0 +message exec Box06 endefine