]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/PlaneWidget_StreamLineVisu_Widget.bbs
06ae9d88997218b7f431ebc22f6d70a230e07dac
[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/creaTools/creatools_source/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 new StreamTracer Box05
34   set Box05.Active "true"
35
36
37 connect Box02.Out Box00.Renderer
38 connect Box02.Out Box01.Renderer
39 connect Box03.ActivePlane Box01.Active
40 connect Box03.ActiveStreamLine Box00.Active
41 connect Box03.Opacity Box00.Opacity
42 connect Box03.Resolution Box01.Resolution
43 connect Box03.boxChange Box01.BoxExecute
44 connect Box03.boxChange Box00.BoxExecute
45 connect Box04.Out Box01.In
46 connect Box03.TypeStreamLine Box00.TypeForm
47 connect Box03.ScaleFactor Box00.ScaleFactor
48 connect Box01.Out Box05.Source
49 connect Box04.Out Box05.In
50 connect Box05.Out Box00.PolyData
51 connect Box03.boxChange Box05.BoxExecute
52
53 # Complex input ports
54 input Renderer Box02.In " "
55 input In Box04.In " "
56
57 # Complex output ports
58 output Widget Box03.widget " "
59 output boxchange Box03.boxChange " "
60
61 message    
62
63 endefine