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