[vtkusers] ITK + VTK + multiframe dicom files: getMaxSlice() always 0

Marcos fotosentido at gmail.com
Fri Aug 28 19:29:48 EDT 2015


Hi,

I'm using itk::ImageToVTKImageFilter to connect itk::ImageFileReader with
vtkImageViewer2.

I can visualize my image in QVTKWidget.

I'd like to access every frame, but vtkImageViewer2::getMaxSlice() is
returning 0 every time.

I'm connecting the pipeline with:

imageData->DeepCopy(connector->GetOutput());

imageViewer->SetInputData(imageData);


I understand that in VTK 6 this is the way.

Could I access to every frame from VTK?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150829/82e114ee/attachment.html>


More information about the vtkusers mailing list