This protocol is provided by the document window controller.
More...
#import <LynkeosProcessingView.h>
This protocol is provided by the document window controller.
The window controller provides the following notifications LynkeosDocumentDidOpenNotification, LynkeosDocumentWillCloseNotification, LynkeosOutlineViewWillDisplayCellNotification,
Access to the image view.
This method may return a proxy for the image view. Processing should use this method in most cases ; if for a specific and good reason it needs to access the real image view, it shall use getRealImageView.
- Returns
- The main window image view
Get the item selected for image processing.
- Parameters
-
item | The item currently selected for processing |
param | The parameter currently selected for processing (nil if none) |
sender | The processing view requiring the item and parameter |
Access to the real image view.
- Returns
- The main window image view, not the proxy, if any
Access to the "list" view.
Mainly to register for notifications.
- Returns
- The list view
Access to the currently hilighted item.
- Returns
- The hilighted item
Change the hilighted item.
- Parameters
-
item | The new item to hilight |
Load an image, using the registered image readers.
- Returns
- The loaded image
- (void) saveImage: |
|
(LynkeosStandardImageBuffer *) |
image |
withBlack: |
|
(double *) |
black |
white: |
|
(double *) |
white |
gamma: |
|
(double *) |
gamma |
|
|
| |
Saves an image, using the registered writers.
The levels and gamma array contain a value for each plane plus a value for the global levels and gamma
- Parameters
-
image | The image to save |
black | Black level for each plane |
white | White level for each plane |
gamma | Gamma correction exponent for each plane |
- (void) setDataModeSelectionAuthorization: |
|
(BOOL) |
auth |
|
Authorize (or not) the selection of the list/result mode.
- Parameters
-
auth | Whether to authorize or not |
- (void) setItemEditionAuthorization: |
|
(BOOL) |
auth |
|
Authorize (or not) the modification of items in the list.
- Parameters
-
auth | Whether to authorize or not |
- (void) setItemSelectionAuthorization: |
|
(BOOL) |
auth |
|
Authorize (or not) the selection of items in the list.
- Parameters
-
auth | Whether to authorize or not |
- (void) setListSelectionAuthorization: |
|
(BOOL) |
auth |
|
Authorize (or not) the selection of the working list.
- Parameters
-
auth | Whether to authorize or not |
- (void) setProcessing: |
|
(Class) |
c |
andIdent: |
|
(NSString *) |
ident |
authorization: |
|
(BOOL) |
auth |
|
|
| |
Enable (or not) all the GUI items that launch one process.
- Parameters
-
c | The class of the processing |
ident | Identifier for the processing instance |
auth | Whether to authorize or not |
Get the sizes of the window elements.
- Returns
- A dictionary containing the sizes ; usable only by the controller itself
The documentation for this protocol was generated from the following file: