]> Creatis software - bbtk.git/blob - packages/vtk/bbs/boxes/bbLoadHola.bbs
NTU: Added write function... Hope it works
[bbtk.git] / packages / vtk / bbs / boxes / bbLoadHola.bbs
1 load vtk
2 include std/boxes/bbPrependPackageDataPath
3
4 define LoadHola vtk
5   description "Loads the image 'hola.mhd'" 
6   author "laurent.guigues at creatis.insa-lyon.fr"
7   category "image;read/write"
8
9   new MetaImageReader reader
10   new PrependPackageDataPath ppdp
11   set ppdp.In "hola.mhd"
12   set ppdp.Package "vtk"
13   connect ppdp.Out reader.In
14  
15   output Out reader.Out "The image"
16   output FileName ppdp.Out "The path to the image loaded"
17
18 endefine