Astra SDK
v2.1.3
|
Bitmap representing a 2d mask 更多...
#include <Body.hpp>
Public 成员函数 | |
BitmapMask () | |
Default constructs an empty zero-sized BitmapMask | |
int32_t | width () const |
Gets the width of the mask | |
int32_t | height () const |
Gets the height of the mask | |
int32_t | bpp () const |
Gets the bytes per pixel | |
int32_t | length () const |
Gets the length of the mask in pixels | |
int32_t | byte_length () const |
Gets the length of the mask in bytes | |
const uint8_t * | data () const |
Gets an immutable raw pointer to mask data | |
友元 | |
class | FloorInfo |
class | BodyFrame |
Bitmap representing a 2d mask
Encapsulates a 2-dimensional bitmask. A non-zero pixel value is considered part of the mask.