RasterAttributesFactory#
- class ansys.stk.core.graphics.RasterAttributesFactory#
The attributes describing a raster dataset. raster attributes define the memory layout of a raster, and includes properties defining the order of each raster band that the raster contains, as specified by the raster formatβ¦
Overview#
Initialize a new instance with the width and height of the raster in pixels, and the given raster format. |
|
Initialize a new instance with the width and height of the raster in pixels, and the given raster format and raster type. |
|
Initialize a new instance with the width and height of the raster in pixels, and the given raster format, raster type, and raster orientation. |
|
Initialize a new instance with the width and height of the raster in pixels, and the given raster format, raster type, raster orientation, and row alignment. |
|
Initialize a new instance with the width and height of the raster in pixels, and the given raster format, raster type, raster orientation, row alignment, and pixel aspect ratio. |
|
Initialize a new instance with the attributes of the specified raster. |
Import detail#
from ansys.stk.core.graphics import RasterAttributesFactory
Method detail#
- RasterAttributesFactory.initialize_with_format(self, width: int, height: int, raster_format: RasterFormat) RasterAttributes #
Initialize a new instance with the width and height of the raster in pixels, and the given raster format.
- RasterAttributesFactory.initialize_with_format_and_type(self, width: int, height: int, raster_format: RasterFormat, raster_type: RasterType) RasterAttributes #
Initialize a new instance with the width and height of the raster in pixels, and the given raster format and raster type.
- RasterAttributesFactory.initialize_with_format_type_and_orientation(self, width: int, height: int, raster_format: RasterFormat, raster_type: RasterType, raster_orientation: RasterOrientation) RasterAttributes #
Initialize a new instance with the width and height of the raster in pixels, and the given raster format, raster type, and raster orientation.
- RasterAttributesFactory.initialize_with_format_type_orientation_and_alignment(self, width: int, height: int, raster_format: RasterFormat, raster_type: RasterType, raster_orientation: RasterOrientation, row_alignment: int) RasterAttributes #
Initialize a new instance with the width and height of the raster in pixels, and the given raster format, raster type, raster orientation, and row alignment.
- RasterAttributesFactory.initialize_with_format_type_orientation_alignment_and_ratio(self, width: int, height: int, raster_format: RasterFormat, raster_type: RasterType, raster_orientation: RasterOrientation, row_alignment: int, pixel_aspect_ratio: float) RasterAttributes #
Initialize a new instance with the width and height of the raster in pixels, and the given raster format, raster type, raster orientation, row alignment, and pixel aspect ratio.
- RasterAttributesFactory.initialize_with_raster(self, raster: IRaster) RasterAttributes #
Initialize a new instance with the attributes of the specified raster.
- Parameters:
raster :
IRaster
- Returns:
RasterAttributes