<div class="gmail_quote">On Fri, Oct 22, 2010 at 2:57 PM, Darshan Pai <span dir="ltr">&lt;<a href="mailto:darshanpai@gmail.com">darshanpai@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I am not entirely sure what are you doing here . So you want to make a TestFilter which will make some output depending on the pipeline you want and as you keep adding to this filter you can see the result of the pipeline currently in the TestFilter, at any time?<br>
</blockquote><div><br></div><div>Yep, the idea is to separate the rendering code from the algorithm. You wouldn&#39;t want to paste 30 lines of code to make a renderer, render window, etc inside the algorithm. All you have to do with this pattern is make the data during the algorithm publicly accessible and invoke an event when you want to render it. Then the big rendering code is outside of the class.</div>
<br>David</div>