[vtkusers] subtracting one volume from another

Kevin H. Hobbs hobbsk at ohiou.edu
Fri Aug 11 08:43:44 EDT 2006


On Thu, 2006-08-10 at 17:45 +0200, Sandra Moritz wrote:
> Hello together
> 
> I am new in this mailing list and also a new vtk user, so if I ask stupid questions or something else, just let me know :-).
> 
> Well, what I would like to do is subtracting one volume from another. More detailed, I would like to superimpose to volumes, subtract then one from the other and use the new volume for other calculations. Is there any function in vtk which can perform this task? 
> 
> And another question: Is there any user guide apart from the book which is not available at the moment? Or any webpage which can help to understand vtk a little bit better? 
> 
> Thanks very much for every help!!
> 
> Sandra

If you can first get the contour of the object you want to remove, then
the attached should work.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: RemoveObject.cxx
Type: text/x-c++src
Size: 2300 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060811/82b0af9a/attachment.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060811/82b0af9a/attachment.pgp>


More information about the vtkusers mailing list