|
Beatmup
|
A generic to access mask bitmap data. More...
#include <mask_bitmap_access.h>
Public Types | |
| typedef unsigned char | pixvaltype |
| typedef pixint1 | pixtype |
Public Member Functions | |
| bool | operator< (const MaskScanner &another) const |
| pixtype * | operator* () const |
| int | getWidth () const |
| Returns bitmap width in pixels. More... | |
| int | getHeight () const |
| Returns bitmap height in pixels. More... | |
Public Attributes | |
| const int | NUMBER_OF_CHANNELS = 1 |
| const int | NUMBER_OF_BITS = num_bits |
| const int | MAX_VALUE = 255 |
| const int | MAX_UNNORM_VALUE = (1 << num_bits) - 1 |
Protected Member Functions | |
| MaskScanner (const AbstractBitmap &bitmap) | |
Protected Attributes | |
| unsigned char * | data |
| all bitmap data More... | |
| unsigned char * | ptr |
| pointer to current pixel More... | |
| unsigned char | bit |
| current position bit More... | |
| int | width |
| int | height |
| bitmap size in pixels More... | |
A generic to access mask bitmap data.
Definition at line 28 of file mask_bitmap_access.h.
| typedef unsigned char Beatmup::MaskScanner< num_bits >::pixvaltype |
Definition at line 47 of file mask_bitmap_access.h.
| typedef pixint1 Beatmup::MaskScanner< num_bits >::pixtype |
Definition at line 48 of file mask_bitmap_access.h.
|
inlineprotected |
Definition at line 36 of file mask_bitmap_access.h.
|
inline |
Definition at line 56 of file mask_bitmap_access.h.
|
inline |
Definition at line 60 of file mask_bitmap_access.h.
|
inline |
Returns bitmap width in pixels.
Definition at line 67 of file mask_bitmap_access.h.
|
inline |
Returns bitmap height in pixels.
Definition at line 74 of file mask_bitmap_access.h.
|
protected |
all bitmap data
Definition at line 31 of file mask_bitmap_access.h.
|
protected |
pointer to current pixel
Definition at line 32 of file mask_bitmap_access.h.
|
protected |
current position bit
Definition at line 33 of file mask_bitmap_access.h.
|
protected |
Definition at line 34 of file mask_bitmap_access.h.
|
protected |
bitmap size in pixels
Definition at line 34 of file mask_bitmap_access.h.
| const int Beatmup::MaskScanner< num_bits >::NUMBER_OF_CHANNELS = 1 |
Definition at line 51 of file mask_bitmap_access.h.
| const int Beatmup::MaskScanner< num_bits >::NUMBER_OF_BITS = num_bits |
Definition at line 52 of file mask_bitmap_access.h.
| const int Beatmup::MaskScanner< num_bits >::MAX_VALUE = 255 |
Definition at line 53 of file mask_bitmap_access.h.
| const int Beatmup::MaskScanner< num_bits >::MAX_UNNORM_VALUE = (1 << num_bits) - 1 |
Definition at line 54 of file mask_bitmap_access.h.