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

Sankhesh Jhaveri sankhesh.jhaveri at kitware.com
Tue Feb 13 08:37:30 EST 2018


although using SetInputConnection() is not recommended (we get
a warning from VTK).

SetInputConnection is the recommended way to connect a VTK pipeline. What
is the warning you see?
​

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

> Not sure if this is helpful but I've realised the following:
>
> If I replace SetInputData() with SetInputConnection() and then try enabling
> the Update() call at the 3 positions indicated in my previous post the
> function performs overall faster in all 3 positions. At positions (1) and
> (2), it takes less than 1 second. At position (3) it takes ~2 seconds to
> complete exectution of SetInputConnection(). I guess this is the expected
> behaviour (?) although using SetInputConnection() is not recommended (we
> get
> a warning from VTK).
>
> P.
>
>
>
> --
> 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/7cbb69a7/attachment.html>


More information about the vtkusers mailing list