Hello Dominik,
On 11/30/2011 06:17 AM, Dominik Acri wrote:
> I got an out of range error after clearing an imageforeground.
>
> ImageForeground::addImage(Image *image, Pnt2f position)
>
> pushs a position into the MF
>
> but ImageForegroundBase::clearImages() does clear the position MF
the API is perhaps a bit misleading here. The function clearImages() is
part of what we automatically generate for each (pointer) MF in the
XXXBase class and as such only affects MFImages, while addImage() is a
convenience helper that adds to MFImages and MFPositions.
I've added two more helpers that make it easier to keep images and
positions fields consistent (subImage(), and clear()).
Cheers,
Carsten
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users