everything about a raster except its values
More...
#include <MRMesh/MRRaster.h>
|
| size_t | dataSize () const |
| | returns the size of all values in bytes, or the largest size_t value if the size does not fit in size_t, which no data can have
|
| bool | operator== (const RasterInfo &) const =default |
everything about a raster except its values
◆ dataSize()
| size_t MR::RasterInfo::dataSize |
( |
| ) |
const |
|
nodiscard |
returns the size of all values in bytes, or the largest size_t value if the size does not fit in size_t, which no data can have
◆ operator==()
| bool MR::RasterInfo::operator== |
( |
const RasterInfo & | | ) |
const |
|
default |
◆ channels
| int MR::RasterInfo::channels = 1 |
number of values in each pixel, e.g. 1 for gray values, 3 for RGB colors, 4 for RGBA colors, or any number of bands; convertRasterToImage takes three or more channels as RGB(A) colors, so three or four gray bands look like colors there
◆ dims
| Vector3i MR::RasterInfo::dims |
number of pixels along each axis: x is the width, y is the height, z is the number of layers
◆ type
The documentation for this struct was generated from the following file: