Welcome to Python-flavored Magnum! Please note that, while already being
rather stable, this functionality is still considered experimental and
some APIs might get changed without preserving full backwards compatibility.
class
MutableCompressedImageView3DThree-dimensional mutable compressed image view
Special methods
- def __init__(self, arg0: CompressedPixelFormat, arg1: Vector3i, /) -> None
- Construct an empty view
- def __init__(self, arg0: CompressedPixelFormat, arg1: Vector3i, arg2: corrade.containers.MutableArrayView, /) -> None
- Constructor
- def __init__(self, arg0: CompressedImage3D, /) -> None
- Construct a view on an image
- def __init__(self, arg0: MutableCompressedImageView3D, /) -> None
- Construct from any type convertible to an image view
Properties
- data: corrade.containers.MutableArrayView get set
- Raw image data
- format: CompressedPixelFormat get
- Format of compressedpixel data
- owner: object get
- Memory owner
- size: Vector3i get
- Image size
Method documentation
def magnum. MutableCompressedImageView3D. __init__(self,
arg0: MutableCompressedImageView3D, /) -> None
Construct from any type convertible to an image view
Exceptions | |
---|---|
RuntimeError | If trade.ImageData3D.is_compressed is
False |
This function is used to implement implicit conversion from trade.ImageData3D in the trade module.