[vtkusers] change slice with vtkInteractorStyleImage

José M. Rodriguez Bacallao jmrbcu at gmail.com
Fri May 18 10:08:11 EDT 2012


no one, please?

On Thu, May 17, 2012 at 3:29 PM, José M. Rodriguez Bacallao
<jmrbcu at gmail.com> wrote:
> I found a method to do this based on the camera distance setted to:
> current_camera_distance + slice_number*zspacing but the problem is how
> do I obtain the current displayed image to get the z spacing?
>
>
> On Thu, May 17, 2012 at 1:12 PM, José M. Rodriguez Bacallao
> <jmrbcu at gmail.com> wrote:
>> aahh, and how to know the number of the current displayed slice?
>>
>> anyone?
>>
>> On Thu, May 17, 2012 at 11:59 AM, José M. Rodriguez Bacallao
>> <jmrbcu at gmail.com> wrote:
>>> hi folks, I am displaying a dicom dataset using the new style imaging
>>> classes and using vtkInteractorStyleImage with python. I know that
>>> vtkInteractorStyleImage can change slices using the CTRL + Mouse Left
>>> Button using: SetInteractionModeToImageSlicing but, I need to change
>>> from one slice to another using mouse wheel and cursor keys, how do I
>>> can achieve this?



More information about the vtkusers mailing list