ImageRegionObserverInterface Class Reference

#include <imageregionobserver.h>

Inheritance diagram for ImageRegionObserverInterface:

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"))
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( ImageRegionObserverInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.nodes.interface.imageregionobserver"  ,
MAXON_IMPLEMENTATION_MODULE("net.maxon.image")   
)
private

◆ OnConnect()

MAXON_METHOD Result<void> OnConnect ( const IntVector2d dimensions)

Notifies about the connection to an image observable. This marks the beginning of the observation.

Parameters
[in]dimensionsThe image size.
Returns
OK on success.

◆ OnResize()

MAXON_METHOD void OnResize ( const IntVector2d dimensions)

Notifies about the resize of the observed image.

Parameters
[in]dimensionsThe new image size.

◆ OnRegionDirty()

MAXON_METHOD void OnRegionDirty ( const Range< IntVector2d > &  dirtyRegion)

Notifies about a regional invalidation of the observed image.

Parameters
[in]dirtyRegionThe pixel area that has been invalidated.

◆ OnDisconnect()

MAXON_METHOD void OnDisconnect ( )

Notifies about the disconnection from the observed image. This marks the end of the observation.