00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: plfiltercontrast.h,v 1.1 2004/05/21 21:02:53 maxx Exp $ 00005 | 00006 | Copyright (c) 1996-2002 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00011 #if !defined(INCL_PLFILTERCONTRAST) 00012 #define INCL_PLFILTERCONTRAST 00013 00014 #if _MSC_VER > 1000 00015 #pragma once 00016 #endif // _MSC_VER > 1000 00017 00018 #include "plfilter.h" 00019 #include "plpaintlibdefs.h" 00020 00021 class PLBmp; 00022 00033 class PLFilterContrast : public PLFilter 00034 { 00035 public: 00040 PLFilterContrast(double contrast, 00041 PLBYTE offset); 00042 virtual ~PLFilterContrast(); 00043 virtual void Apply(PLBmp *pBmpSource, PLBmp* pBmpDest) const; 00044 00045 protected: 00046 double m_contrast; 00047 double m_offset; 00048 }; 00049 #endif 00050 00051 /* 00052 /-------------------------------------------------------------------- 00053 | 00054 | $Log: plfiltercontrast.h,v $ 00055 | Revision 1.1 2004/05/21 21:02:53 maxx 00056 | Initial Version of vuVolume, moderatly changed to make it compile on my windows and linux machine. 00057 | 00058 | Revision 1.1 2002/11/13 01:59:47 mspindle 00059 | *** empty log message *** 00060 | 00061 | Revision 1.3 2002/02/24 13:00:46 uzadow 00062 | Documentation update; removed buggy PLFilterRotate. 00063 | 00064 | Revision 1.2 2001/10/06 22:03:26 uzadow 00065 | Added PL prefix to basic data types. 00066 | 00067 | Revision 1.1 2001/09/16 19:03:23 uzadow 00068 | Added global name prefix PL, changed most filenames. 00069 | 00070 | Revision 1.5 2001/01/15 15:05:31 uzadow 00071 | Added PLBmp::ApplyFilter() and PLBmp::CreateFilteredCopy() 00072 | 00073 | Revision 1.4 2001/01/13 14:44:52 uzadow 00074 | Doc update. 00075 | 00076 | Revision 1.3 2001/01/12 23:30:01 uzadow 00077 | Doc update. 00078 | 00079 | Revision 1.2 2001/01/12 23:04:37 uzadow 00080 | Comments. 00081 | 00082 | Revision 1.1 2000/11/06 23:20:22 uzadow 00083 | Added Contrast, Intensity and Lightness filters by 00084 | Thomas Hirschmann 00085 | 00086 | 00087 \-------------------------------------------------------------------- 00088 */