ProjectedRasterOverlay#

class ansys.stk.core.graphics.ProjectedRasterOverlay#

Bases: IGlobeImageOverlay, IGlobeOverlay

A globe image overlay which projects a raster onto the terrain or surface of the central body. You can also enable projection onto models by setting projected raster model projection to true for a Scene…

Overview#

raster

Get or set the raster that is projected.

projection

Get or set the projection that projects the raster.

show_shadows

Get or set whether to show shadows or not. When set to true, the raster will only be projected onto parts of the terrain visible from the projection’s position. When false, the raster will project onto any terrain inside the projection’s view frustum…

show_frustum

Get or set whether to show the frustum of the projection.

show_far_plane

Get or set whether to show the far plane of the projection. If this is set to true, you will see the projected raster even when it does not intersect terrain.

color

Get or set the color of the projected raster.

frustum_color

Get or set the color of the projection’s frustum.

far_plane_color

Get or set the color of the projection’s far plane.

shadow_color

Get or set the color of the projection’s shadow.

border_color

Get or set the color of the projection’s border.

border_width

Get or set the width of the projection’s border.

frustum_translucency

Get or set the translucency of the projection’s frustum.

far_plane_translucency

Get or set the translucency of the projection’s far plane.

shadow_translucency

Get or set the translucency of the projection’s shadow.

border_translucency

Get or set the translucency of the projection’s border.

use_transparent_color

Get or set whether transparent color should be used.

transparent_color

Get or set the color that will become transparent.

directions

Get the direction vectors in the central body’s fixed reference frame that define the projection’s frustum…

supported

Get whether or not the video card supports the projected raster overlay.

Import detail#

from ansys.stk.core.graphics import ProjectedRasterOverlay

Property detail#

property ProjectedRasterOverlay.raster: IRaster#

Get or set the raster that is projected.

property ProjectedRasterOverlay.projection: IProjection#

Get or set the projection that projects the raster.

property ProjectedRasterOverlay.show_shadows: bool#

Get or set whether to show shadows or not. When set to true, the raster will only be projected onto parts of the terrain visible from the projection’s position. When false, the raster will project onto any terrain inside the projection’s view frustum…

property ProjectedRasterOverlay.show_frustum: bool#

Get or set whether to show the frustum of the projection.

property ProjectedRasterOverlay.show_far_plane: bool#

Get or set whether to show the far plane of the projection. If this is set to true, you will see the projected raster even when it does not intersect terrain.

property ProjectedRasterOverlay.color: Color#

Get or set the color of the projected raster.

property ProjectedRasterOverlay.frustum_color: Color#

Get or set the color of the projection’s frustum.

property ProjectedRasterOverlay.far_plane_color: Color#

Get or set the color of the projection’s far plane.

property ProjectedRasterOverlay.shadow_color: Color#

Get or set the color of the projection’s shadow.

property ProjectedRasterOverlay.border_color: Color#

Get or set the color of the projection’s border.

property ProjectedRasterOverlay.border_width: float#

Get or set the width of the projection’s border.

property ProjectedRasterOverlay.frustum_translucency: float#

Get or set the translucency of the projection’s frustum.

property ProjectedRasterOverlay.far_plane_translucency: float#

Get or set the translucency of the projection’s far plane.

property ProjectedRasterOverlay.shadow_translucency: float#

Get or set the translucency of the projection’s shadow.

property ProjectedRasterOverlay.border_translucency: float#

Get or set the translucency of the projection’s border.

property ProjectedRasterOverlay.use_transparent_color: bool#

Get or set whether transparent color should be used.

property ProjectedRasterOverlay.transparent_color: Color#

Get or set the color that will become transparent.

property ProjectedRasterOverlay.directions: list#

Get the direction vectors in the central body’s fixed reference frame that define the projection’s frustum…

property ProjectedRasterOverlay.supported: bool#

Get whether or not the video card supports the projected raster overlay.