Astra SDK  v2.1.3
Public 成员函数 | 友元 | 所有成员列表

Bitmap representing a 2d mask 更多...

#include <Body.hpp>

类 astra::BitmapMask 继承关系图:
_astra_bitmapmask

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.

示例
SimpleBodyViewer-SFML\main.cpp.

该类的文档由以下文件生成: