<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">&lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;</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>
&lt;<a href="mailto:joseignacio.prieto@gmail.com">joseignacio.prieto@gmail.com</a>&gt; wrote:<br>
&gt; Hi all, I have a bug but I&#39;m not sure if its vtk or itk fault.<br>
&gt; I load a 4D image with itk, then use a pipeline similar to<br>
&gt;<br>
&gt; itkImageExtractionRegionFilter-&gt;SetInput(reader-&gt;GetOutput)<br>
&gt; ( I set correctly the index and see the 3D image, the time frame I choose)<br>
&gt;<br>
&gt; ImageToVTKImageFilter-&gt;SetInput(itkImageExtractionRegionFilter-&gt;GetOutput)<br>
&gt;<br>
&gt; vtkGPUVolumeRayCastMapper-&gt;SetInput(itkImageToVTKImageFilter-&gt;GetOutput)<br>
&gt;<br>
&gt; vtkOpenGLRenderer-&gt;SetInput(vtkGPUVolumeRayCastMapper-&gt;GetOutput)<br>
&gt;<br>
&gt; The code above works nice in VTK 5.10 and ITK head. The problem is when I<br>
&gt; try to run the same using the VTK head version. The ray cast mapper works ok<br>
&gt; and I can see the selected 3D volume, but I have a callback to change the<br>
&gt; fframe and It doesn&#39;t work now. The callback changes the index in the<br>
&gt; extraction filter and then calls qvtkwidget -&gt;render<br>
&gt;<br>
&gt; On vtk6 I am connecting the vtkopenglrenderer and raycastmapper using<br>
&gt; SetInputData(xxxxxx-&gt;GetOutput) instead of SetInput-&gt;(xxx-&gt;GetOutput) I was<br>
&gt; using on vtk5. Is that the problem??<br>
&gt;<br>
&gt; Thank you very much<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; José Ignacio Prieto<br>
&gt; celular(nuevo): 94348182<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<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>