CustomImageGlobeOverlay#
- class ansys.stk.core.graphics.CustomImageGlobeOverlay#
Bases:
IGlobeImageOverlay
,IGlobeOverlay
A globe image overlay that allows for a user defined image to be specified.
Overview#
Clear the image data cache associated with this instance. This is equivalent to deleting and re-adding the overlay. |
|
Read a tile from the specified extent, scales it to and stores the result in image. |
|
Reload the image data associated with this instance. Preserves the current image data until new image data replaces it. |
|
Initiate shutdown when imagery is being removed from the globe. |
|
Initiate start-up when imagery is being added to the globe. |
Get whether the overlay contains translucent imagery. |
|
Get the maximum resolution of the inlay in meters per pixel. |
|
Get the map projection. Valid values are mercator and equidistant cylindrical. |
Import detail#
from ansys.stk.core.graphics import CustomImageGlobeOverlay
Property detail#
- property CustomImageGlobeOverlay.is_translucent: bool#
Get whether the overlay contains translucent imagery.
- property CustomImageGlobeOverlay.maximum_meters_per_pixel: float#
Get the maximum resolution of the inlay in meters per pixel.
- property CustomImageGlobeOverlay.projection: MapProjection#
Get the map projection. Valid values are mercator and equidistant cylindrical.
Method detail#
- CustomImageGlobeOverlay.clear_cache(self) None #
Clear the image data cache associated with this instance. This is equivalent to deleting and re-adding the overlay.
- Returns:
- CustomImageGlobeOverlay.read(self, extent: list, user_tile_data: Any, image: IPictureDisp) bool #
Read a tile from the specified extent, scales it to and stores the result in image.
- CustomImageGlobeOverlay.reload(self) None #
Reload the image data associated with this instance. Preserves the current image data until new image data replaces it.
- Returns: