QgsLinearMinMaxEnhancementWithClip Class Reference
[QGIS core library]

A linear enhanceContrast enhancement that first clips to min max and then enhanceContrastes linearly between min and max. More...

#include <qgslinearminmaxenhancementwithclip.h>

Inheritance diagram for QgsLinearMinMaxEnhancementWithClip:

Inheritance graph
[legend]
Collaboration diagram for QgsLinearMinMaxEnhancementWithClip:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 QgsLinearMinMaxEnhancementWithClip (QgsContrastEnhancement::QgsRasterDataType, double, double)
int enhance (double)
 A customizable method that takes in a double and returns a int between 0 and 255.
bool isValueInDisplayableRange (double)
 A customicable method to indicate if the pixels is displayable.


Detailed Description

A linear enhanceContrast enhancement that first clips to min max and then enhanceContrastes linearly between min and max.

Definition at line 28 of file qgslinearminmaxenhancementwithclip.h.


Constructor & Destructor Documentation

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

Definition at line 21 of file qgslinearminmaxenhancementwithclip.cpp.


Member Function Documentation

int QgsLinearMinMaxEnhancementWithClip::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 qgslinearminmaxenhancementwithclip.cpp.

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

bool QgsLinearMinMaxEnhancementWithClip::isValueInDisplayableRange ( double  theValue  )  [virtual]

A customicable method to indicate if the pixels is displayable.

Reimplemented from QgsContrastEnhancementFunction.

Definition at line 45 of file qgslinearminmaxenhancementwithclip.cpp.

References QgsContrastEnhancementFunction::mMaximumValue.


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