PyANGKernel.GKGeoImage

class GKGeoImage

Inheritance diagram of PyANGKernel.GKGeoImage

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

A GeoImage is basically an image that can contain geographical information.

__init__()
getImage(_width, _height)
Parameters:
  • _width – int

  • _height – int

Return type:

QImage

It creates and returns a QImage object from the whole GeoImage with the desired size.

getImage(startX, startY, originWidth, originHeight, destinationWidth, destinationHeight)
Parameters:
  • startX – int

  • startY – int

  • originWidth – int

  • originHeight – int

  • destinationWidth – int

  • destinationHeight – int

Return type:

QImage

It creates and returns a QImage object from the desired region of the GeoImage.

getImageHeight()
Return type:

int

getImageWidth()
Return type:

int

getPath()
Return type:

str

getXTransform()
Return type:

float

It gets the transformation that is being applied on the X axis of the image (modifies the width of the image).

getYTransform()
Return type:

float

It gets the transformation that is being applied on the Y axis of the image (modifies the height of the image).

setImageHeight(aHeight)
Parameters:

aHeight – int

setImageWidth(aWidth)
Parameters:

aWidth – int

setPath(aPath)
Parameters:

aPath – str

setXTransform(xTransform)
Parameters:

xTransform – float

It sets the transformation to be applied on the X axis of the image (modifies the width of the image).

setYTransform(yTransform)
Parameters:

yTransform – float

It sets the transformation to be applied on the Y axis of the image (modifies the height of the image).