[Insight-users] bug in vtk6 itkvtkglue itkhead
Jose Ignacio Prieto
joseignacio.prieto at gmail.com
Thu Oct 3 11:15:38 EDT 2013
Hi all, I have a bug but I'm not sure if its vtk or itk fault.
I load a 4D image with itk, then use a pipeline similar to
itkImageExtractionRegionFilter->SetInput(reader->GetOutput)
( I set correctly the index and see the 3D image, the time frame I choose)
ImageToVTKImageFilter->SetInput(itkImageExtractionRegionFilter->GetOutput)
vtkGPUVolumeRayCastMapper->SetInput(itkImageToVTKImageFilter->GetOutput)
vtkOpenGLRenderer->SetInput(vtkGPUVolumeRayCastMapper->GetOutput)
The code above works nice in VTK 5.10 and ITK head. The problem is when I
try to run the same using the VTK head version. The ray cast mapper works
ok and I can see the selected 3D volume, but I have a callback to change
the fframe and It doesn't work now. The callback changes the index in the
extraction filter and then calls qvtkwidget ->render
On vtk6 I am connecting the vtkopenglrenderer and raycastmapper using
SetInputData(xxxxxx->GetOutput) instead of SetInput->(xxx->GetOutput) I was
using on vtk5. Is that the problem??
Thank you very much
--
José Ignacio Prieto
celular(nuevo): 94348182
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20131003/05b2cbec/attachment.htm>
More information about the Insight-users
mailing list