]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/boxes/PolyDataToActor_Widget.bbs
524b0ef5a16723185000da03a4069ea095464ff3
[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
60 connect Box10.Out Box11.Renderer
61 connect Box09.BoxChange Box11.BoxExecute
62 connect Box13.Out Box14.In1
63 connect Box14.Out Box09.Opacity
64 connect Box10.Out Box09.Renderer
65 connect Box15.Out Box09.Representation
66 connect Box15.Widget Box04.Widget1
67 connect Box13.Widget Box04.Widget3
68 connect Box13.BoxChange Box08.In1
69 connect Box08.BoxChange Box09.BoxExecute
70 connect Box12.Out Box09.Active
71 connect Box16.Out Box09.BackFaceColour
72 connect Box17.Out Box09.ScalarVisibility
73 connect Box18.Out Box09.ScalarVisibilityOn_LookupTable
74 connect Box19.Out Box09.ScalarVisibilityOn_NameColorArray
75 connect Box20.Out Box09.ScalarVisibilityOn_ScalarRange
76
77 # Complex input ports
78 input render Box10.In " "
79 input polydata Box09.In " "
80 input color Box09.Colour " "
81 input boxexecute Box08.In3 " "
82 input meshOpacity Box13.In " "
83 input active Box12.In " "
84 input backfacecolour Box16.In " "
85 input scalarvisibility Box17.In " "
86 input scalarvisibilityOn_lookuptable Box18.In " "
87 input scalarvisibiltyOn_NamaColorArray Box19.In " "
88 input scalarvisibilityOn_ScalarRange Box20.In " "
89
90 # Complex output ports
91 output widget Box04.Widget " "
92 output boxchange Box09.BoxChange " "
93 output vtkprop3D Box09.Out " "
94 output widgetA Box13.Widget " "
95 output widgetB Box15.Widget " "
96
97
98 endefine