]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/StreamLine_Visu_Widget.bbs
#2446 creaVtk Feature New Normal - Stream Tracer, Stream Line (interface, widget)
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / StreamLine_Visu_Widget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/StreamLine_Visu_Widget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include creaVtk
9 include std
10 include vtk
11
12 define StreamLine_Visu_Widget creaVtk
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new StreamLineVisu Box00
20
21 new StreamLineVisu_Interface Box01
22
23 new MultipleInputs Box02
24   set Box02.BoxProcessMode "Reactive"
25
26 new UpdateRender Box03
27   set Box03.Active "true"
28
29 new MagicBox Box04
30
31
32 connect Box01.ActivePlane Box00.Active
33 connect Box01.Opacity Box00.Opacity
34 connect Box01.ScaleFactor Box00.ScaleFactor
35 connect Box01.TypeStreamLine Box00.TypeForm
36 connect Box01.boxChange Box02.In2
37 connect Box02.BoxChange Box00.BoxExecute
38 connect Box04.Out Box00.Renderer
39 connect Box04.Out Box03.Renderer
40 connect Box02.BoxChange Box03.BoxExecute
41 connect Box01.SolidColor Box00.Color
42 connect Box01.ColorLaw Box00.ColorLaw
43
44 # Complex input ports
45 input polydata Box00.PolyData " "
46 input boxExecute Box02.In1 " "
47 input renderer Box04.In " "
48 input Title Box01.title " "
49
50 # Complex output ports
51 output Widget Box01.widget " "
52
53 message    
54
55 endefine