[vtkusers] DataExtent ids to cell ids of hole extent

Charles Monty Burns ch.monty.burns at googlemail.com
Thu Oct 2 20:57:19 EDT 2008


Hello,

I want to calculate all voxel ids of a vtkImageData that intersect with the
bounds of a tetrahedron of a mesh.

My idea, with vtk averages, is that I compute the structured coordinates of
the two boundary points an set the extent of the image to that points. Now I
can get all cells of that extent to extract some kind of data (e.g.
scalars), but I want to know the id of the cell of the whole extent.

Whats the best way to get this id's?

Greeting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081003/b65b7923/attachment.htm>


More information about the vtkusers mailing list