[vtkusers] Query a vtkCell in vtkPolyData for Colour

Stephen Russell stephenjohnrussell at me.com
Thu Mar 20 13:18:25 EDT 2014


Hi,

I am currently experiencing difficulties in deleting cells from vtkPolyData when has been converted from a vtkImage.

I have an image of an object that I have manually segmented into two colours, black and white.  The object I would like to construct the mesh for is coloured in white while the excess mesh is black.

Is it possible to query the colours of cells to produce a list of cells which need to be deleted?

Thank you in advance,

Stephen




More information about the vtkusers mailing list