[vtkusers] How to bypass parts of the VTK pipeline

Dan Lipsa dan.lipsa at kitware.com
Mon May 2 16:36:50 EDT 2016


Seun,
What you tried should work. Call SetInputConnection on C with the output
port of A and then call vktRenderWindow::Render.
This should execute A->C
Try setting a breakpoint on RequestUpdate for A, B and C to see what gets
called.



On Mon, May 2, 2016 at 4:19 PM, Seun Odutola <seun at rogue-research.com>
wrote:

> Hello Everyone,
>
>         After researching & googling for answers to no avail, I was
> wondering if someone here could help me regarding a situation am facing. To
> keep things simple let’s say I have 3 nodes, A, B, C. A is a probeFilter, B
> is a ClipPolyData and C is a PolyDataMapper. I currently have a pipeline
> A—> B—>C and I would like to occasionally ignore B and thus have A—>C
> directly, how do I achieve this. I have tried to connect directly A—> to C
> which does nothing (unless am doing something wrong). Hoping someone could
> point me in the right direction.
>
> Regards,
>    Seun
> _______________________________________________
> 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:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160502/39f01cb5/attachment.html>


More information about the vtkusers mailing list