[vtkusers] Remove image actor from renderer

Jothy jothybasu at gmail.com
Mon Oct 4 08:34:58 EDT 2010


Hi all,

I am trying to change the image displayed on the renderer. But it not
updating with the current pipeline as shown below

ImageReslice(sliceNum,Orientation)---->GetImageSlice------->ImageMapTo
Colors----->GetImageActor------>AddToRenderer----->RenderWithRenderWindow.


This works well for the first time, but when I repeat with a different slice
no. it doesn't change the slice.

I tried by setting
vtkImageReslice->GetOutput->Update/UpdateInformation/UpdateData after
reslicing.

Any hint?

Thanks,

Jothy

-- 
Research Scholar
Dept. of Medical Physics
Clatterbridge Centre for Oncology
UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101004/b4f4bea0/attachment.htm>


More information about the vtkusers mailing list