]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/boxes/MeshContours_Widget.bbs
3543 Clean Mesh Contours in Mesh Application
[creaMaracasVisu.git] / bbtk / bbs / boxes / MeshContours_Widget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/MeshContours_Widget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include std
9 include creaMaracasVisu
10
11 define MeshContours_Widget creaMaracasVisu
12
13 author "Author ??"
14 description "Description ??"
15
16 category "<VOID>"
17
18 new std:MagicBox Box36
19
20 new std:MagicBox Box38
21
22 new std:MagicBox Box45
23
24 new std:MagicBox Box46
25
26 new std:MagicBox Box47
27
28 new std:MagicBox Box51
29
30 new creaMaracasVisu:MeshContours_Interface Box52
31
32 new creaMaracasVisu:MeshContours Box53
33
34 new std:MagicBox Box08
35
36 new std:ConcatStrings Box09
37   set Box09.In1 "0.99999"
38
39 new std:Mul Box10
40   set Box10.In2 "1"
41
42 new std:MagicBox Box11
43
44 new std:MagicBox Box12
45
46 new std:MagicBox Box13
47
48 new std:Mul Box14
49   set Box14.In2 "1"
50
51 new std:MagicBox Box15
52
53 new std:Mul Box16
54   set Box16.In2 "1"
55
56 new std:MagicBox Box17
57
58 new std:ReplaceCleanString Box18
59   set Box18.Replace "1"
60   set Box18.Search "True"
61
62 new std:ReplaceCleanString Box19
63   set Box19.Replace "1"
64   set Box19.Search "true"
65
66 new std:ReplaceCleanString Box20
67   set Box20.Replace "1"
68   set Box20.Search "TRUE"
69
70
71 connect Box38.Out Box53.polydata
72 connect Box45.Out Box53.wxvtkbaseview2D1
73 connect Box46.Out Box53.wxvtkbaseview2D2
74 connect Box47.Out Box53.wxvtkbaseview2D3
75 connect Box51.Out Box53.wxvtkbaseview3D1
76 connect Box36.BoxChange Box53.execute
77 connect Box08.Out Box53.colorForMesh
78 connect Box09.Out Box53.opacity1
79 connect Box09.Out Box53.opacity2
80 connect Box09.Out Box53.opacity3
81 connect Box52.LineWidth Box53.lineWidth
82 connect Box10.Out Box53.activeContour
83 connect Box52.active Box10.In1
84 connect Box11.Out Box53.freeplane_point
85 connect Box12.Out Box53.freeplane_transform
86 connect Box13.Out Box53.freeplane_boxexecute
87 connect Box15.Out Box10.In2
88 connect Box15.Out Box14.In2
89 connect Box52.activeFreePlane Box14.In1
90 connect Box14.Out Box53.activeContour_FreePlane
91 connect Box15.Out Box16.In2
92 connect Box52.active3D Box16.In1
93 connect Box16.Out Box53.activeContour3D
94 connect Box18.Out Box20.In
95 connect Box20.Out Box19.In
96 connect Box17.Out Box18.In
97 connect Box19.Out Box15.In
98
99 # Complex input ports
100 input _polydata Box38.In " "
101 input _wxvtkbaseview2D1 Box45.In " "
102 input _wxvtkbaseview2D2 Box46.In " "
103 input _wxvtkbaseview2D3 Box47.In " "
104 input _wxvtkbaseview3D1 Box51.In " "
105 input _execute Box36.In " "
106 input colorMesh Box08.In " "
107 input Freeplane_point Box11.In " "
108 input Freeplane_transform Box12.In " "
109 input Freeplane_boxexecute Box13.In " "
110 input active_widget Box17.In " "
111
112 # Complex output ports
113 output _widget Box52.widget " "
114 output ActiveOut Box52.active " "
115 output _widgetA Box52.widgetA " "
116 output _widgetB Box52.widgetB " "
117
118
119 endefine