Re: Set ConnectivityRegion ID as Cell Scalar Data in vtkUnstructuredGrid

David E DeMarle via vtkusers <[email protected]> Mon, 4 Feb 2019 17:23:02 -0500
Newsgroups gmane.comp.lib.vtk.user
Message-ID <CANjZAi-i2_R5=fKMhOzHPc8TRQNcw05EpCF4=dDjQEoOzxncjw@mail.gmail.com>
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 <[email protected]> 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
>

_______________________________________________
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