4 # --- Box Description ---
5 define IsoSurfaceExtractor vtk
7 description "Extracts an iso-surface of a 3D image and creates a vtkProp3D object to insert into a 3D scene (e.g. a Viewer3D)"
8 author "j p r at creatis.univ-lyon1.fr"
9 category "3D object creator"
13 new PolyDataToActor polydatatoactor
14 connect mc.Out polydatatoactor.In
17 connect mb.BoxChange mc.BoxExecute
18 connect mb.BoxChange polydatatoactor.BoxExecute
22 input In mc.In "vtkImageData"
23 input Isovalue mc.Value "Isovalue"
24 input Opacity polydatatoactor.Opacity "Opacity"
25 input Colour polydatatoactor.Colour "R G B"
26 input Renderer polydatatoactor.Renderer "3D scene in which to insert the surface"
27 input Transform polydatatoactor.Transform "Linear Transform (4x4 homogeneous)"
28 input BoxExecute mb.BoxExecute "BoxExecute"
31 output Out polydatatoactor.Out "Extracted iso-surface (as a vtkProp3D *)"