ok you're the boss :-)
about the pix_set, i had a fill method which doesn't care about the ROI should it ?
+ a -- do it yourself http://antoine.villeret.free.fr http://drii.ensad.fr -- Google lit ce mail... si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.fr pour me contacter
2012/12/11 IOhannes m zmölnig zmoelnig@iem.at:
On 12/11/2012 19:24, Antoine Villeret wrote:
and what about the opposite ? stay in discrete coordinate in the code and add a normalized message ? in that way the conversion is done only once (when the ROI is set in normalized coord) and not each time we set the data (for pix_set) maybe i'm going wrong...
i'd rather not. the way it is now, [pix_roi] is independent of the actual pixes. i very much like it that way.
one could provide helper-functions to easily convert a given ROI/pix to absolute coordinates on the C++ layer, if you care about the programming overhead. the computational overhead is small enough.
fgmasdr IOhannes
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev