]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/PlaneWidget_StreamLineVisu_Widget.bbs
#3110 creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / PlaneWidget_StreamLineVisu_Widget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools2/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 creaVtk:StreamLineVisu Box00
20   set Box00.Active "true"
21   set Box00.ScaleFactor "5"
22
23 new creaVtk:PlaneWidget Box01
24   set Box01.Active "true"
25   set Box01.Resolution "10"
26
27 new std:MagicBox Box02
28
29 new creaVtk:PlaneWidget_StreamLineVisu_Interface Box03
30
31 new vtk:vtkImageDataPointerRelay Box04
32
33 new creaVtk:StreamTracer Box05
34   set Box05.Active "true"
35
36 new std:MultipleInputs Box06
37
38
39 connect Box02.Out Box00.Renderer
40 connect Box02.Out Box01.Renderer
41 connect Box03.ActivePlane Box01.Active
42 connect Box03.ActiveStreamLine Box00.Active
43 connect Box03.Opacity Box00.Opacity
44 connect Box03.Resolution Box01.Resolution
45 connect Box03.boxChange Box01.BoxExecute
46 connect Box04.Out Box01.In
47 connect Box03.TypeStreamLine Box00.TypeForm
48 connect Box03.ScaleFactor Box00.ScaleFactor
49 connect Box01.Out Box05.Source
50 connect Box04.Out Box05.In
51 connect Box05.Out Box00.PolyData
52 connect Box03.boxChange Box05.BoxExecute
53 connect Box03.boxChange Box06.In1
54 connect Box01.BoxChange Box06.In2
55 connect Box06.BoxChange Box00.BoxExecute
56
57 # Complex input ports
58 input Renderer Box02.In " "
59 input In Box04.In " "
60
61 # Complex output ports
62 output Widget Box03.widget " "
63 output boxchange Box03.boxChange " "
64
65
66 endefine