mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
|
|
/** Raster pipe */
|
|
|
|
class QgsRasterPipe
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsrasterpipe.h>
|
|
#include <qgsrasterresamplefilter.h>
|
|
#include <qgsrasterprojector.h>
|
|
%End
|
|
public:
|
|
enum Role
|
|
{
|
|
UnknownRole = 0,
|
|
ProviderRole = 1,
|
|
RendererRole = 2,
|
|
ResamplerRole = 3,
|
|
ProjectorRole = 4
|
|
};
|
|
|
|
QgsRasterPipe();
|
|
QgsRasterPipe( const QgsRasterPipe& thePipe );
|
|
|
|
~QgsRasterPipe();
|
|
|
|
bool insert( int idx, QgsRasterInterface* theInterface /Transfer/ );
|
|
|
|
bool replace( int idx, QgsRasterInterface* theInterface /Transfer/ );
|
|
|
|
bool set( QgsRasterInterface * theInterface /Transfer/ );
|
|
|
|
bool remove( int idx );
|
|
|
|
bool remove( QgsRasterInterface * theInterface );
|
|
|
|
int size() const;
|
|
QgsRasterInterface * at( int idx ) const;
|
|
QgsRasterInterface * last() const;
|
|
|
|
bool setOn( int idx, bool on );
|
|
|
|
bool canSetOn( int idx, bool on );
|
|
|
|
QgsRasterDataProvider * provider() const;
|
|
QgsRasterRenderer * renderer() const;
|
|
QgsRasterResampleFilter * resampleFilter() const;
|
|
QgsRasterProjector * projector() const;
|
|
|
|
void setStatsOn( bool on );
|
|
};
|
|
|