[vtkusers] vtkResliceImageViewer::SetInputData() slow when executed after vtkDICOMImageReader::Update()

Sankhesh Jhaveri sankhesh.jhaveri at kitware.com
Tue Feb 13 09:37:28 EST 2018


I see. That makes sense since its a viewport and not a filter. Have you
seen the vtkImageResliceMapper class. Perhaps try slicing with that instead
of the vtkImageResliceViewer, to see if you get better performance.
​

On Tue, Feb 13, 2018 at 9:12 AM ochampao <ochampao at hotmail.com> wrote:

> This is the warning:
>
> "ERROR: In <_home_>\VTK-8.1.0\Interaction\Image\vtkResliceImageViewer.cxx,
> line 469 vtkResliceImageViewer (000001906F8079A0): Use SetInputData
> instead."
>
> The message stems from from vtkResliceImageViewer.cxx (lines 466-472):
>
>
> //----------------------------------------------------------------------------
> void vtkResliceImageViewer::SetInputConnection(vtkAlgorithmOutput* input)
> {
>   vtkErrorMacro( << "Use SetInputData instead. " );
>   this->WindowLevel->SetInputConnection(input);
>   this->UpdateDisplayExtent();
> }
>
> //----------------------------------------------------------------------------
>
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>
-- 
Sankhesh Jhaveri *Sr. Research & Development Engineer* | Kitware
<http://www.kitware.com/> | (518) 881-4417
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180213/72351be0/attachment.html>


More information about the vtkusers mailing list