[vtkusers] vtkPicker returned actor
David Gobbi
david.gobbi at gmail.com
Sun Feb 28 13:37:30 EST 2016
On Sun, Feb 28, 2016 at 11:00 AM, Lonni Besançon <lonni.besancon at gmail.com>
wrote:
> Problem is I am not picking the volume, I am picking only the plane. The
> volume is not rendered at the time when the picking happens, only the plane
> is rendered and represents a slice of the volume.
>
> Thus, the volume and the plane are connected, whenever one of them is moved
> or rotated, I compute the reslice axes necessary from the matrices of the
> plane actor and the volume and use SetResliceAxes();
> with the computed and appropriate matrix.
>
> So the plane is a vtkActor with a vtkPolyDataMapper. The mapper uses a
> vtkPlaneSource as an input connection.
>
So you are connecting the output of vtkImageReslice to the vtkActor via
a vtkTexture? As I told you, I need all the specifics of your pipeline.
Don't
make me guess.
Also, why not just use the vtkImageResliceMapper?
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160228/2923d5a9/attachment.html>
More information about the vtkusers
mailing list