[vtkusers] Is there a way to identify "groups" of cells in a vtk unstructured??????
D.M.P.Davies
dmpd at onetel.net.uk
Sat May 15 16:10:44 EDT 2004
nikhil butala wrote:
> Anyone?????
>
> This problem is in the archives, but no one ever
> posted a solution.
>
> -- is there a
> way to distinguish groups of cells by material?
> Also, I wish to apply different boundary condition to
> each
> group of cell..... Is this possible in VTK??
If You only use node(scalar) data) you can give the cells a value and
put them through a vtkThreshold with SetAttributeToUseCellData . I use
it to separate a model into heaps (could be different material
components) and then look and regions of a model - have some (embedded)
tcl and could send along with picture if you're interested and are able
to work this way.
Cheers
Dave Davies
More information about the vtkusers
mailing list