]> Creatis software - bbtk.git/blob - packages/vtk/bbs/boxes/bbLoadHola_vtkPolyData.bbs
b90b6df15efccdff65bdbf7db4cfdcbd4e88f27e
[bbtk.git] / packages / vtk / bbs / boxes / bbLoadHola_vtkPolyData.bbs
1 load vtk
2 include std/boxes/bbPrependPackageDataPath
3
4 define LoadHola_vtkPolyData vtk
5   description "Loads the image 'hola_vtkPolyData.vtk'" 
6   author "eduardo.davila at creatis.insa-lyon.fr"
7   category "mesh;read/write"
8
9   new PolyDataReader reader
10   new PrependPackageDataPath ppdp
11   set ppdp.In "hola_vtkPolyData.vtk"
12   set ppdp.Package "vtk"
13   connect ppdp.Out reader.In
14  
15   output Out reader.Out "The poly data"
16   output FileName ppdp.Out "The path to the mesh to load"
17
18 endefine