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 # ----------------------------------
7 # ----------------------
13 include creaMaracasVisu
17 description "Description ??"
20 new creaVtk:KMeansStatistics Box00
21 set Box00.NumberOfClusters "5"
23 new vtk:LoadHola Box01
25 new creaMaracasVisu:ViewerNV Box02
27 new vtk:ExtractVtkImageFilter Box08
28 set Box08.Index "0 0 40"
29 set Box08.Size "100 100 2"
31 new creaMaracasVisu:ViewerNV Box09
33 new creaMaracasVisu:ImageChangeInformation Box11
35 new wx:LayoutSplit Box07
36 set Box07.Orientation "H"
39 connect Box01.Out Box08.In
41 connect Box00.Out Box02.In
43 connect Box08.Out Box11.In
45 connect Box11.Out Box00.In
47 connect Box11.Out Box09.In
49 connect Box09.Widget Box07.Widget1
51 connect Box02.Widget Box07.Widget2