Public Types | Public Member Functions | Public Attributes
puma2::RGBa8 Struct Reference

#include <ColorImageRGBa8.h>

List of all members.

Public Types

typedef byte B4 [4]

Public Member Functions

void assign (int v, int n)
RGBa8operator= (const RGBa8 o)
void operator= (int v)
byteoperator[] (int i)
byte operator[] (int i) const

Public Attributes

union {
   struct {
      unsigned int   a:8
      unsigned int   b:8
      unsigned int   g:8
      unsigned int   r:8
   } 
   unsigned int   u
   byte   w [4]
}; 

Detailed Description

Definition at line 12 of file ColorImageRGBa8.h.


Member Typedef Documentation

typedef byte puma2::RGBa8::B4[4]

Definition at line 28 of file ColorImageRGBa8.h.


Member Function Documentation

void puma2::RGBa8::assign ( int  v,
int  n 
) [inline]

Definition at line 27 of file ColorImageRGBa8.h.

RGBa8& puma2::RGBa8::operator= ( const RGBa8  o) [inline]

Definition at line 23 of file ColorImageRGBa8.h.

void puma2::RGBa8::operator= ( int  v) [inline]

Definition at line 24 of file ColorImageRGBa8.h.

byte& puma2::RGBa8::operator[] ( int  i) [inline]

Definition at line 25 of file ColorImageRGBa8.h.

byte puma2::RGBa8::operator[] ( int  i) const [inline]

Definition at line 26 of file ColorImageRGBa8.h.


Member Data Documentation

union { ... }
unsigned int puma2::RGBa8::a

Definition at line 18 of file ColorImageRGBa8.h.

unsigned int puma2::RGBa8::b

Definition at line 17 of file ColorImageRGBa8.h.

unsigned int puma2::RGBa8::g

Definition at line 16 of file ColorImageRGBa8.h.

unsigned int puma2::RGBa8::r

Definition at line 15 of file ColorImageRGBa8.h.

unsigned int puma2::RGBa8::u

Definition at line 20 of file ColorImageRGBa8.h.

Definition at line 21 of file ColorImageRGBa8.h.


The documentation for this struct was generated from the following file:


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:44