[vtkusers] image to polydata (fwd)

Sylvain Jaume jaume at tele.ucl.ac.be
Thu Apr 11 13:33:49 EDT 2002


Which filter converts an image to a polydata ?

I want to transform a 3D image into a grid and visualize the grid.
Neighboring voxels should be connected with a square or a cube.
vtkImageDataGeometryFilter misses the connectivity for a 3D image.
vtkImageToPolyDataFilter seems to only process 2D images.

Any hint is appreciated.
Sylvain

---------- Forwarded message ----------
Date: Thu, 11 Apr 2002 06:15:27 +0200 (MEST)
From: Sylvain Jaume <jaume at tele.ucl.ac.be>
To: vtkusers at public.kitware.com
Subject: image to polydata

Dear all,

How to convert a 3D image to a polydata to visualize the 3D grid ?

vtkImageDataGeometryFilter does a good job at converting a 2D image to a
grid (points + connectivity). But when it comes to 3D, it outputs vertices
without any connectivity. Is there another filter that will output the
points, and a 'box' (a list of 8 point indices) to represent every voxel ?
What about adding a functionality OutputConnectivityOn/Off to
vtkImageDataGeometryFilter ?

Thanks.
Sylvain





More information about the vtkusers mailing list