| 
    Beatmup
    
   | 
 
A generic to write mask bitmap data lookup tables for masks values. More...
#include <mask_bitmap_access.h>
  
Public Member Functions | |
| void | putValue (unsigned char x) | 
| Puts a properly scaled (0..MAX_UNNORM_VALUE) value at the current position.  More... | |
| unsigned char | assign (int x) | 
| Puts an unscaled (0..255) value at the current position.  More... | |
| unsigned char | assign (int r, int g, int b) | 
| unsigned char | assign (int r, int g, int b, int a) | 
| unsigned char | assign (float x) | 
| unsigned char | assign (float r, float g, float b) | 
| unsigned char | assign (float r, float g, float b, float a) | 
| void | operator<< (const pixint1 &P) | 
| void | operator<< (const pixint3 &P) | 
| void | operator<< (const pixint4 &P) | 
| void | operator<< (const pixfloat1 &P) | 
| void | operator<< (const pixfloat3 &P) | 
| void | operator<< (const pixfloat4 &P) | 
| void | operator= (const pixint1 &P) | 
| void | operator= (const pixint3 &P) | 
| void | operator= (const pixint4 &P) | 
| void | operator= (const pixfloat1 &P) | 
| void | operator= (const pixfloat3 &P) | 
| void | operator= (const pixfloat4 &P) | 
| LookupMaskWriter (AbstractBitmap &bitmap, int x=0, int y=0) | |
  Public Member Functions inherited from Beatmup::LookupMaskScanner< num_bits, lookup > | |
| unsigned char | getValue () const | 
| Returns 0..MAX_UNNORM_VALUE value at current position.  More... | |
| unsigned char | getValue (int x, int y) const | 
| Returns 0..MAX_UNNORM_VALUE value at (x,y) position.  More... | |
| unsigned char | getValue (int i) const | 
| Returns 0..MAX_UNNORM_VALUE value at position shifted by i pixels in scanline order with respect to the current position.  More... | |
| pixint1 | operator() () const | 
| Returns 0..255 value at current position.  More... | |
| pixint1 | operator() (int x, int y) const | 
| Returns 0..255 value at (x,y) position.  More... | |
| const pixint1 | operator[] (int i) const | 
| Returns 0..255 value at position shifted by i pixels in scanline order with respect to the current position.  More... | |
| void | operator++ (int) | 
| Move the current position ONE PIXEL forward.  More... | |
| void | operator+= (const int N) | 
| Move the current position N pixels forward.  More... | |
| void | goTo (int x, int y) | 
| Changes current position.  More... | |
| LookupMaskScanner (const AbstractBitmap &bitmap, int x=0, int y=0) | |
  Public Member Functions inherited from Beatmup::MaskScanner< num_bits > | |
| 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... | |
Additional Inherited Members | |
  Public Types inherited from Beatmup::MaskScanner< num_bits > | |
| typedef unsigned char | pixvaltype | 
| typedef pixint1 | pixtype | 
  Public Attributes inherited from Beatmup::MaskScanner< num_bits > | |
| 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 inherited from Beatmup::MaskScanner< num_bits > | |
| MaskScanner (const AbstractBitmap &bitmap) | |
  Protected Attributes inherited from Beatmup::LookupMaskScanner< num_bits, lookup > | |
| const int | pointsPerByte = 8 / num_bits | 
  Protected Attributes inherited from Beatmup::MaskScanner< num_bits > | |
| 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... | |
  Private Member Functions inherited from Beatmup::BitmapContentModifier | |
| BitmapContentModifier (AbstractBitmap &bitmap) | |
A generic to write mask bitmap data lookup tables for masks values.
Definition at line 182 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 271 of file mask_bitmap_access.h.
      
  | 
  inline | 
Puts a properly scaled (0..MAX_UNNORM_VALUE) value at the current position.
Definition at line 187 of file mask_bitmap_access.h.
      
  | 
  inline | 
Puts an unscaled (0..255) value at the current position.
Definition at line 195 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 201 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 205 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 209 of file mask_bitmap_access.h.
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 219 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 223 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 227 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 231 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 235 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 239 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 243 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 247 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 251 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 255 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 259 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 263 of file mask_bitmap_access.h.
      
  | 
  inline | 
Definition at line 267 of file mask_bitmap_access.h.