I have a RasterElement displayed in a PseudoColorLayer that
I update after it’s been created and displayed. Sometimes the layer that
displays the RasterElement updates, sometimes it does not. I have been unable
to narrow down in my code what I am doing that causes the layer to update
versus when it doesn’t. Is there a particular function I can call on a
layer that will cause it to update based on the current state of the underlying
This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful. Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.
You can call RasterElement::updateData() which will inform any interested parties that the underlying data of the RasterElement has changed. PsuedocolorLayer should be listening to this and will perform a redraw for you.