[Insight-users] [vtkusers] bug in vtk6 itkvtkglue itkhead

Jose Ignacio Prieto joseignacio.prieto at gmail.com
Thu Oct 3 12:29:41 EDT 2013


It was just that, thanks.


On Thu, Oct 3, 2013 at 1:13 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> Remeber to do an Update() on the filter that is producing the input data.
>
> If that does not work,
> please post a minimal, compilable example that illustrates the problem.
>
> Thanks,
>
> Bill
>
>
> On Thu, Oct 3, 2013 at 11:15 AM, Jose Ignacio Prieto
> <joseignacio.prieto at gmail.com> wrote:
> > 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
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>



-- 
José Ignacio Prieto
celular(nuevo): 94348182
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20131003/9be7f44d/attachment.htm>


More information about the Insight-users mailing list