<div dir="ltr"><div><div>Hi all, I have a bug but I'm not sure if its vtk or itk fault. <br></div>I load a 4D image with itk, then use a pipeline similar to<br><br>itkImageExtractionRegionFilter->SetInput(reader->GetOutput)<br>
</div>( I set correctly the index and see the 3D image, the time frame I choose)<br><div><div><br>ImageToVTKImageFilter->SetInput(itkImageExtractionRegionFilter->GetOutput)<br><br>vtkGPUVolumeRayCastMapper->SetInput(itkImageToVTKImageFilter->GetOutput)<br>
<br>vtkOpenGLRenderer->SetInput(vtkGPUVolumeRayCastMapper->GetOutput)<br><br></div><div>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<br>
<br></div><div>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??<br></div><div>
<br>Thank you very much<br></div><div><br clear="all"><div><div><br>-- <br>José Ignacio Prieto<br>celular(nuevo): 94348182
</div></div></div></div></div>