Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

UInt4 Class Reference

#include <ApiGraphics/ColorTypes.h>

List of all members.

Public Member Functions

 UInt4 ()
 UInt4 (GLuint x, GLuint y, GLuint z, GLuint w)
 UInt4 (const GLuint *c)
 UInt4 (QRgb c)
 operator const GLuint * () const
 operator GLuint * ()
QRgb toQRgb () const
QString toQString () const
UInt4 operator+= (const UInt4 &a)
UInt4 operator-= (const UInt4 &a)
UInt4 operator *= (const UInt4 &a)
UInt4 operator/= (const UInt4 &a)
UInt4 operator *= (float s)
UInt4 operator/= (float s)
void reset (float r=0, float g=0, float b=0, float a=0)
void setAlpha (float a)
void setGL () const
UByte4 toUByte4 () const

Static Public Attributes

static const int SIZE = 4
static const GLint TEX_FORMAT = 4
static const GLenum DATA_FORMAT = GL_RGBA
static const GLenum DATA_TYPE = GL_UNSIGNED_INT

Friends

UInt4 operator+ (const UInt4 &a, const UInt4 &b)
UInt4 operator- (const UInt4 &a, const UInt4 &b)
UInt4 operator * (const UInt4 &a, const UInt4 &b)
UInt4 operator/ (const UInt4 &a, const UInt4 &b)
UInt4 operator * (float s, const UInt4 &a)
UInt4 operator * (const UInt4 &a, float s)
UInt4 operator/ (float s, const UInt4 &a)
UInt4 operator/ (const UInt4 &a, float s)


Constructor & Destructor Documentation

UInt4  )  [inline]
 

UInt4 GLuint  x,
GLuint  y,
GLuint  z,
GLuint  w
 

UInt4 const GLuint *  c  ) 
 

UInt4 QRgb  c  ) 
 


Member Function Documentation

UInt4 operator *= float  s  ) 
 

UInt4 operator *= const UInt4 a  ) 
 

operator const GLuint *  )  const [inline]
 

operator GLuint *  )  [inline]
 

UInt4 operator+= const UInt4 a  ) 
 

UInt4 operator-= const UInt4 a  ) 
 

UInt4 operator/= float  s  ) 
 

UInt4 operator/= const UInt4 a  ) 
 

void reset float  r = 0,
float  g = 0,
float  b = 0,
float  a = 0
 

void setAlpha float  a  ) 
 

void setGL  )  const
 

QRgb toQRgb  )  const
 

QString toQString  )  const [inline]
 

UByte4 toUByte4  )  const
 


Friends And Related Function Documentation

UInt4 operator * const UInt4 a,
float  s
[friend]
 

UInt4 operator * float  s,
const UInt4 a
[friend]
 

UInt4 operator * const UInt4 a,
const UInt4 b
[friend]
 

UInt4 operator+ const UInt4 a,
const UInt4 b
[friend]
 

UInt4 operator- const UInt4 a,
const UInt4 b
[friend]
 

UInt4 operator/ const UInt4 a,
float  s
[friend]
 

UInt4 operator/ float  s,
const UInt4 a
[friend]
 

UInt4 operator/ const UInt4 a,
const UInt4 b
[friend]
 


Member Data Documentation

GLuint a
 

GLuint b
 

GLuint c[4]
 

const GLenum DATA_FORMAT = GL_RGBA [static]
 

const GLenum DATA_TYPE = GL_UNSIGNED_INT [static]
 

GLuint g
 

GLuint r
 

const int SIZE = 4 [static]
 

const GLint TEX_FORMAT = 4 [static]
 

GLuint w
 

GLuint x
 

GLuint y
 

GLuint z
 


The documentation for this class was generated from the following files:
Generated on Thu Nov 13 22:15:46 2008 for Api Graphics by  doxygen 1.4.4