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 # ----------------------------------
12 define PolyDataToActor_Widget creaMaracasVisu
15 description "Description ??"
19 new wx:LayoutLine Box04
20 set Box04.Orientation "H"
22 new vtk:PolyDataToActor Box09
24 new std:MagicBox Box10
26 new vtk:UpdateRender Box11
27 set Box11.Active "true"
31 set Box13.Label "true"
34 set Box13.ReactiveOnTrack "true"
35 set Box13.Title "Mesh Opacity"
41 set Box15.In "Points WireFrame Surface"
42 set Box15.Selection "2"
43 set Box15.Title "3D Representation"
45 new std:MultipleInputs Box08
47 new std:MagicBox Box12
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
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 " "
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 " "