]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/boxes/PolyDataToActor_Widget.bbs
3551 refresh bug PolyDataToActor_Widget
[creaMaracasVisu.git] / bbtk / bbs / boxes / PolyDataToActor_Widget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/PolyDataToActor_Widget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include vtk
10 include std
11
12 define PolyDataToActor_Widget creaMaracasVisu
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new wx:LayoutLine Box04
20   set Box04.Orientation "H"
21
22 new vtk:PolyDataToActor Box09
23
24 new std:MagicBox Box10
25
26 new vtk:UpdateRender Box11
27   set Box11.Active "true"
28
29 new wx:Slider Box13
30   set Box13.In "50"
31   set Box13.Label "true"
32   set Box13.Max "100"
33   set Box13.Min "0"
34   set Box13.ReactiveOnTrack "true"
35   set Box13.Title "Mesh Opacity"
36
37 new std:Div Box14
38   set Box14.In2 "100"
39
40 new wx:ComboBox Box15
41   set Box15.In "Points WireFrame Surface"
42   set Box15.Selection "2"
43   set Box15.Title "3D Representation"
44
45 new std:MultipleInputs Box08
46
47 new std:MagicBox Box12
48
49 new std:MagicBox Box16
50
51 new std:MagicBox Box17
52
53 new std:MagicBox Box18
54
55 new std:MagicBox Box19
56
57 new std:MagicBox Box20
58
59 new std:MagicBox Box21
60
61
62 connect Box10.Out Box11.Renderer
63 connect Box09.BoxChange Box11.BoxExecute
64 connect Box13.Out Box14.In1
65 connect Box14.Out Box09.Opacity
66 connect Box10.Out Box09.Renderer
67 connect Box15.Out Box09.Representation
68 connect Box15.Widget Box04.Widget1
69 connect Box13.Widget Box04.Widget3
70 connect Box13.BoxChange Box08.In1
71 connect Box08.BoxChange Box09.BoxExecute
72 connect Box12.Out Box09.Active
73 connect Box16.Out Box09.BackFaceColour
74 connect Box17.Out Box09.ScalarVisibility
75 connect Box18.Out Box09.ScalarVisibilityOn_LookupTable
76 connect Box19.Out Box09.ScalarVisibilityOn_NameColorArray
77 connect Box20.Out Box09.ScalarVisibilityOn_ScalarRange
78 connect Box21.BoxChange Box08.In3
79
80 # Complex input ports
81 input render Box10.In " "
82 input polydata Box09.In " "
83 input color Box09.Colour " "
84 input meshOpacity Box13.In " "
85 input active Box12.In " "
86 input backfacecolour Box16.In " "
87 input scalarvisibility Box17.In " "
88 input scalarvisibilityOn_lookuptable Box18.In " "
89 input scalarvisibiltyOn_NamaColorArray Box19.In " "
90 input scalarvisibilityOn_ScalarRange Box20.In " "
91 input boxexecute Box21.In " "
92
93 # Complex output ports
94 output widget Box04.Widget " "
95 output boxchange Box09.BoxChange " "
96 output vtkprop3D Box09.Out " "
97 output widgetA Box13.Widget " "
98 output widgetB Box15.Widget " "
99
100
101 endefine