<div dir="ltr">Seun,<div>There is no flag that would remove the effects of a filter from the pipeline. You'll have keep pointers to A and C and insert B in the pipeline when needed and remove it when you don't.</div><div>To execute the new pipeline you'll call vktRenderWindow::Render.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 3, 2016 at 4:28 PM, Seun Odutola <span dir="ltr"><<a href="mailto:seun@rogue-research.com" target="_blank">seun@rogue-research.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div> Apologies for not being clear in my initial message, what I meant to say was that A—>C does work. I was hoping to find out a way of having A—>B—>C all connected but to suppress any effect of B when I don’t need it thus working like (A—>C) and turn B’s effect back on when I need it. In short, I have A(probe filter) —> B(ClipPolyData) —> C(PolyDataMapper) all connected but since one won’t be clipping much in the application am working with I want to keep the connection but just completely ignore B’s effect when clipping isn’t being executed (which is most of the time during normal operations) and vice versa turn it back on for just clipping.</div><div><div class="h5"><div><br></div><div><blockquote type="cite"><div>On May 2, 2016, at 4:36 PM, Dan Lipsa <<a href="mailto:dan.lipsa@kitware.com" target="_blank">dan.lipsa@kitware.com</a>> wrote:</div><br><div><div dir="ltr">Seun,<div>What you tried should work. Call SetInputConnection on C with the output port of A and then call vktRenderWindow::Render.</div><div>This should execute A->C</div><div>Try setting a breakpoint on RequestUpdate for A, B and C to see what gets called.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 2, 2016 at 4:19 PM, Seun Odutola <span dir="ltr"><<a href="mailto:seun@rogue-research.com" target="_blank">seun@rogue-research.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Everyone,<br>
<br>
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.<br>
<br>
Regards,<br>
Seun<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></blockquote></div><br></div>