]> Creatis software - bbtk.git/blob - packages/vtk/bbs/boxes/bbIsoSurfaceExtractor.bbs
Fix
[bbtk.git] / packages / vtk / bbs / boxes / bbIsoSurfaceExtractor.bbs
1 include vtk
2
3 # --- Box Description ---
4 define IsoSurfaceExtractor vtk
5
6   description "Extracts an iso-surface of a 3D image and creates a vtkProp3D object to insert into a 3D scene (e.g. a Viewer3D)" 
7   author "j p r at creatis.univ-lyon1.fr"
8   category "3D object creator"
9 # ---                ---
10
11   new MarchingCube    mc
12   new PolyDataToActor eedTrans    
13
14   connect mc.Out eedTrans.In
15   
16 # ---                ---
17
18   input In        mc.In              "vtkImageData"
19   input Isovalue  eedTrans.Isovalue  "Isovalue"
20   input Opacity   eedTrans.Opacity   "Opacity"  
21   input Colour    eedTrans.Colour    "R G B"
22   input Renderer  eedTrans.Renderer  "3D scene in which to insert the surface"
23   input Transform eedTrans.Transform "Linear Transform (4x4 homogeneous)"     
24  
25   output Out eedTrans.Out "Extracted iso-surface (as a vtkProp3D *)"
26
27 endefine