6 author "laurent.guigues@creatis.insa-lyon.fr"
7 description "Maximum Intensity Projection (MIP) creator (vtk::MIPCreator) with associated control panel (shift and scale)"
8 category "image;mesh;widget;viewer"
10 new LayoutLine controls
11 new LayoutLine sliders
15 # new LayoutLine colourFrame
16 # new ColourSelectorButton colour
17 new MultipleInputs refresh
20 connect sliders.Widget controls.Widget1
21 # connect colourFrame.Widget controls.Widget2
23 # connect colour.Widget colourFrame.Widget1
24 connect shift.Widget sliders.Widget1
25 connect scale.Widget sliders.Widget2
27 connect shift.Out MIP.Shift
28 connect scale.Out div.In1
30 connect div.Out MIP.Scale
31 # connect colour.Out MIP.Colour
33 connect shift.BoxChange refresh.In1
34 connect scale.BoxChange refresh.In2
35 # connect colour.BoxChange refresh.In3
37 # connect colourButton.BoxChange colour.BoxExecute
39 # set colourFrame.WinTitle "Colour"
40 set controls.Orientation HORIZONTAL
41 set shift.Title "Shift"
44 set scale.Title "Scale x10"
49 # set colourButton.Label "Colour"
52 input Title controls.WinTitle "Title of the control panel"
53 input In MIP.In "Input image"
55 input Scale scale.In "Initial scale"
56 input Shift shift.In "Initial shift"
57 # input Colour colour.In "Initial colour"
59 input BoxExecute MIP.BoxExecute "Box execution"
61 input Vertical controls.Orientation "Set to 1 to have controls arranged vertically"
63 output Out MIP.Out "Output MIP"
64 output BoxChange refresh.Out "BoxChange"
65 output Widget controls.Widget "Widget"