Triple float bitmap writer.  
 More...
#include <bitmap_access.h>
 | 
| void  | assign (int x) | 
|   | 
| void  | assign (int r, int g, int b) | 
|   | 
| void  | assign (int r, int g, int b, int a) | 
|   | 
| void  | assign (float x) | 
|   | 
| void  | assign (float r, float g, float b) | 
|   | 
| void  | 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) | 
|   | 
|   | TripleFloatBitmapWriter (AbstractBitmap &bitmap, int x=0, int y=0) | 
|   | 
| pixfloat3  | operator() () const | 
|   | 
| pixfloat3  | operator() (int x, int y) const | 
|   | 
| const pixfloat3  | operator[] (int i) const | 
|   | Retrieves a value at position shifted by i pixels in scanline order with respect to the current position.  More...
  | 
|   | 
|   | TripleFloatBitmapReader (const AbstractBitmap &bitmap, int x=0, int y=0) | 
|   | 
| 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) | 
|   | 
Triple float bitmap writer. 
Definition at line 695 of file bitmap_access.h.
 
◆ TripleFloatBitmapWriter()
  
  
      
        
          | Beatmup::TripleFloatBitmapWriter::TripleFloatBitmapWriter  | 
          ( | 
          AbstractBitmap &  | 
          bitmap,  | 
         
        
           | 
           | 
          int  | 
          x = 0,  | 
         
        
           | 
           | 
          int  | 
          y = 0  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 781 of file bitmap_access.h.
BitmapContentModifier(AbstractBitmap &bitmap)
 
TripleFloatBitmapReader(const AbstractBitmap &bitmap, int x=0, int y=0)
 
jobject jlong jint jint y
 
Beatmup::InternalBitmap * bitmap
 
 
 
 
◆ assign() [1/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::assign  | 
          ( | 
          int  | 
          x | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition at line 697 of file bitmap_access.h.
pixfloat * ptr
pointer to the current pixel
 
pixfloat int2pixfloat(int x)
Converts an integer value to 0..1 floating point pixel value.
 
static const struct Beatmup::@2 CHANNELS_3
 
 
 
 
◆ assign() [2/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::assign  | 
          ( | 
          int  | 
          r,  | 
         
        
           | 
           | 
          int  | 
          g,  | 
         
        
           | 
           | 
          int  | 
          b  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 701 of file bitmap_access.h.
jobject jlong jint jint jint jint g
 
jobject jlong jint jint jint jint jint b
 
jobject jlong jint jint jint r
 
 
 
 
◆ assign() [3/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::assign  | 
          ( | 
          int  | 
          r,  | 
         
        
           | 
           | 
          int  | 
          g,  | 
         
        
           | 
           | 
          int  | 
          b,  | 
         
        
           | 
           | 
          int  | 
          a  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ assign() [4/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::assign  | 
          ( | 
          float  | 
          x | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition at line 713 of file bitmap_access.h.
pixfloat clipPixfloat(pixfloat x)
Clips a floating point pixel value to 0..1 range.
 
 
 
 
◆ assign() [5/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::assign  | 
          ( | 
          float  | 
          r,  | 
         
        
           | 
           | 
          float  | 
          g,  | 
         
        
           | 
           | 
          float  | 
          b  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ assign() [6/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::assign  | 
          ( | 
          float  | 
          r,  | 
         
        
           | 
           | 
          float  | 
          g,  | 
         
        
           | 
           | 
          float  | 
          b,  | 
         
        
           | 
           | 
          float  | 
          a  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator<<() [1/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::operator<<  | 
          ( | 
          const pixint1 &  | 
          P | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator<<() [2/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::operator<<  | 
          ( | 
          const pixint3 &  | 
          P | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator<<() [3/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::operator<<  | 
          ( | 
          const pixint4 &  | 
          P | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator<<() [4/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::operator<<  | 
          ( | 
          const pixfloat1 &  | 
          P | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator<<() [5/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::operator<<  | 
          ( | 
          const pixfloat3 &  | 
          P | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator<<() [6/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::operator<<  | 
          ( | 
          const pixfloat4 &  | 
          P | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator=() [1/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::operator=  | 
          ( | 
          const pixint1 &  | 
          P | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator=() [2/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::operator=  | 
          ( | 
          const pixint3 &  | 
          P | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator=() [3/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::operator=  | 
          ( | 
          const pixint4 &  | 
          P | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator=() [4/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::operator=  | 
          ( | 
          const pixfloat1 &  | 
          P | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator=() [5/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::operator=  | 
          ( | 
          const pixfloat3 &  | 
          P | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator=() [6/6]
  
  
      
        
          | void Beatmup::TripleFloatBitmapWriter::operator=  | 
          ( | 
          const pixfloat4 &  | 
          P | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
The documentation for this class was generated from the following file: