]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleKMeans.bbs
#3499 boxes ImageGaussianSmooth2 MarchingCubes2
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleKMeans.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleKMeans.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaVtk
12 include vtk
13 include creaMaracasVisu
14 include wx
15
16 author "Author ??"
17 description "Description ??"
18 category "<VOID>"
19
20 new creaVtk:KMeansStatistics Box00
21   set Box00.NumberOfClusters "5"
22
23 new vtk:LoadHola Box01
24
25 new creaMaracasVisu:ViewerNV Box02
26
27 new vtk:ExtractVtkImageFilter Box08
28   set Box08.Index "0 0 40"
29   set Box08.Size "100 100 2"
30
31 new creaMaracasVisu:ViewerNV Box09
32
33 new creaMaracasVisu:ImageChangeInformation Box11
34
35 new wx:LayoutSplit Box07
36   set Box07.Orientation "H"
37
38
39 connect Box01.Out Box08.In
40
41 connect Box00.Out Box02.In
42
43 connect Box08.Out Box11.In
44
45 connect Box11.Out Box00.In
46
47 connect Box11.Out Box09.In
48
49 connect Box09.Widget Box07.Widget1
50
51 connect Box02.Widget Box07.Widget2
52
53
54
55 # Complex input ports
56 exec Box07