1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - RescaleSlopeIntercept_Interface.bbs
4 # ----------------------------------
10 define RescaleReslopeIntercept_Interface vtk
13 description "Description ??"
17 new wx:InputText Box00
21 new wx:InputText Box01
25 new wx:LayoutLine Box06
28 set Box07.In "SlopeIntercept(np=A*p+B) Invert Redimension(A=newMin_B=newMax) InvertRedimension(A=newMin_B=newMax)"
29 set Box07.Title "Type"
32 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"
33 set Box08.Title "Format"
36 connect Box00.Widget Box06.Widget1
37 connect Box01.Widget Box06.Widget2
38 connect Box07.Widget Box06.Widget3
39 connect Box08.Widget Box06.Widget4
43 # Complex output ports
44 output A Box00.Out " "
45 output B Box01.Out " "
46 output widget Box06.Widget " "
47 output Format Box08.OutString " "
48 output Type Box07.Out " "