--- /dev/null
+category "example"
+
+
+load gdcmvtk
+load std
+load wx
+
+
+//message all 9
+
+// To choose the directory
+new DirectorySelector ds
+// To get the image names into a vector
+print "avant FilesFromDirectory"
+new FilesFromDirectory fd
+print "apres FilesFromDirectory"
+ connect ds.Out fd.In
+print "apres connect"
+// list of files as input
+print "In $ds.Out$\n
+print "Files found : $fd.Out$\n
+
+
+new GetXCoherentInfoGdcmReader reader
+//connect fd.Out reader.FileNames
+connect fd.Out reader.In
+exec reader
+
+// No adaptor
+//print $reader.Out$
+
+print IOP
+print $reader.IOP$
+
+print IPP
+print $reader.IPP$
+
+print PixelSpacing
+print $reader.PixelSpacing$
+
+print InterSlice
+print $reader.InterSlice$
+
+