[vtkusers] tubular structure

Kevin H. Hobbs hobbsk at ohiou.edu
Sat Feb 14 11:03:16 EST 2009


EDSB EDSB wrote:
>
> I would like to subtract from this volume the tube that I have create 
> by vtktubefilter, but I have some problems:
> 1) I have two different classes: the image is a VtkImageData, the tube 
> is a VtkPolyData (isn't it?); how can I get the same format, how can I 
> subtract them?
The attached program will set all of the pixels inside (or optionally 
outside) of the tube to the value of your choice.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RemoveObject.cxx
Type: text/x-c++src
Size: 4569 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090214/40a76ac8/attachment.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090214/40a76ac8/attachment.pgp>


More information about the vtkusers mailing list