]> Creatis software - creaWT.git/blob - wt/bbtk_wt_PKG/bbs/boxes/AddMeshB.bbs
#3037 creaWT Bug New Normal - AddMesh update
[creaWT.git] / wt / bbtk_wt_PKG / bbs / boxes / AddMeshB.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaWT/wt/bbtk_wt_PKG/bbs/boxes/AddMeshB.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include std
9 include vtk
10 include wt
11
12 define AddMeshB wt
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new std:RandomString Box04
20   set Box04.BoxProcessMode "Reactive"
21
22 new std:ConcatStrings Box05
23   set Box05.In1 "mesh_"
24   set Box05.In3 ".vtk"
25
26 new std:ConcatStrings Box06
27   set Box06.In1 "imagesTMP/"
28
29 new std:ConcatStrings Box07
30
31 new vtk:PolyDataWriter Box09
32
33 new wt:AddMesh Box10
34
35 new std:MultipleInputs Box11
36   set Box11.BoxProcessMode "Reactive"
37
38 new wt:GetConfigServerWt Box12
39
40
41 connect Box04.Out Box05.In2
42 connect Box05.Out Box06.In2
43 connect Box06.Out Box07.In2
44 connect Box07.Out Box09.Filename
45 connect Box06.Out Box10.Mesh
46 connect Box12.DocRoot Box07.In1
47 connect Box11.BoxChange Box10.BoxExecute
48 connect Box11.BoxChange Box04.BoxExecute
49 connect Box11.BoxChange Box09.BoxExecute
50
51 # Complex input ports
52 input vtkPolyData Box09.In " "
53 input viewerwt Box10.ViewerWt " "
54 input boxExecute Box11.BoxExecute " "
55
56 # Complex output ports
57
58 message    
59
60 endefine