DocumentationOverviewBuilding ASL Documentation Library Wiki Docs Indices Browse Perforce More InfoRelease NotesWiki Site Search License Success Stories Contributors MediaDownloadPerforce Depots SupportASL SourceForge HomeMailing Lists Discussion Forums Report Bugs Suggest Features Contribute to ASL RSSShort-text newsFull-text news File releases Other Adobe ProjectsAdobe AirAdobe GIL Adobe Labs Adobe Media Gallery Adobe XMP Tamarin project (Mozilla Foundation) Other ResourcesBoostRIAForge SGI STL |
dng_tone_curve.h00001 /*****************************************************************************/ 00002 // Copyright 2007 Adobe Systems Incorporated 00003 // All Rights Reserved. 00004 // 00005 // NOTICE: Adobe permits you to use, modify, and distribute this file in 00006 // accordance with the terms of the Adobe license agreement accompanying it. 00007 /*****************************************************************************/ 00008 00009 /* $Id: //mondo/workarea/stern/camera_raw/dng_sdk/source/dng_tone_curve.h#5 $ */ 00010 /* $DateTime: 2007/12/10 20:35:54 $ */ 00011 /* $Change: 404775 $ */ 00012 /* $Author: stern $ */ 00013 00014 /*****************************************************************************/ 00015 00016 #ifndef __dng_tone_curve__ 00017 #define __dng_tone_curve__ 00018 00019 /*****************************************************************************/ 00020 00021 #include "dng_classes.h" 00022 #include "dng_point.h" 00023 00024 #include <vector> 00025 00026 /*****************************************************************************/ 00027 00028 class dng_tone_curve 00029 { 00030 00031 public: 00032 00033 std::vector<dng_point_real64> fCoord; 00034 00035 public: 00036 00037 dng_tone_curve (); 00038 00039 bool operator== (const dng_tone_curve &curve) const; 00040 00041 bool operator!= (const dng_tone_curve &curve) const 00042 { 00043 return !(*this == curve); 00044 } 00045 00046 void SetNull (); 00047 00048 bool IsNull () const; 00049 00050 void SetInvalid (); 00051 00052 bool IsValid () const; 00053 00054 void Solve (dng_spline_solver &solver) const; 00055 00056 }; 00057 00058 /*****************************************************************************/ 00059 00060 #endif 00061 00062 /*****************************************************************************/ |