]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/appli/exampleManualContourModel_Box.bbs
#2976 creaMaracasVisu Feature New Normal - ManualContourModel_Box
[creaMaracasVisu.git] / bbtk / bbs / appli / exampleManualContourModel_Box.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleManualContourModel_Box.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaMaracasVisu
12 include vtk
13 include wx
14 include creaImageIO
15
16 author "Author ??"
17 description "Description ??"
18 category "<VOID>"
19
20 new creaMaracasVisu:ShowNPoints Box00
21
22 new vtk:LoadHola Box01
23
24 new creaMaracasVisu:ViewerNV Box02
25
26 new wx:LayoutSplit Box03
27   set Box03.Orientation "H"
28
29 new creaMaracasVisu:ManualContourModel_Box Box04
30   set Box04.OpenClose "false"
31
32 new creaMaracasVisu:DrawAxe3D Box05
33   set Box05.Colour "1 1 0"
34
35 new vtk:Transform Box06
36
37 new vtk:ImageVtkProperties Box07
38
39 new vtk:UpdateRender Box08
40   set Box08.Active "true"
41
42 new vtk:vtkImageDataPointerRelay Box09
43
44 new creaImageIO:ImagesChooserDialogBox Box10
45
46 new creaMaracasVisu:ImageChangeInformation Box11
47
48
49 connect Box02.Widget Box03.Widget2
50
51 connect Box00.Widget Box03.Widget1
52
53 connect Box02.Renderer1 Box00.Renderer
54
55 connect Box02.Point Box00.In
56
57 connect Box02.BoxChange Box00.BoxExecute
58
59 connect Box00.lstPointsX Box04.LstControlPointsX
60
61 connect Box00.lstPointsY Box04.LstControlPointsY
62
63 connect Box00.lstPointsZ Box04.LstControlPointsZ
64
65 connect Box00.BoxChange Box05.BoxExecute
66
67 connect Box04.LstContourPointsX Box05.lstPointX
68
69 connect Box04.LstContourPointsY Box05.lstPointY
70
71 connect Box04.LstContourPointsZ Box05.lstPointZ
72
73 connect Box02.Renderer1 Box05.Renderer
74
75 connect Box06.Out Box05.Transform
76
77 connect Box00.BoxChange Box08.BoxExecute
78
79 connect Box02.Renderer1 Box08.Renderer
80
81 connect Box07.Spacing Box06.Scale
82
83 connect Box09.Out Box07.In
84
85 connect Box09.Out Box02.In
86
87 connect Box09.Out Box00.Image
88
89 connect Box10.Out Box11.In
90
91 connect Box11.Out Box09.In
92
93
94
95 # Complex input ports
96 exec Box03