<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks guys, it’s looking more like I have to take that route as you all described (reconnecting the pipeline as desired). However, I would like to know if it’s possible to compare the (B - ClipPolyData’s) bounding box against the input’s box (A) in order to decide if the ‘B’ should be skipped (thus connecting A to C) as described in my previous email, how can I achieve this. Thanks a lot guys, truly appreciate the help.<div class=""><br class=""></div><div class="">Regards,</div><div class=""> Seun<br class=""><div class=""><br class=""></div><div class=""> <br class=""><div><blockquote type="cite" class=""><div class="">On May 4, 2016, at 12:39 PM, Elvis Stansvik <<a href="mailto:elvis.stansvik@orexplore.com" class="">elvis.stansvik@orexplore.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="">Den 3 maj 2016 10:40 em skrev "Dan Lipsa" <<a href="mailto:dan.lipsa@kitware.com" class="">dan.lipsa@kitware.com</a>>:<br class="">><br class="">> Seun,<br class="">> 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.<br class="">> To execute the new pipeline you'll call vktRenderWindow::Render.</p><p dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">I guess you could subclass B and give it an easy switch function to turn it into a noop filter.. But better/easier to just reconfigure the pipeline like Dan suggests.</p><p dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Elvis</p><p dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">><br class="">><br class="">><br class="">> On Tue, May 3, 2016 at 4:28 PM, Seun Odutola <<a href="mailto:seun@rogue-research.com" class="">seun@rogue-research.com</a>> wrote:<br class="">>><br class="">>> 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.<br class="">>><br class="">>>> On May 2, 2016, at 4:36 PM, Dan Lipsa <<a href="mailto:dan.lipsa@kitware.com" class="">dan.lipsa@kitware.com</a>> wrote:<br class="">>>><br class="">>>> Seun,<br class="">>>> What you tried should work. Call SetInputConnection on C with the output port of A and then call vktRenderWindow::Render.<br class="">>>> This should execute A->C<br class="">>>> Try setting a breakpoint on RequestUpdate for A, B and C to see what gets called.<br class="">>>><br class="">>>><br class="">>>><br class="">>>> On Mon, May 2, 2016 at 4:19 PM, Seun Odutola <<a href="mailto:seun@rogue-research.com" class="">seun@rogue-research.com</a>> wrote:<br class="">>>>><br class="">>>>> Hello Everyone,<br class="">>>>><br class="">>>>> 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 class="">>>>><br class="">>>>> Regards,<br class="">>>>> Seun<br class="">>>>> _______________________________________________<br class="">>>>> Powered by<span class="Apple-converted-space"> </span><a href="http://www.kitware.com/" class="">www.kitware.com</a><br class="">>>>><br class="">>>>> Visit other Kitware open-source projects at<span class="Apple-converted-space"> </span><a href="http://www.kitware.com/opensource/opensource.html" class="">http://www.kitware.com/opensource/opensource.html</a><br class="">>>>><br class="">>>>> Please keep messages on-topic and check the VTK FAQ at:<span class="Apple-converted-space"> </span><a href="http://www.vtk.org/Wiki/VTK_FAQ" class="">http://www.vtk.org/Wiki/VTK_FAQ</a><br class="">>>>><br class="">>>>> Search the list archives at:<span class="Apple-converted-space"> </span><a href="http://markmail.org/search/?q=vtkusers" class="">http://markmail.org/search/?q=vtkusers</a><br class="">>>>><br class="">>>>> Follow this link to subscribe/unsubscribe:<br class="">>>>><span class="Apple-converted-space"> </span><a href="http://public.kitware.com/mailman/listinfo/vtkusers" class="">http://public.kitware.com/mailman/listinfo/vtkusers</a><br class="">>>><br class="">>>><br class="">>><br class="">><br class="">><br class="">> _______________________________________________<br class="">> Powered by<span class="Apple-converted-space"> </span><a href="http://www.kitware.com/" class="">www.kitware.com</a><br class="">><br class="">> Visit other Kitware open-source projects at<span class="Apple-converted-space"> </span><a href="http://www.kitware.com/opensource/opensource.html" class="">http://www.kitware.com/opensource/opensource.html</a><br class="">><br class="">> Please keep messages on-topic and check the VTK FAQ at:<span class="Apple-converted-space"> </span><a href="http://www.vtk.org/Wiki/VTK_FAQ" class="">http://www.vtk.org/Wiki/VTK_FAQ</a><br class="">><br class="">> Search the list archives at:<span class="Apple-converted-space"> </span><a href="http://markmail.org/search/?q=vtkusers" class="">http://markmail.org/search/?q=vtkusers</a><br class="">><br class="">> Follow this link to subscribe/unsubscribe:<br class="">><span class="Apple-converted-space"> </span><a href="http://public.kitware.com/mailman/listinfo/vtkusers" class="">http://public.kitware.com/mailman/listinfo/vtkusers</a><br class="">></p></div></blockquote></div><br class=""></div></div></body></html>