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#

border_color

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

border_translucency

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

border_width

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

color

Get or set the color of the projected raster.

directions

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

far_plane_color

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

far_plane_translucency

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

frustum_color

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

frustum_translucency

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

projection

Get or set the projection that projects the raster.

raster

Get or set the raster that is projected.

shadow_color

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

shadow_translucency

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

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.

show_frustum

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

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…

supported

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

transparent_color

Get or set the color that will become transparent.

use_transparent_color

Get or set whether transparent color should be used.

Import detail#

from ansys.stk.core.graphics import ProjectedRasterOverlay

Property detail#

property ProjectedRasterOverlay.border_color: Color#

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

property ProjectedRasterOverlay.border_translucency: float#

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

property ProjectedRasterOverlay.border_width: float#

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

property ProjectedRasterOverlay.color: Color#

Get or set the color of the projected raster.

property ProjectedRasterOverlay.directions: list#

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

property ProjectedRasterOverlay.far_plane_color: Color#

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

property ProjectedRasterOverlay.far_plane_translucency: float#

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

property ProjectedRasterOverlay.frustum_color: Color#

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

property ProjectedRasterOverlay.frustum_translucency: float#

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

property ProjectedRasterOverlay.projection: IProjection#

Get or set the projection that projects the raster.

property ProjectedRasterOverlay.raster: IRaster#

Get or set the raster that is projected.

property ProjectedRasterOverlay.shadow_color: Color#

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

property ProjectedRasterOverlay.shadow_translucency: float#

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

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.show_frustum: bool#

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

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.supported: bool#

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

property ProjectedRasterOverlay.transparent_color: Color#

Get or set the color that will become transparent.

property ProjectedRasterOverlay.use_transparent_color: bool#

Get or set whether transparent color should be used.