23 #include "wxgis/datasource/dataset.h"
37 wxGISRasterDataset(
const CPLString &sPath =
"", wxGISEnumRasterDatasetType nType = enumRasterUnknown);
41 virtual wxString GetName(
void);
42 virtual void Close(
void);
43 virtual void Cache(
ITrackCancel*
const pTrackCancel = NULL){};
44 virtual bool Rename(
const wxString &sNewName,
ITrackCancel*
const pTrackCancel = NULL);
45 virtual bool Copy(
const CPLString &szDestPath,
ITrackCancel*
const pTrackCancel = NULL);
46 virtual bool Move(
const CPLString &szDestPath,
ITrackCancel*
const pTrackCancel = NULL);
47 virtual char **GetFileList();
49 virtual bool Open(
bool bUpdate =
false,
bool bShared =
true);
50 virtual OGREnvelope GetEnvelope(
void);
51 virtual GDALDataType GetDataType(
void);
52 virtual GDALDataset* GetRaster(
void){
return m_poDataset;};
53 virtual GDALDataset* GetMainRaster(
void){
return m_poMainDataset;};
54 virtual bool HasOverviews(
void){
return m_bHasOverviews;};
55 virtual void SetHasOverviews(
bool bVal){m_bHasOverviews = bVal;};
56 virtual bool HasStatistics(
void){
return m_bHasStats;};
57 virtual void SetHasStatistics(
bool bVal){m_bHasStats = bVal;};
58 virtual int GetWidth(
void){
return m_nXSize;};
59 virtual int GetHeight(
void){
return m_nYSize;};
60 virtual int GetBandCount(
void){
return m_nBandCount;};
61 virtual bool GetPixelData(
void *data,
int nXOff,
int nYOff,
int nXSize,
int nYSize,
int nBufXSize,
int nBufYSize, GDALDataType eDT,
int nBandCount,
int *panBandList);
62 virtual bool HasNoData(
int nBand){
return !IsDoubleEquil(m_paNoData[nBand - 1], NOTNODATA);};
63 virtual double GetNoData(
int nBand){
return m_paNoData[nBand - 1];};
64 virtual bool WriteWorldFile(wxGISEnumWldExtType eType);
66 bool FixSAGARaster(
const CPLString &szDestPath,
const CPLString &szDestName);
68 OGREnvelope m_stExtent;
69 GDALDataset *m_poDataset;
70 GDALDataset *m_poMainDataset;
76 GDALDataType m_nDataType;
Definition: rasterdataset.h:32
A TrackCancel interface class.
Definition: core.h:144