<div class="gmail_quote">Pat, </div><div class="gmail_quote"><br></div><div class="gmail_quote">On Tue, Feb 12, 2013 at 10:57 PM, Pat Marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Eduardo,<br><br>You're correct that the vesKiwiViewerApp api is insufficient. There's a branch called kiwi-update which has a new version of the code which adds methods to access the internal representations, and add new ones to the list. You could use this branch, or modify your copy of vesKiwiViewerApp. The kiwi-update branch has a lot of changes to it though, so if don't want the disruption then I would recommend you just modify vesKiwiViewerApp to add accessors to the internal representations vector.</blockquote>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>But, you might be interested in some of the changes, there are new features to the existing image widget class vesKiwiImageWidgetRepresentation. I'd be interested to hear from you if you want to share what you are doing with your ImageWidgetRepresentation class, and if you have any suggestions for improvements to the vesKiwiWidgetRepresentation base class. Thanks!<br>
</blockquote><div><br></div><div>As far as I know that branch need some clean up but other than that what holding us to review that branch and get it into master? I guess I am in favor of small topic branches. Please let me know. I also have few changes pending but that can after you branch. We can follow up in separate email if needed. </div>
<div><br></div><div>Thanks,</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>Pat<br><br><div class="gmail_quote"><div><div class="h5">On Wed, Feb 13, 2013 at 9:43 AM, Eduardo Poyart <span dir="ltr"><<a href="mailto:poyart@gmail.com" target="_blank">poyart@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Hello,<div><br></div><div>I extended vesKiwiViewerApp with my own subclass ViewerApp. I also needed to create a new representation, which I called ImageWidgetRepresentation, extending from vesKiwiWidgetRepresentation.</div>
<div><br></div><div>I wrote a custom load routine in ViewerApp, and now I need to add the data to Internal, with something like:</div><div><br></div>
<div><span>this</span>->Internal->DataRepresentations.push_back(rep);</div><div><br></div><div>However this can't be done since vesKiwiViewerApp.Internal is private. What is the correct design pattern in this case?</div>
<div><br></div><div>Thanks</div><span><font color="#888888"><div>Eduardo</div><div><br></div><div><br></div><div><br></div></font></span></div>
<br></div></div>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer <br>| Kitware Inc. <br>| <a href="http://www.kitware.com">www.kitware.com</a>