]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs
#2446 creaVtk Feature New Normal - Stream Tracer, Stream Line (interface, widget)
[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/creaTools/creatools_source/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   set Box06.typeFormsStr "Line Arrow"
34
35
36 connect Box01.BoxChange Box02.In1
37 connect Box02.BoxChange Box00.BoxExecute
38 connect Box03.Out Box00.In
39 connect Box01.Out Box03.Input
40 connect Box04.Out Box03.Source
41 connect Box04.Out Box01.In
42 connect Box05.Out Box01.Renderer
43 connect Box05.Out Box00.Renderer
44 connect Box06.AcitiveVector Box00.Active
45 connect Box06.ActivePlaneControl Box01.Active
46 connect Box06.Opacity Box00.Opacity
47 connect Box06.ScaleFactor Box00.ScaleFactor
48 connect Box06.boxChange Box02.In2
49 connect Box06.Ratio Box01.Resolution
50 connect Box06.boxChange Box01.BoxExecute
51 connect Box06.typeForm Box00.TypeForm
52
53 # Complex input ports
54 input vtkImageData Box04.In " "
55 input renderer Box05.In " "
56
57 # Complex output ports
58 output Widget Box06.widget " "
59 output boxchange Box02.BoxChange " "
60
61 message    
62
63 endefine