Lynkeos
|
This class ensures the processing of the whole stack. More...
#import <ProcessStackManager.h>
Instance Methods | |
(LynkeosImageProcessingParameter *) | - getParameterForItem:andParam: |
Get the starting parameter in an item's stack. More... | |
(LynkeosImageProcessingParameter *) | - nextParameterToProcess: |
Get the next parameter to process. More... | |
Protected Attributes | |
LynkeosProcessableImage * | _item |
Item being processed. | |
NSUInteger | _intermediateRank |
Intermediate result rank. | |
NSUInteger | _currentRank |
Rank of last applied process. | |
NSMutableArray * | _stack |
Process stack for this item. | |
This class ensures the processing of the whole stack.
- (LynkeosImageProcessingParameter *) getParameterForItem: | (LynkeosProcessableImage*) | item | |
andParam: | (LynkeosImageProcessingParameter*) | inParam | |
Get the starting parameter in an item's stack.
Given a parameter, get the parameter at which the process shall restart to yield the correct item's final result for the whole stack.
item | The item to process |
inParam | The parameters for which the item needs to be re-processed. If nil, the first applicable parameter is returned. |
References _currentRank, _intermediateRank, _item, _stack, LynkeosProcessableImage::getResult, LynkeosObjectCache::imageProcessingCache, K_PROCESS_STACK_REF, <LynkeosProcessableItem>::revertToOriginal, LynkeosImageProcessingParameter::setExcluded:, <LynkeosProcessable>::setProcessingParameter:withRef:forProcessing:, and LynkeosProcessableImage::setResult:.
Referenced by MyDocument::processEnded:.
- (LynkeosImageProcessingParameter *) nextParameterToProcess: | (LynkeosProcessableImage*) | item |
Get the next parameter to process.
This method is called when one process (with given parameters) has been processed.
item | The item being processed |
References _currentRank, _intermediateRank, _item, _stack, LynkeosProcessableImage::getResult, LynkeosObjectCache::imageProcessingCache, and LynkeosObjectCache::setObject:forKey:.
Referenced by MyDocument::processEnded:.