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 # ---------------------------------------------
26 new FileSelector openFileDialog
27 set openFileDialog.Wildcard "(*.mhd)|*.mhd"
28 new MetaImageReader reader
29 connect openFileDialog.Out reader.In
31 # uncomment next lines to use Gimmick
32 # -----------------------------------
39 connect reader.Out viewer.In
40 set viewer.nTypeView "5 1 2 0"
42 new ShowNPoints showNpoints
43 connect reader.Out showNpoints.Image
44 connect viewer.Renderer1 showNpoints.Renderer
45 connect viewer.Point showNpoints.In
46 connect viewer.BoxChange showNpoints.BoxExecute
47 set showNpoints.Radio 10
50 set main.Orientation H
51 connect showNpoints.Widget main.Widget1
52 connect viewer.Widget main.Widget2