My Project
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
VRTDerivedRasterBand Class Reference
Inheritance diagram for VRTDerivedRasterBand:
VRTSourcedRasterBand VRTRasterBand

Public Member Functions

 VRTDerivedRasterBand (GDALDataset *poDS, int nBand)
 
 VRTDerivedRasterBand (GDALDataset *poDS, int nBand, GDALDataType eType, int nXSize, int nYSize)
 
virtual CPLErr IRasterIO (GDALRWFlag, int, int, int, int, void *, int, int, GDALDataType, GSpacing nPixelSpace, GSpacing nLineSpace, GDALRasterIOExtraArg *psExtraArg) override
 
virtual int IGetDataCoverageStatus (int nXOff, int nYOff, int nXSize, int nYSize, int nMaskFlagStop, double *pdfDataPct) override
 
void SetPixelFunctionName (const char *pszFuncName)
 
void SetSourceTransferType (GDALDataType eDataType)
 
void SetPixelFunctionLanguage (const char *pszLanguage)
 
virtual CPLErr XMLInit (CPLXMLNode *, const char *, void *) override
 
virtual CPLXMLNode * SerializeToXML (const char *pszVRTPath) override
 
virtual double GetMinimum (int *pbSuccess=nullptr) override
 
virtual double GetMaximum (int *pbSuccess=nullptr) override
 
virtual CPLErr ComputeRasterMinMax (int bApproxOK, double *adfMinMax) override
 
virtual CPLErr ComputeStatistics (int bApproxOK, double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev, GDALProgressFunc pfnProgress, void *pProgressData) override
 
virtual CPLErr GetHistogram (double dfMin, double dfMax, int nBuckets, GUIntBig *panHistogram, int bIncludeOutOfRange, int bApproxOK, GDALProgressFunc pfnProgress, void *pProgressData) override
 
- Public Member Functions inherited from VRTSourcedRasterBand
 VRTSourcedRasterBand (GDALDataset *poDS, int nBand)
 
 VRTSourcedRasterBand (GDALDataType eType, int nXSize, int nYSize)
 
 VRTSourcedRasterBand (GDALDataset *poDS, int nBand, GDALDataType eType, int nXSize, int nYSize)
 
virtual CPLErr IRasterIO (GDALRWFlag, int, int, int, int, void *, int, int, GDALDataType, GSpacing nPixelSpace, GSpacing nLineSpace, GDALRasterIOExtraArg *psExtraArg) override
 
virtual int IGetDataCoverageStatus (int nXOff, int nYOff, int nXSize, int nYSize, int nMaskFlagStop, double *pdfDataPct) override
 
virtual char ** GetMetadataDomainList () override
 
virtual const char * GetMetadataItem (const char *pszName, const char *pszDomain="") override
 
virtual char ** GetMetadata (const char *pszDomain="") override
 
virtual CPLErr SetMetadata (char **papszMetadata, const char *pszDomain="") override
 
virtual CPLErr SetMetadataItem (const char *pszName, const char *pszValue, const char *pszDomain="") override
 
virtual CPLErr XMLInit (CPLXMLNode *, const char *, void *) override
 
virtual CPLXMLNode * SerializeToXML (const char *pszVRTPath) override
 
virtual double GetMinimum (int *pbSuccess=nullptr) override
 
virtual double GetMaximum (int *pbSuccess=nullptr) override
 
virtual CPLErr ComputeRasterMinMax (int bApproxOK, double *adfMinMax) override
 
virtual CPLErr ComputeStatistics (int bApproxOK, double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev, GDALProgressFunc pfnProgress, void *pProgressData) override
 
virtual CPLErr GetHistogram (double dfMin, double dfMax, int nBuckets, GUIntBig *panHistogram, int bIncludeOutOfRange, int bApproxOK, GDALProgressFunc pfnProgress, void *pProgressData) override
 
CPLErr AddSource (VRTSource *)
 
CPLErr AddSimpleSource (GDALRasterBand *poSrcBand, double dfSrcXOff=-1, double dfSrcYOff=-1, double dfSrcXSize=-1, double dfSrcYSize=-1, double dfDstXOff=-1, double dfDstYOff=-1, double dfDstXSize=-1, double dfDstYSize=-1, const char *pszResampling="near", double dfNoDataValue=VRT_NODATA_UNSET)
 
CPLErr AddComplexSource (GDALRasterBand *poSrcBand, double dfSrcXOff=-1, double dfSrcYOff=-1, double dfSrcXSize=-1, double dfSrcYSize=-1, double dfDstXOff=-1, double dfDstYOff=-1, double dfDstXSize=-1, double dfDstYSize=-1, double dfScaleOff=0.0, double dfScaleRatio=1.0, double dfNoDataValue=VRT_NODATA_UNSET, int nColorTableComponent=0)
 
CPLErr AddMaskBandSource (GDALRasterBand *poSrcBand, double dfSrcXOff=-1, double dfSrcYOff=-1, double dfSrcXSize=-1, double dfSrcYSize=-1, double dfDstXOff=-1, double dfDstYOff=-1, double dfDstXSize=-1, double dfDstYSize=-1)
 
CPLErr AddFuncSource (VRTImageReadFunc pfnReadFunc, void *hCBData, double dfNoDataValue=VRT_NODATA_UNSET)
 
void ConfigureSource (VRTSimpleSource *poSimpleSource, GDALRasterBand *poSrcBand, int bAddAsMaskBand, double dfSrcXOff, double dfSrcYOff, double dfSrcXSize, double dfSrcYSize, double dfDstXOff, double dfDstYOff, double dfDstXSize, double dfDstYSize)
 
virtual CPLErr IReadBlock (int, int, void *) override
 
virtual void GetFileList (char ***ppapszFileList, int *pnSize, int *pnMaxSize, CPLHashSet *hSetFiles) override
 
virtual int CloseDependentDatasets () override
 
virtual int IsSourcedRasterBand () override
 
virtual CPLErr FlushCache () override
 
- Public Member Functions inherited from VRTRasterBand
virtual CPLErr XMLInit (CPLXMLNode *, const char *, void *)
 
virtual CPLXMLNode * SerializeToXML (const char *pszVRTPath)
 
virtual CPLErr SetNoDataValue (double) override
 
virtual double GetNoDataValue (int *pbSuccess=nullptr) override
 
virtual CPLErr DeleteNoDataValue () override
 
virtual CPLErr SetColorTable (GDALColorTable *) override
 
virtual GDALColorTable * GetColorTable () override
 
virtual GDALRasterAttributeTable * GetDefaultRAT () override
 
virtual CPLErr SetDefaultRAT (const GDALRasterAttributeTable *poRAT) override
 
virtual CPLErr SetColorInterpretation (GDALColorInterp) override
 
virtual GDALColorInterp GetColorInterpretation () override
 
virtual const char * GetUnitType () override
 
CPLErr SetUnitType (const char *) override
 
virtual char ** GetCategoryNames () override
 
virtual CPLErr SetCategoryNames (char **) override
 
virtual CPLErr SetMetadata (char **papszMD, const char *pszDomain="") override
 
virtual CPLErr SetMetadataItem (const char *pszName, const char *pszValue, const char *pszDomain="") override
 
virtual double GetOffset (int *pbSuccess=nullptr) override
 
CPLErr SetOffset (double) override
 
virtual double GetScale (int *pbSuccess=nullptr) override
 
CPLErr SetScale (double) override
 
virtual int GetOverviewCount () override
 
virtual GDALRasterBand * GetOverview (int) override
 
virtual CPLErr GetHistogram (double dfMin, double dfMax, int nBuckets, GUIntBig *panHistogram, int bIncludeOutOfRange, int bApproxOK, GDALProgressFunc, void *pProgressData) override
 
virtual CPLErr GetDefaultHistogram (double *pdfMin, double *pdfMax, int *pnBuckets, GUIntBig **ppanHistogram, int bForce, GDALProgressFunc, void *pProgressData) override
 
virtual CPLErr SetDefaultHistogram (double dfMin, double dfMax, int nBuckets, GUIntBig *panHistogram) override
 
CPLErr CopyCommonInfoFrom (GDALRasterBand *)
 
virtual void GetFileList (char ***ppapszFileList, int *pnSize, int *pnMaxSize, CPLHashSet *hSetFiles)
 
virtual void SetDescription (const char *) override
 
virtual GDALRasterBand * GetMaskBand () override
 
virtual int GetMaskFlags () override
 
virtual CPLErr CreateMaskBand (int nFlagsIn) override
 
void SetMaskBand (VRTRasterBand *poMaskBand)
 
void SetIsMaskBand ()
 
CPLErr UnsetNoDataValue ()
 
virtual int CloseDependentDatasets ()
 
virtual int IsSourcedRasterBand ()
 
virtual int IsPansharpenRasterBand ()
 

Static Public Member Functions

static CPLErr AddPixelFunction (const char *pszFuncName, GDALDerivedPixelFunc pfnPixelFunc)
 
static GDALDerivedPixelFunc GetPixelFunction (const char *pszFuncName)
 
static void Cleanup ()
 

Public Attributes

char * pszFuncName
 
GDALDataType eSourceTransferType
 
- Public Attributes inherited from VRTSourcedRasterBand
int nSources
 
VRTSource ** papoSources
 
int bSkipBufferInitialization
 

Additional Inherited Members

- Protected Member Functions inherited from VRTRasterBand
void Initialize (int nXSize, int nYSize)
 
- Protected Attributes inherited from VRTRasterBand
int m_bIsMaskBand
 
int m_bNoDataValueSet
 
int m_bHideNoDataValue
 
double m_dfNoDataValue
 
std::unique_ptr< GDALColorTable > m_poColorTable
 
GDALColorInterp m_eColorInterp
 
char * m_pszUnitType
 
char ** m_papszCategoryNames
 
double m_dfOffset
 
double m_dfScale
 
CPLXMLNode * m_psSavedHistograms
 
std::vector< VRTOverviewInfom_apoOverviews
 
VRTRasterBandm_poMaskBand
 
std::unique_ptr< GDALRasterAttributeTable > m_poRAT
 

Member Function Documentation

◆ ComputeRasterMinMax()

virtual CPLErr VRTDerivedRasterBand::ComputeRasterMinMax ( int  bApproxOK,
double *  adfMinMax 
)
overridevirtual

Reimplemented from VRTSourcedRasterBand.

◆ ComputeStatistics()

virtual CPLErr VRTDerivedRasterBand::ComputeStatistics ( int  bApproxOK,
double *  pdfMin,
double *  pdfMax,
double *  pdfMean,
double *  pdfStdDev,
GDALProgressFunc  pfnProgress,
void *  pProgressData 
)
overridevirtual

Reimplemented from VRTSourcedRasterBand.

◆ GetHistogram()

virtual CPLErr VRTDerivedRasterBand::GetHistogram ( double  dfMin,
double  dfMax,
int  nBuckets,
GUIntBig *  panHistogram,
int  bIncludeOutOfRange,
int  bApproxOK,
GDALProgressFunc  pfnProgress,
void *  pProgressData 
)
overridevirtual

Reimplemented from VRTSourcedRasterBand.

◆ GetMaximum()

virtual double VRTDerivedRasterBand::GetMaximum ( int *  pbSuccess = nullptr)
overridevirtual

Reimplemented from VRTSourcedRasterBand.

◆ GetMinimum()

virtual double VRTDerivedRasterBand::GetMinimum ( int *  pbSuccess = nullptr)
overridevirtual

Reimplemented from VRTSourcedRasterBand.

◆ IGetDataCoverageStatus()

virtual int VRTDerivedRasterBand::IGetDataCoverageStatus ( int  nXOff,
int  nYOff,
int  nXSize,
int  nYSize,
int  nMaskFlagStop,
double *  pdfDataPct 
)
overridevirtual

Reimplemented from VRTSourcedRasterBand.

◆ IRasterIO()

virtual CPLErr VRTDerivedRasterBand::IRasterIO ( GDALRWFlag  ,
int  ,
int  ,
int  ,
int  ,
void *  ,
int  ,
int  ,
GDALDataType  ,
GSpacing  nPixelSpace,
GSpacing  nLineSpace,
GDALRasterIOExtraArg *  psExtraArg 
)
overridevirtual

Reimplemented from VRTSourcedRasterBand.

◆ SerializeToXML()

virtual CPLXMLNode * VRTDerivedRasterBand::SerializeToXML ( const char *  pszVRTPath)
overridevirtual

Reimplemented from VRTSourcedRasterBand.

◆ XMLInit()

virtual CPLErr VRTDerivedRasterBand::XMLInit ( CPLXMLNode *  ,
const char *  ,
void *   
)
overridevirtual

Reimplemented from VRTSourcedRasterBand.


The documentation for this class was generated from the following file: