]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs
#2501 creaVtk Bug New Normal - Clean events in Vectors and Tensors visu widgets...
[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 vtk
10 include std
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 ProbeFilter Box03
24
25 new vtkImageDataPointerRelay Box04
26
27 new MagicBox Box05
28
29 new PlaneVectorViso_Interface Box06
30   set Box06.typeFormsStr "Line Arrow"
31
32 new ExecSystemCommand Box11
33   set Box11.In "echo pppppppp"
34
35 new UpdateRender Box13
36   set Box13.Active "true"
37   set Box13.BoxProcessMode "Reactive"
38
39 new ExecSystemCommand Box14
40   set Box14.In "echo ccccccccccccccccc"
41
42 new SharedMemory Box15
43
44
45 connect Box03.Out Box00.In
46 connect Box01.Out Box03.Input
47 connect Box04.Out Box03.Source
48 connect Box04.Out Box01.In
49 connect Box05.Out Box01.Renderer
50 connect Box05.Out Box00.Renderer
51 connect Box06.AcitiveVector Box00.Active
52 connect Box06.ActivePlaneControl Box01.Active
53 connect Box06.Opacity Box00.Opacity
54 connect Box06.ScaleFactor Box00.ScaleFactor
55 connect Box06.Ratio Box01.Resolution
56 connect Box06.typeForm Box00.TypeForm
57 connect Box06.boxChange Box11.BoxExecute
58 connect Box05.Out Box13.Renderer
59 connect Box15.Out Box14.BoxExecute
60 connect Box15.Out Box00.BoxExecute
61 connect Box06.boxChange Box15.In1
62 connect Box15.Out Box13.BoxExecute
63
64 # Complex input ports
65 input vtkImageData Box04.In " "
66 input renderer Box05.In " "
67
68 # Complex output ports
69 output Widget Box06.widget " "
70 output boxchange Box15.Out " "
71
72 message    
73
74 endefine