[vtkusers] Set ConnectivityRegion ID as Cell Scalar Data in vtkUnstructuredGrid

David E DeMarle dave.demarle at kitware.com
Mon Feb 4 17:23:02 EST 2019

Hi Doug.

Doesn't the cell aligned array named "RegionId" in the output grid from
that filter already contain that information?

David E DeMarle
Kitware, Inc.
Principal Engineer

p.s. VTK discussions are starting to move to discourse.vtk.org please
consider signing up there.

On Sun, Feb 3, 2019 at 7:08 PM scotsman60 <doug at beachmailing.com> wrote:

> Hello!!
> I'm using vtkConnetivityFilter to extract connected regions from a
> vtkUnstructuredGrid.
> Now I want to add a cell Scalar array on the vtkUnstructuredGrid where I
> set
> the RegionId on every Cell.
> But I can't seem to find a way of getting the regionID for every Cell out
> of
> the vtkConnetivityFilter. In fact I can't seem to find a way of even
> getting
> the Cells per region out of this filter.
> Any information about how to do this will be gratefully received.
> Thanks,
> Doug
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190204/c8f9dbc7/attachment.html>

More information about the vtkusers mailing list