forked from alejandrojapkin/CocoaLUT
/
LUTColorSpaceWhitePoint.h
39 lines (29 loc) · 1.06 KB
/
LUTColorSpaceWhitePoint.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
//
// LUTWhitePoint.h
// Pods
//
// Created by Greg Cotten on 6/24/14.
//
//
#import <Foundation/Foundation.h>
#import <GLKit/GLKit.h>
#import <M13OrderedDictionary/M13OrderedDictionary.h>
@interface LUTColorSpaceWhitePoint : NSObject <NSCopying>
@property (assign) double whiteChromaticityX;
@property (assign) double whiteChromaticityY;
@property (strong) NSString *name;
+ (instancetype)whitePointWithWhiteChromaticityX:(double)whiteChromaticityX
whiteChromaticityY:(double)whiteChromaticityY
name:(NSString *)name;
- (GLKVector3)tristimulusValues;
+ (NSArray *)knownWhitePoints;
+ (NSArray *)knownColorTemperatureWhitePoints;
+ (instancetype)whitePointFromColorTemperature:(double)colorTemperature;
+ (instancetype)whitePointFromColorTemperature:(double)colorTemperature
customName:(NSString *)name;
+ (instancetype)d65WhitePoint;
+ (instancetype)d60WhitePoint;
+ (instancetype)d55WhitePoint;
+ (instancetype)dciWhitePoint;
+ (instancetype)xyzWhitePoint;
@end