]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/PlaneTensorVisu_Widget.bbs
#2446 creaVtk Feature New Normal - Stream Tracer, Stream Line (interface, widget)
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / PlaneTensorVisu_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/PlaneTensorVisu_Widget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include creaVtk
9 include std
10 include vtk
11
12 define PlaneTensorVisu_Widget creaVtk
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new PlaneWidget Box01
20
21 new MultipleInputs Box02
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 "Cube Sphere Superquadric"
31
32 new TensorsVisu Box07
33
34
35 connect Box01.BoxChange Box02.In1
36 connect Box01.Out Box03.Input
37 connect Box04.Out Box03.Source
38 connect Box04.Out Box01.In
39 connect Box05.Out Box01.Renderer
40 connect Box06.ActivePlaneControl Box01.Active
41 connect Box06.boxChange Box02.In2
42 connect Box06.Ratio Box01.Resolution
43 connect Box06.boxChange Box01.BoxExecute
44 connect Box05.Out Box07.Renderer
45 connect Box06.AcitiveVector Box07.Active
46 connect Box02.BoxChange Box07.BoxExecute
47 connect Box03.Out Box07.In
48 connect Box06.Opacity Box07.Opacity
49 connect Box06.ScaleFactor Box07.ScaleFactor
50 connect Box06.typeForm Box07.TypeForm
51
52 # Complex input ports
53 input vtkImageData Box04.In " "
54 input renderer Box05.In " "
55
56 # Complex output ports
57 output Widget Box06.widget " "
58 output boxchange Box02.BoxChange " "
59
60 message    
61
62 endefine