forked from alejandrojapkin/CocoaLUT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LUTAction.h
48 lines (32 loc) · 1.5 KB
/
LUTAction.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//
// LUTAction.h
// Lattice
//
// Created by Greg Cotten on 6/19/14.
// Copyright (c) 2014 Wil Gieseler. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CocoaLUT.h"
@interface LUTAction : NSObject <NSCopying>
@property (copy) LUT* (^actionBlock)(LUT*);
@property (strong) NSString *actionName;
@property (strong) M13OrderedDictionary *actionMetadata;
+(instancetype)actionWithBlock:(LUT *(^)(LUT *lut))actionBlock
actionName:(NSString *)actionName
actionMetadata:(M13OrderedDictionary *)metadata;
+(instancetype)actionWithBypassBlockWithName:(NSString *)actionName;
-(LUT *)LUTByUsingActionBlockOnLUT:(LUT *)lut;
-(NSString *)actionDetails;
+(instancetype)actionWithLUTByChangingInputLowerBound:(double)inputLowerBound
inputUpperBound:(double)inputUpperBound;
+(instancetype)actionWithLUTByClampingLowerBound:(double)lowerBound
upperBound:(double)upperBound;
+(instancetype)actionWithLUTByRemappingValuesWithInputLow:(double)inputLow
inputHigh:(double)inputHigh
outputLow:(double)outputLow
outputHigh:(double)outputHigh;
+(instancetype)actionWithLUTByScalingLegalToExtended;
+(instancetype)actionWithLUTByScalingExtendedToLegal;
+(instancetype)actionWithLUTByScalingTo01;
+(instancetype)actionWithLUTByResizingToSize:(NSUInteger)size;
@end