QgsLinearMinMaxEnhancement Class Reference
[QGIS core library]

A color enhancement function that performs a linear enhanceContrast between min and max. More...

#include <qgslinearminmaxenhancement.h>

Inheritance diagram for QgsLinearMinMaxEnhancement:

Inheritance graph
[legend]
Collaboration diagram for QgsLinearMinMaxEnhancement:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 QgsLinearMinMaxEnhancement (QgsContrastEnhancement::QgsRasterDataType, double, double)
int enhance (double)
 A customizable method that takes in a double and returns a int between 0 and 255.


Detailed Description

A color enhancement function that performs a linear enhanceContrast between min and max.

Definition at line 27 of file qgslinearminmaxenhancement.h.


Constructor & Destructor Documentation

QgsLinearMinMaxEnhancement::QgsLinearMinMaxEnhancement ( QgsContrastEnhancement::QgsRasterDataType  theQgsRasterDataType,
double  theMinimumValue,
double  theMaximumValue 
)

Definition at line 21 of file qgslinearminmaxenhancement.cpp.


Member Function Documentation

int QgsLinearMinMaxEnhancement::enhance ( double  theValue  )  [virtual]

A customizable method that takes in a double and returns a int between 0 and 255.

Reimplemented from QgsContrastEnhancementFunction.

Definition at line 25 of file qgslinearminmaxenhancement.cpp.

References QgsContrastEnhancementFunction::mMinimumMaximumRange, and QgsContrastEnhancementFunction::mMinimumValue.


The documentation for this class was generated from the following files:

Generated on Sat Feb 4 19:17:36 2012 for Quantum GIS API Documentation by  doxygen 1.5.6