]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/appli/exampleShowNPoints.bbs
#3485 ShowNPionts for Multiple Groups
[creaMaracasVisu.git] / bbtk / bbs / appli / exampleShowNPoints.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script
3 # - /Users/davila/Creatis/C11/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleShowNPoints.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include creaMaracasVisu
13 include wx
14
15 author "info-dev@creatis.insa-lyon.fr"
16 description "Show N Points"
17 category "demo"
18
19 new vtk:LoadHola reader
20
21 new creaMaracasVisu:ViewerNV viewer
22   set viewer.nTypeView "5 1 2 0"
23
24 new creaMaracasVisu:ShowNPoints showNpoints
25   set showNpoints.Radio "10"
26
27 new wx:LayoutSplit main
28   set main.Orientation "H"
29
30
31 connect reader.Out viewer.In
32
33 connect reader.Out showNpoints.Image
34
35 connect viewer.Renderer1 showNpoints.Renderer
36
37 connect viewer.Point showNpoints.In
38
39 connect viewer.BoxChange showNpoints.BoxExecute
40
41 connect showNpoints.Widget main.Widget1
42
43 connect viewer.Widget main.Widget2
44
45
46
47 # Complex input ports
48 exec main