[vtkusers] Groups of Cells Using Unstructured Grid for FEM

John Platt jcplatt at dsl.pipex.com
Mon Feb 12 19:12:00 EST 2007


Hi,

You could split your grid using vtkThresholdFilter to select each group
based on a suitable cell scalar range (as suggested by Dominik). Then
add the point scalars.

Alternatively, you could use vtkShrinkFilter with a shrink factor of
1.0.

HTH

John.

-----Original Message-----
From: vtkusers-bounces+jcplatt=dsl.pipex.com at vtk.org
[mailto:vtkusers-bounces+jcplatt=dsl.pipex.com at vtk.org] On Behalf Of
Kevin Maxwell
Sent: 12 February 2007 17:52
To: vtkusers at vtk.org
Subject: [vtkusers] Groups of Cells Using Unstructured Grid for FEM

I am trying to use VTK unstructured grids to visualize finite element 
meshes and contour data.  Has anyone found a way to separate cells into 
different groups (i.e. cells with different material properties)?  I 
found this type of question posted several times in the archives, but 
the responses haven't helped me much.  I could use cell data to give 
cells different values based on material properties, but this does not 
solve the problem of having discontinuous scalar point data at the 
boundaries between elements of different materials.  Any advice would be

appreciated.

Thanks,
Kevin Maxwell
_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list