blob: e85052f809ffcb580826c5b8575796bf7bb67768 (
plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
/*****************************************************************************/
// Copyright 2007 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in
// accordance with the terms of the Adobe license agreement accompanying it.
/*****************************************************************************/
/* $Id: //mondo/dng_sdk_1_4/dng_sdk/source/dng_tone_curve.h#2 $ */
/* $DateTime: 2012/07/31 22:04:34 $ */
/* $Change: 840853 $ */
/* $Author: tknoll $ */
/** \file
* Representation of 1-dimensional tone curve.
*/
/*****************************************************************************/
#ifndef __dng_tone_curve__
#define __dng_tone_curve__
/*****************************************************************************/
#include "dng_classes.h"
#include "dng_point.h"
#include <vector>
/*****************************************************************************/
class dng_tone_curve
{
public:
std::vector<dng_point_real64> fCoord;
public:
dng_tone_curve ();
bool operator== (const dng_tone_curve &curve) const;
bool operator!= (const dng_tone_curve &curve) const
{
return !(*this == curve);
}
void SetNull ();
bool IsNull () const;
void SetInvalid ();
bool IsValid () const;
void Solve (dng_spline_solver &solver) const;
};
/*****************************************************************************/
#endif
/*****************************************************************************/
|