[vtkusers] Get IDs within vtkImageStencilData

mbcx9rb9 richard.j.brown at live.co.uk
Tue Jan 19 16:59:00 EST 2016


Hi all,

Is there any way to get a list containing the IDs of all voxels within a
vtkImageStencilData? 

My method at the moment for getting all the voxels in the stencil is to
create a vtkOBBTree and check if the centre of each voxel is inside the
vtkPolyData related to the stencil, but this is very slow.

Thanks in advance for any pointers,
Rich



--
View this message in context: http://vtk.1045678.n5.nabble.com/Get-IDs-within-vtkImageStencilData-tp5736032.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list