[Ves] Extending the App

Eduardo Poyart poyart at gmail.com
Tue Feb 12 18:43:18 EST 2013


Hello,

I extended vesKiwiViewerApp with my own subclass ViewerApp. I also needed
to create a new representation, which I called ImageWidgetRepresentation,
extending from vesKiwiWidgetRepresentation.

I wrote a custom load routine in ViewerApp, and now I need to add the data
to Internal, with something like:

this->Internal->DataRepresentations.push_back(rep);

However this can't be done since vesKiwiViewerApp.Internal is private. What
is the correct design pattern in this case?

Thanks
Eduardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20130212/a3c83e61/attachment.html>


More information about the Ves mailing list