[vtkusers] point connectivity
Leila Baghdadi
baghdadi at sickkids.ca
Wed Feb 26 15:04:18 EST 2003
try checking
vtkCellLinks()
hope this helps
Leila
On Wed, 26 Feb 2003, Theodore Papatheodorou wrote:
> Hi all,
> I have a polydata structure and I want to identify different bloods with
> different colours. Does anyone know of a way to identify which pieces
> are not connected to each other and give them a different id? Is there
> for example a function that checks to see if two points belong to the
> same object?
>
> Example in 2D:
>
> AAA BBBBBBBBB
> AAA BBBBBBBBB
> AAA BBBBBBBBB
> AAA BBBBBBBBB
> AAA BBBBBBBBB
>
> I want object A to be identified as separate from object B since they
> are not connected at any point. In 2D it is easy because one has to loop
> through the pixels. In 3D it gets a bit tricky.
> Any suggestions mostly welcome.
> Thanks for your answer and time.
>
> Theodore
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list