]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/PlaneWidget_StreamLineVisu_Widget.bbs
bfc8e5d4fd36d4af3e3fa455114062ef420d26ae
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / PlaneWidget_StreamLineVisu_Widget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneWidget_StreamLineVisu_Widget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include creaVtk
9 include std
10 include vtk
11
12 define PlaneWidget_StreamLineVisu_Widget creaVtk
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new StreamLineVisu Box00
20   set Box00.Active "true"
21   set Box00.ScaleFactor "5"
22
23 new PlaneWidget Box01
24   set Box01.Active "true"
25   set Box01.Resolution "10"
26
27 new MagicBox Box02
28
29 new PlaneWidget_StreamLineVisu_Interface Box03
30
31 new vtkImageDataPointerRelay Box04
32
33
34 connect Box01.Out Box00.Source
35 connect Box02.Out Box00.Renderer
36 connect Box02.Out Box01.Renderer
37 connect Box03.ActivePlane Box01.Active
38 connect Box03.ActiveStreamLine Box00.Active
39 connect Box03.Opacity Box00.Opacity
40 connect Box03.Resolution Box01.Resolution
41 connect Box03.boxChange Box01.BoxExecute
42 connect Box03.boxChange Box00.BoxExecute
43 connect Box04.Out Box01.In
44 connect Box04.Out Box00.In
45 connect Box03.TypeStreamLine Box00.TypeForm
46 connect Box03.ScaleFactor Box00.ScaleFactor
47
48 # Complex input ports
49 input Renderer Box02.In " "
50 input In Box04.In " "
51
52 # Complex output ports
53 output Widget Box03.widget " "
54 output boxchange Box03.boxChange " "
55
56
57 endefine