Quantum GIS API Documentation  1.7.4
src/core/raster/qgslinearminmaxenhancementwithclip.h
Go to the documentation of this file.
00001 /* **************************************************************************
00002               qgslinearminmaxenhancementwithclip.h -  description
00003                        -------------------
00004 begin                : Fri Nov 16 2007
00005 copyright            : (C) 2007 by Peter J. Ersts
00006 email                : ersts@amnh.org
00007 
00008 ****************************************************************************/
00009 
00010 /* **************************************************************************
00011  *                                                                         *
00012  *   This program is free software; you can redistribute it and/or modify  *
00013  *   it under the terms of the GNU General Public License as published by  *
00014  *   the Free Software Foundation; either version 2 of the License, or     *
00015  *   (at your option) any later version.                                   *
00016  *                                                                         *
00017  ***************************************************************************/
00018 
00019 #ifndef QGSLINEARMINMAXENHANCEMENTWITHCLIP_H
00020 #define QGSLINEARMINMAXENHANCEMENTWITHCLIP_H
00021 
00022 #include "qgscontrastenhancementfunction.h"
00023 
00028 class CORE_EXPORT QgsLinearMinMaxEnhancementWithClip : public QgsContrastEnhancementFunction
00029 {
00030 
00031   public:
00032     QgsLinearMinMaxEnhancementWithClip( QgsContrastEnhancement::QgsRasterDataType, double, double );
00033 
00034     int enhance( double );
00035 
00036     bool isValueInDisplayableRange( double );
00037 };
00038 
00039 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines