[vtkusers] SetCutPlane not working in vtkImageResliceMapper

David Gobbi david.gobbi at gmail.com
Fri Oct 12 20:22:37 EDT 2012


Hi Debjit,

You probably have SliceFacesCamera turned on for the mapper.  This
will override any plane that you set manually.

If you are using SliceFacesCamera and SliceAtFocalPoint, then the way
to change the slice is by changing the camera's position and focal
point.

 - David


On Fri, Oct 12, 2012 at 6:01 PM, Debjit Ghosh <dghosh at chla.usc.edu> wrote:
> I have been facing an issue where I called the SetSlicePlane(vtkPlane*) with
> a normal and/or an origin but the visualization didn't change. I had called
> the interactor->Render(), called the Modified() on the ImageResliceMapper
> but neither made the difference.
>
> It would be great if someone could tell me what I am missing here.



More information about the vtkusers mailing list