You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.5 KiB

/*****************************************************************************/
// 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_memory.h"
#include "dng_point.h"
/*****************************************************************************/
class dng_tone_curve
{
public:
dng_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
/*****************************************************************************/