mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
25 lines
869 B
Plaintext
25 lines
869 B
Plaintext
class QgsSingleBandGrayRenderer: QgsRasterRenderer
|
|
{
|
|
%TypeHeaderCode
|
|
#include "qgssinglebandgrayrenderer.h"
|
|
%End
|
|
public:
|
|
QgsSingleBandGrayRenderer( QgsRasterDataProvider* provider, int grayBand );
|
|
~QgsSingleBandGrayRenderer();
|
|
QgsRasterInterface * clone() /Factory/;
|
|
|
|
static QgsRasterRenderer* create( const QDomElement& elem, QgsRasterDataProvider* provider ) /Factory/;
|
|
|
|
void * readBlock( int bandNo, const QgsRectangle & extent, int width, int height );
|
|
|
|
int grayBand() const;
|
|
void setGrayBand( int band );
|
|
const QgsContrastEnhancement* contrastEnhancement() const;
|
|
/**Takes ownership*/
|
|
void setContrastEnhancement( QgsContrastEnhancement* ce /Transfer/ );
|
|
|
|
void writeXML( QDomDocument& doc, QDomElement& parentElem ) const;
|
|
|
|
void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems ) const;
|
|
};
|