Skip to content


Python binding for raster renderer and resampler classes
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed May 1, 2012
1 parent 746fe64 commit fd0a46a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/core/core.sip
Expand Up @@ -62,6 +62,8 @@
%Include qgsrasterdataprovider.sip
%Include qgsrasterlayer.sip
%Include qgsrasterpyramid.sip
%Include qgsrasterrenderer.sip
%Include qgsrasterresampler.sip
%Include qgsrastershader.sip
%Include qgsrastershaderfunction.sip
%Include qgsrastertransparency.sip
Expand Down
4 changes: 4 additions & 0 deletions python/core/qgsrasterlayer.sip
Expand Up @@ -222,6 +222,10 @@ public:
/** \brief Mutator for mUserDefinedRGBMinimumMaximum */
void setUserDefinedRGBMinimumMaximum( bool theBool );

/**Set raster renderer. Takes ownership of the renderer object*/
void setRenderer( QgsRasterRenderer* renderer );
QgsRasterRenderer* renderer();

/** \brief Accessor to find out how many standard deviations are being plotted */
double standardDeviations() const;

Expand Down

0 comments on commit fd0a46a

Please sign in to comment.