[vtkusers] about building a 3D model of more than one absolute area in one program

Charl P. Botha c.p.botha at its.tudelft.nl
Fri Apr 4 04:15:27 EST 2003

On Fri, Apr 04, 2003 at 11:05:40AM +0200, Jonathan Bailleul wrote:
> ³Â׿ wrote:
> > 
> > Hi,all vtkusers
> > I want to realize the function of building a 3D model of more than one absolute area in one program.My How can I do it by using vtkMarchingCubes? My demand is about two aspects: (1) when rendering in window,different areas must be distinguished by different colors;(2)when I write my output file of vertex coordinates,I must have ability to choose the data of which area to be output.
> Doing this without discriminating disconnected volumes is trivially
> simple, but the marching cube filter actually transforms every non-null
> voxel into a mesh! Maybe can we detect cycles in the vtkPolydata
> structure and move them in different structures??

You could look at the vtkPolyDataConnectivityFilter:

charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/

More information about the vtkusers mailing list