[vtkusers] How to make vtkImageViewer2 to show an actor only in a certain depth

Sam Raby rabysam28 at gmail.com
Fri Jun 13 17:34:19 EDT 2014


I have a simple actor as simple as sphere and would like to show it in a
certain depth in vtkImageViewer2.

vtkImageViewer2 displays all the actors which are above the image, but is
there a way to force vtkImageViewer2 to show only that part of sphere actor
that is in the same depth as the image?

I saw a post [1] stating that the following may do the job, but I could not
make it work:



[1] http://www.vtk.org/pipermail/vtkusers/2008-August/047565.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140613/af291bcc/attachment.html>

More information about the vtkusers mailing list