18 #ifndef QGSRASTERRENDERER_H
19 #define QGSRASTERRENDERER_H
43 MinMaxMinMax = 1 << 1,
44 MinMaxCumulativeCut = 1 << 2,
45 MinMaxStdDev = 1 << 3,
47 MinMaxFullExtent = 1 << 4,
48 MinMaxSubExtent = 1 << 5,
50 MinMaxEstimated = 1 << 6,
65 virtual QString
type()
const {
return mType; }
71 bool usesTransparency()
const;
73 void setOpacity(
double opacity ) { mOpacity = opacity; }
74 double opacity()
const {
return mOpacity; }
83 virtual void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems )
const { Q_UNUSED( symbolItems ); }
86 void readXML(
const QDomElement& rendererElem );
89 virtual QList<int>
usesBands()
const {
return QList<int>(); }
91 static QString minMaxOriginName(
int theOrigin );
92 static QString minMaxOriginLabel(
int theOrigin );
93 static int minMaxOriginFromName( QString theName );
98 void _writeXML( QDomDocument& doc, QDomElement& rasterRendererElem )
const;
111 #endif // QGSRASTERRENDERER_H