]> Creatis software - bbtk.git/blob - packages/wxvtk/bbs/boxes/SphereListWidget.bbs
3470 Refresh SphereListWidget
[bbtk.git] / packages / wxvtk / bbs / boxes / SphereListWidget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/C11/creatools_source/bbtk/packages/wxvtk/bbs/boxes/SphereListWidget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include vtk
10 include std
11
12 define SphereListWidget wxvtk
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new wx:Slider Box00
20   set Box00.In "50"
21   set Box00.Label "true"
22   set Box00.Max "100"
23   set Box00.Min "0"
24   set Box00.ReactiveOnTrack "true"
25   set Box00.Title "Opacity4"
26
27 new wx:Slider Box01
28   set Box01.Label "true"
29   set Box01.Max "50"
30   set Box01.Min "1"
31   set Box01.ReactiveOnTrack "true"
32   set Box01.Title "Radio"
33
34 new wx:LayoutLine Box02
35   set Box02.WinTitle "Center Point"
36
37 new vtk:SphereList Box03
38   set Box03.Colour "1 0 0"
39   set Box03.lstPointX "10 10"
40   set Box03.lstPointY "10 20"
41   set Box03.lstPointZ "10 30"
42   set Box03.lstRadio "10"
43
44 new std:Div Box04
45   set Box04.In2 "100"
46
47 new std:ConcatStrings Box05
48
49 new std:MultipleInputs Box08
50   set Box08.BoxProcessMode "Reactive"
51
52 new std:MagicBox Box09
53
54 new std:MagicBox Box10
55
56
57 connect Box00.Widget Box02.Widget1
58 connect Box01.Widget Box02.Widget2
59 connect Box04.Out Box03.Opacity
60 connect Box00.Out Box04.In1
61 connect Box01.Out Box05.In1
62 connect Box00.BoxChange Box08.In1
63 connect Box08.BoxChange Box03.BoxExecute
64 connect Box09.Out Box03.Renderer
65 connect Box05.Out Box03.lstRadio
66 connect Box05.BoxChange Box08.In2
67 connect Box01.BoxChange Box08.In3
68 connect Box10.Out Box03.Transform
69
70 # Complex input ports
71 input Renderer Box09.In " "
72 input lstPointX Box03.lstPointX " "
73 input lstPointY Box03.lstPointY " "
74 input lstPointZ Box03.lstPointZ " "
75 input spc Box03.Spacing " "
76 input WinTitle Box02.WinTitle " "
77 input transform Box10.In " "
78 input boxExecute Box08.In5 " "
79
80 # Complex output ports
81 output Widget Box02.Widget " "
82 output BoxChangeForRender Box08.BoxChange " "
83
84
85 endefine