#include <imageregionobserver.h>
Public Member Functions | |
MAXON_METHOD Result< void > | OnConnect (const IntVector2d &dimensions) |
MAXON_METHOD void | OnResize (const IntVector2d &dimensions) |
MAXON_METHOD void | OnRegionDirty (const Range< IntVector2d > &dirtyRegion) |
MAXON_METHOD void | OnDisconnect () |
Private Member Functions | |
MAXON_INTERFACE (ImageRegionObserverInterface, MAXON_REFERENCE_NORMAL, "net.maxon.nodes.interface.imageregionobserver", MAXON_IMPLEMENTATION_MODULE("net.maxon.image")) | |
|
private |
MAXON_METHOD Result<void> OnConnect | ( | const IntVector2d & | dimensions | ) |
Notifies about the connection to an image observable. This marks the beginning of the observation.
[in] | dimensions | The image size. |
MAXON_METHOD void OnResize | ( | const IntVector2d & | dimensions | ) |
Notifies about the resize of the observed image.
[in] | dimensions | The new image size. |
MAXON_METHOD void OnRegionDirty | ( | const Range< IntVector2d > & | dirtyRegion | ) |
Notifies about a regional invalidation of the observed image.
[in] | dirtyRegion | The pixel area that has been invalidated. |
MAXON_METHOD void OnDisconnect | ( | ) |
Notifies about the disconnection from the observed image. This marks the end of the observation.