<div dir="ltr">It was just that, thanks.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 3, 2013 at 1:13 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Remeber to do an Update() on the filter that is producing the input data.<br>
<br>
If that does not work,<br>
please post a minimal, compilable example that illustrates the problem.<br>
<br>
Thanks,<br>
<br>
Bill<br>
<div><div class="h5"><br>
<br>
On Thu, Oct 3, 2013 at 11:15 AM, Jose Ignacio Prieto<br>
<<a href="mailto:joseignacio.prieto@gmail.com">joseignacio.prieto@gmail.com</a>> wrote:<br>
> Hi all, I have a bug but I'm not sure if its vtk or itk fault.<br>
> I load a 4D image with itk, then use a pipeline similar to<br>
><br>
> itkImageExtractionRegionFilter->SetInput(reader->GetOutput)<br>
> ( I set correctly the index and see the 3D image, the time frame I choose)<br>
><br>
> ImageToVTKImageFilter->SetInput(itkImageExtractionRegionFilter->GetOutput)<br>
><br>
> vtkGPUVolumeRayCastMapper->SetInput(itkImageToVTKImageFilter->GetOutput)<br>
><br>
> vtkOpenGLRenderer->SetInput(vtkGPUVolumeRayCastMapper->GetOutput)<br>
><br>
> The code above works nice in VTK 5.10 and ITK head. The problem is when I<br>
> try to run the same using the VTK head version. The ray cast mapper works ok<br>
> and I can see the selected 3D volume, but I have a callback to change the<br>
> fframe and It doesn't work now. The callback changes the index in the<br>
> extraction filter and then calls qvtkwidget ->render<br>
><br>
> On vtk6 I am connecting the vtkopenglrenderer and raycastmapper using<br>
> SetInputData(xxxxxx->GetOutput) instead of SetInput->(xxx->GetOutput) I was<br>
> using on vtk5. Is that the problem??<br>
><br>
> Thank you very much<br>
><br>
><br>
> --<br>
> José Ignacio Prieto<br>
> celular(nuevo): 94348182<br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>José Ignacio Prieto<br>celular(nuevo): 94348182
</div>