1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools/creatools_source/bbtk/packages/vtk/bbs/boxes/RescaleSlopeIntercept_Interface.bbs
4 # ----------------------------------
11 define RescaleReslopeIntercept_Interface vtk
14 description "Description ??"
18 new wx:InputText Box00
22 new wx:InputText Box01
26 new wx:LayoutLine Box06
29 set Box07.In "SlopeIntercept(np=A*p+B) Invert Redimension(A=newMin;B=newMax)"
30 set Box07.Title "Type"
33 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"
34 set Box08.Title "Format"
36 new wx:CommandButton Box09
37 set Box09.Label "Save (*.mhd)"
39 new vtk:RescaleSlopeIntercept Box10
42 connect Box00.Widget Box06.Widget1
43 connect Box01.Widget Box06.Widget2
44 connect Box07.Widget Box06.Widget3
45 connect Box09.Widget Box06.Widget5
46 connect Box08.Widget Box06.Widget4
50 # Complex output ports