]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs
#3182 creaVtk Feature New Normal - Clean PlaneVecterVisu_Widget
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / PlaneVectorVisu_Widget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/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 creaVtk:VectorsVisu Box00
20
21 new creaVtk:PlaneWidget Box01
22
23 new vtk:ProbeFilter Box03
24
25 new vtk:vtkImageDataPointerRelay Box04
26
27 new std:MagicBox Box05
28
29 new creaVtk:PlaneVectorViso_Interface Box06
30   set Box06.typeFormsStr "Line Arrow"
31
32 new vtk:UpdateRender Box13
33   set Box13.Active "true"
34   set Box13.BoxProcessMode "Reactive"
35
36 new std:SharedMemory Box15
37
38 new std:MagicBox Box11
39
40
41 connect Box03.Out Box00.In
42 connect Box01.Out Box03.Input
43 connect Box04.Out Box03.Source
44 connect Box04.Out Box01.In
45 connect Box05.Out Box01.Renderer
46 connect Box05.Out Box00.Renderer
47 connect Box06.AcitiveVector Box00.Active
48 connect Box06.ActivePlaneControl Box01.Active
49 connect Box06.Opacity Box00.Opacity
50 connect Box06.ScaleFactor Box00.ScaleFactor
51 connect Box06.Ratio Box01.Resolution
52 connect Box06.typeForm Box00.TypeForm
53 connect Box05.Out Box13.Renderer
54 connect Box15.Out Box00.BoxExecute
55 connect Box06.boxChange Box15.In1
56 connect Box15.Out Box13.BoxExecute
57 connect Box11.Out Box15.In2
58
59 # Complex input ports
60 input vtkImageData Box04.In " "
61 input renderer Box05.In " "
62 input boxexecute Box11.BoxExecute " "
63
64 # Complex output ports
65 output Widget Box06.widget " "
66 output boxchange Box15.Out " "
67
68
69 endefine