[vtkusers] How to make vtkImageViewer2 to show an actor only in a certain depth
rabysam28 at gmail.com
Mon Jun 16 13:43:43 EDT 2014
Thanks for the feedback.
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.
Is there a way to hide only a part of an actor, and not the entire actor
(instead of cutting it)?
On Mon, Jun 16, 2014 at 12:21 PM, Miro Drahos <mdrahos at robodoc.com> wrote:
> If what you want is to cut your sphere and visualize the intersection of
> the sphere (a circle) with the viewer plane, use vtkCutter.
> The sphere polydata is the input, the reslice plane is the cutFunction.
> On 06/13/2014 02:34 PM, Sam Raby wrote:
>> 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  stating that the following may do the job, but I could
>> not make it work:
>>  http://www.vtk.org/pipermail/vtkusers/2008-August/047565.html
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers