#include <imageregionobserver.h>
Public Member Functions | |
MAXON_METHOD Result< void > | ResizeImage (const IntVector2d &dimensions) |
MAXON_METHOD Result< void > | MarkDirty (const Range< IntVector2d > &dirtyRegion) |
MAXON_METHOD Result< ImageRegionObservableRef > | GetObservable () |
Public Member Functions inherited from ImageRegionObservableInterface | |
MAXON_METHOD Result< GenericData > | RegisterObserver (const Id &observerId, const ImageRegionObserverRef &observer) |
MAXON_METHOD Bool | Check (const GenericData &handler) const |
Static Public Member Functions | |
static MAXON_METHOD Result< ImageRegionObservableHandlerRef > | Create (const IntVector2d &dimensions) |
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL_DERIVED (ImageRegionObservableHandlerInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.imageregionobservablehandler") | |
|
private |
|
static |
Constructs .
[in] | dimensions | The image size. |
MAXON_METHOD Result<void> ResizeImage | ( | const IntVector2d & | dimensions | ) |
Dispatches a notification about a change to the image size.
[in] | dimensions | The new image size. |
MAXON_METHOD Result<void> MarkDirty | ( | const Range< IntVector2d > & | dirtyRegion | ) |
Dispatches a notification about a regional invalidation of the observed image.
[in] | dirtyRegion | The pixel area that has been invalidated. |
MAXON_METHOD Result<ImageRegionObservableRef> GetObservable | ( | ) |
Returns a reference to the registrar of observers.