|
virtual wxString | GetDataSizeAsHtml (int iPrecision=2) |
| Get Size of The Jpeg raster.
|
|
virtual bool | Open (const wxString &filename, bool bReadWrite=TRUE) |
| Generic open code.
|
|
void | UseExisting (const wxString &filename, GDALDatasetH hdst) |
|
virtual tmRealRect | GetMinimalBoundingRectangle () |
|
virtual TM_GIS_SPATIAL_TYPES | GetSpatialType () |
|
virtual bool | SetSpatialFilter (tmRealRect filter, int type) |
| Define the area of interest.
|
|
virtual bool | IsImageInsideVisibleArea () |
| Should we load image data.
|
|
virtual CPLErr | GetImageData (unsigned char **imgbuf, unsigned int *imglen, unsigned char **maskbuf, unsigned int *masklen, wxSize imgSize) |
| Extract image data.
|
|
bool | GetImageTranslucency (wxSize imgSize, int translucencypercent, unsigned char **alphachn) |
| Return the buffer corresponding to an alpha channel with specified translucency.
|
|
virtual tmRealRect | GetImageClipedCoordinates () |
|
virtual int | GetBandCount () |
| Getting number of band.
|
|
virtual int | GetPyramidsInfo (wxArrayString *pyramids=nullptr) |
| Get info about pyramids.
|
|
virtual wxString | GetMetaDataAsHtml () |
| Get Metadata information well formated.
|
|
wxString | GetBandMetaData () |
| Getting number of band formatted as html.
|
|
wxString | GetUnitMetaData () |
| Get Informations about Unit formatted for html.
|
|
wxString | GetPyramidsMetadata () |
| Getting pyramids info as html string.
|
|
wxString | GetImagePxSizeMetadata () |
| Get Pixels width and height.
|
|
virtual bool | CreateSpatialIndex (GDALProgressFunc progress, void *pfProgressData) |
|
virtual int | IsRaster () |
|
| tmGISData () |
| Constructor.
|
|
| ~tmGISData () |
| Destructor.
|
|
int | GetDataType () |
|
void | SetCoordConvert (tmCoordConvert *coordconvert) |
|
tmCoordConvert * | GetCoordConvert () |
|
virtual bool | Close () |
|
wxString | GetShortFileName () |
|
wxString | GetFullFileName () |
|
virtual wxArrayLong * | SearchData (const tmRealRect &rect, int type) |
|
virtual wxArrayLong * | GetAllData () |
|
virtual bool | GetSnapCoord (const wxRealPoint &clickpt, double buffersize, wxArrayRealPoints &snapppts, int snaptype) |
|
virtual bool | IsPointSnapped (const wxRealPoint &point, int snaptype, long excludeoid=wxNOT_FOUND) |
|
|
static void | InitGISDriversRaster () |
|
static wxString | GetAllRasterGISFormatsWildcards () |
|
static tmGISDataRaster * | CreateGISRasterBasedOnType (const int &gis_format_index) |
|
static tmGISDataRaster * | CreateGISRasterBasedOnExt (const wxString &extension) |
|
static void | InitGISDrivers (bool bRaster=TRUE, bool bVector=TRUE) |
| Init the GDAL / OGR driver.
|
|
static wxString | GetAllSupportedGISFormatsWildcards () |
| Return all supported formats.
|
|
static wxArrayString | GetAllSupportedGISFormatsExtensions () |
| Returning all extensions in an array string.
|
|
static tmGISData * | CreateGISBasedOnType (const int &gis_format_index) |
| Create an object of the specified format.
|
|
static tmGISData * | CreateGISBasedOnExt (const wxString &extension) |
|
static tmGISData * | LoadLayer (tmLayerProperties *layerprop) |
| Call this function for loading a layer.
|
|
static void | EnableLogging (bool enable=true) |
|
static bool | IsLoggingEnabled () |
|
wxSize | GetImagePxDim () |
| Get Image dimensions in Pixels.
|
|
bool | GetImagePxSize (double &pxsizeX, double &pxsizeY, const tmRealRect &imgrealcoord=tmRealRect(0, 0, 0, 0)) |
| Return width and height of pixels in real units.
|
|
wxRect | ConvertClipedImage (const tmRealRect &origin, const tmRealRect &clipped) |
| Convert clipped Real size to image pixels size.
|
|
void * | ReadImageData (GDALRasterBand *gdalBand, const wxRect &imgfilter, const wxSize &imgSize, int &buffsize) |
| Reading image data based on GDAL type.
|
|
double | ReadGDALValueToDouble (void *data, GDALDataType type, int index) |
| Getting double value from data returned by GDAL.
|
|
bool | GetStatMinMaxNoDataValue (double &dmin, double &dmax, double &dnodata) |
| Returning min - max - nodata stat.
|
|
wxString | GetMinimalBoundingRectangleAsHtml (int iprecision=2) |
| Get Minimal bounding rectangle as html.
|
|
GDALDataset * | m_DataSet |
|
GDALRasterBand * | m_RasterBand |
|
wxString | m_FileType |
|
wxRect | m_PxImgFilter |
|
tmRealRect | m_RasterExtent |
|
tmRealRect | m_ClippedCoord |
|
wxArrayString | m_RotationName |
|
wxArrayShort | m_RotationStatus |
|
int | m_ClassType |
|