]> Creatis software - bbtk.git/blob - packages/vtk/bbs/boxes/bbLoadHola.bbs
58658f2c65119c1080b739b583739db9f57301d8
[bbtk.git] / packages / vtk / bbs / boxes / bbLoadHola.bbs
1 load vtk
2 include std/boxes/bbPrependPackageDataPath
3
4 define LoadHola
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