Lynkeos
|
Lightweight object for monitoring image size change. More...
Instance Methods | |
(id) | - initWithDocument: |
Dedicated initializer. More... | |
(void) | - documentChange: |
Process a change in the document (only PSF change is of interest) More... | |
Class Methods | |
(void) | + documentDidOpen: |
Process the notification of a new document creation. More... | |
(void) | + documentWillClose: |
Process the notification of document closing. More... | |
Protected Attributes | |
NSObject< LynkeosViewDocument > * | _document |
Our document. | |
LynkeosIntegerSize | _imageSize |
PSF image size. | |
Lightweight object for monitoring image size change.
When the image size change, the LucyRichardson parameters need to be adjusted (even if the view was not opened).
- (void) documentChange: | (NSNotification*) | notif |
Process a change in the document (only PSF change is of interest)
notif | The notification |
References _document, _imageSize, MyLucyRichardsonParameters::_psf, MyLucyRichardsonViewParameters::_psfKind, LynkeosIntegerSize::height, <LynkeosProcessableItem>::imageSize, K_PROCESS_STACK_REF, and LynkeosIntegerSize::width.
+ (void) documentDidOpen: | (NSNotification*) | notif |
Process the notification of a new document creation.
It will be used to create a monitor object for the document.
notif | The notification |
+ (void) documentWillClose: | (NSNotification*) | notif |
Process the notification of document closing.
notif | The notification |
- (id) initWithDocument: | (NSObject <LynkeosViewDocument>*) | document |
Dedicated initializer.
document | The document to monitor |
References _document, _imageSize, and <LynkeosViewDocument>::imageList.