[vtkusers] vtkImageReslice and cutting planes
David Gobbi
david.gobbi at gmail.com
Thu Feb 18 11:33:53 EST 2016
On Thu, Feb 18, 2016 at 9:21 AM, Lonni Besançon <lonni.besancon at gmail.com>
wrote:
> Ok I understand, but would there be a way for me to have in one part of my
> window in which I get the slice or a copy of the slice's data to face me
> and
> in the other part of the window the real 3D positioning on the dataset?
>
You mean by having two renderers? You would need a different
vtkImageSliceMapper
for each renderer. You could try sharing the same plane between the
mappers, e.g.
sliceMapper1->SetSlicePlane(sliceMapper2->GetSlicePlane()) but you would
still need
to decide what will control the plane.
Also, if you use two renderers with the same vtkRenderWindow, it is
impossible to set
different interaction styles for each renderer... this is one of the many
reasons that I
have totally given up on using vtkRenderWindowInteractor in my own VTK apps.
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160218/e8d616f5/attachment.html>
More information about the vtkusers
mailing list