Beatmup
|
Quad float bitmap reader. More...
#include <bitmap_access.h>
Public Types | |
typedef pixfloat4 | pixtype |
Public Types inherited from Beatmup::CustomBitmapScanner< pixfloat, 4 > | |
typedef pixfloat | pixvaltype |
Public Member Functions | |
pixfloat4 | operator() () const |
pixfloat4 | operator() (int x, int y) const |
pixfloat4 | at (int x, int y) const |
const pixfloat4 | operator[] (int i) const |
Retrieves a value at position shifted by i pixels in scanline order with respect to the current position. More... | |
QuadFloatBitmapReader (const AbstractBitmap &bitmap, int x=0, int y=0) | |
Public Member Functions inherited from Beatmup::CustomBitmapScanner< pixfloat, 4 > | |
bool | operator< (const CustomBitmapScanner &another) const |
pixfloat * | operator* () const |
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... | |
int | getWidth () const |
Returns bitmap width in pixels. More... | |
int | getHeight () const |
Returns bitmap height in pixels. More... | |
CustomBitmapScanner (const AbstractBitmap &bitmap, int x=0, int y=0) | |
Public Attributes | |
const float | MAX_VALUE = 1.0f |
Public Attributes inherited from Beatmup::CustomBitmapScanner< pixfloat, 4 > | |
const int | NUMBER_OF_CHANNELS |
Additional Inherited Members | |
Protected Member Functions inherited from Beatmup::CustomBitmapScanner< pixfloat, 4 > | |
pixfloat * | jump (int x, int y) const |
Retrieves pixel address at a given position;. More... | |
Protected Attributes inherited from Beatmup::CustomBitmapScanner< pixfloat, 4 > | |
pixfloat * | data |
bitmap data More... | |
pixfloat * | ptr |
pointer to the current pixel More... | |
int | width |
int | height |
bitmap sizes in pixels More... | |
Quad float bitmap reader.
Definition at line 300 of file bitmap_access.h.
Definition at line 302 of file bitmap_access.h.
|
inline |
Definition at line 329 of file bitmap_access.h.
|
inline |
Definition at line 306 of file bitmap_access.h.
|
inline |
Definition at line 310 of file bitmap_access.h.
|
inline |
Definition at line 315 of file bitmap_access.h.
|
inline |
Retrieves a value at position shifted by i pixels in scanline order with respect to the current position.
Definition at line 323 of file bitmap_access.h.
const float Beatmup::QuadFloatBitmapReader::MAX_VALUE = 1.0f |
Definition at line 304 of file bitmap_access.h.