]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleDelaunay3D.bbs
#3274 creaVtk Feature New Normal - BooleanOperationPolyDataFilter BoxWidget ClipPol...
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleDelaunay3D.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleDelaunay3D.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaVtk
12 include creaMaracasVisu
13 include vtk
14 include wx
15 include std
16
17 author "Author ??"
18 description "Description ??"
19 category "<VOID>"
20
21 new creaVtk:Delaunay3D Box03
22   set Box03.Alpha "0"
23   set Box03.Tolerance "0"
24
25 new creaMaracasVisu:ViewerNV Box04
26
27 new vtk:LoadHola Box05
28
29 new vtk:PolyDataToActor Box06
30   set Box06.Opacity "0.4"
31
32 new wx:LayoutSplit Box07
33   set Box07.Orientation "H"
34
35 new wx:CommandButton Box08
36   set Box08.Label "Run"
37
38 new creaMaracasVisu:DrawAxe3D Box10
39   set Box10.Colour "0 0 1"
40
41 new std:ConcatStrings Box11
42   set Box11.In1 "10 10 10 30 50"
43
44 new std:ConcatStrings Box12
45   set Box12.In1 "80 20 10 30 50"
46
47 new std:ConcatStrings Box13
48   set Box13.In1 "40 60 30 30 50"
49
50
51 connect Box05.Out Box04.In
52
53 connect Box03.Out Box06.In
54
55 connect Box04.Widget Box07.Widget2
56
57 connect Box08.Widget Box07.Widget1
58
59 connect Box04.Renderer1 Box06.Renderer
60
61 connect Box11.Out Box10.lstPointX
62
63 connect Box12.Out Box10.lstPointY
64
65 connect Box13.Out Box10.lstPointZ
66
67 connect Box11.Out Box03.LstPointsX
68
69 connect Box12.Out Box03.LstPointsY
70
71 connect Box13.Out Box03.LstPointsZ
72
73 connect Box04.Renderer1 Box10.Renderer
74
75 connect Box08.BoxChange Box10.BoxExecute
76
77 connect Box08.BoxChange Box06.BoxExecute
78
79
80
81 # Complex input ports
82 exec Box07