<div dir="ltr">Thanks for the feedback. <div>Consider a scenario that you have a slider-bar which scroll through DICOM files and then this "clipping" has to happen for each slice repeatedly. I am afraid that this would not allow the slider-bar to smoothly move, but maybe there no faster way presently.</div>
<div><br></div><div>Is there a way to hide only a part of an actor, and not the entire actor (instead of cutting it)?</div><div> </div><div>-Sam</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 16, 2014 at 12:21 PM, Miro Drahos <span dir="ltr"><<a href="mailto:mdrahos@robodoc.com" target="_blank">mdrahos@robodoc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If what you want is to cut your sphere and visualize the intersection of the sphere (a circle) with the viewer plane, use vtkCutter.<br>
The sphere polydata is the input, the reslice plane is the cutFunction.<br>
HTH,<br>
Miro<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 06/13/2014 02:34 PM, Sam Raby wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I have a simple actor as simple as sphere and would like to show it in a certain depth in vtkImageViewer2.<br>
<br>
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?<br>
<br>
I saw a post [1] stating that the following may do the job, but I could not make it work:<br>
<br>
interactorStyle-><u></u>AutoAdjustCameraClippingRangeO<u></u>ff().<br>
<br>
thanks,<br>
-sam<br>
<br>
[1] <a href="http://www.vtk.org/pipermail/vtkusers/2008-August/047565.html" target="_blank">http://www.vtk.org/pipermail/<u></u>vtkusers/2008-August/047565.<u></u>html</a><br>
</blockquote>
<br>
</div></div></blockquote></div><br></div>