1 description "Show N Points"
2 author "info-dev@creatis.insa-lyon.fr"
5 // To show how easy it is to add smthing
6 // =====================================
18 # -------------------------
20 include vtk/boxes/bbLoadHola
24 # uncomment next lines to have a file selector
25 # ---------------------------------------------
27 new FileSelector openFileDialog
28 set openFileDialog.Wildcard "(*.mhd)|*.mhd"
29 new MetaImageReader reader
30 connect openFileDialog.Out reader.In
33 # uncomment next lines to use Gimmick
34 # -----------------------------------
41 connect reader.Out viewer.In
42 set viewer.nTypeView "5 1 2 0"
44 new ShowNPoints showNpoints
45 connect reader.Out showNpoints.Image
46 connect viewer.Renderer1 showNpoints.Renderer
47 connect viewer.Point showNpoints.In
48 connect viewer.BoxChange showNpoints.BoxExecute
49 set showNpoints.Radio 10
52 set main.Orientation H
53 connect showNpoints.Widget main.Widget1
54 connect viewer.Widget main.Widget2