]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/boxes/PolyDataToActor_Widget.bbs
16a1c4a185b8a03be5b450c93b12597e442583e7
[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
50 connect Box10.Out Box11.Renderer
51 connect Box09.BoxChange Box11.BoxExecute
52 connect Box13.Out Box14.In1
53 connect Box14.Out Box09.Opacity
54 connect Box10.Out Box09.Renderer
55 connect Box15.Out Box09.Representation
56 connect Box15.Widget Box04.Widget1
57 connect Box13.Widget Box04.Widget3
58 connect Box13.BoxChange Box08.In1
59 connect Box08.BoxChange Box09.BoxExecute
60 connect Box12.Out Box09.Active
61
62 # Complex input ports
63 input render Box10.In " "
64 input polydata Box09.In " "
65 input color Box09.Colour " "
66 input boxexecute Box08.In3 " "
67 input scalarvisibility Box09.ScalarVisibility " "
68 input meshOpacity Box13.In " "
69 input active Box12.In " "
70
71 # Complex output ports
72 output widget Box04.Widget " "
73 output boxchange Box09.BoxChange " "
74 output vtkprop3D Box09.Out " "
75 output widgetA Box13.Widget " "
76 output widgetB Box15.Widget " "
77
78
79 endefine