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

UInt3 Class Reference

#include <ApiGraphics/ColorTypes.h>

List of all members.

Public Member Functions

 UInt3 ()
 UInt3 (GLuint x, GLuint y, GLuint z)
 UInt3 (const GLuint *c)
 UInt3 (QRgb c)
 operator const GLuint * () const
 operator GLuint * ()
QRgb toQRgb () const
QString toQString () const
UInt3 operator+= (const UInt3 &a)
UInt3 operator-= (const UInt3 &a)
UInt3 operator *= (const UInt3 &a)
UInt3 operator/= (const UInt3 &a)
UInt3 operator *= (float s)
UInt3 operator/= (float s)
void reset (float r=0, float g=0, float b=0, float a=0)
void setGL () const
UByte3 toUByte3 () const

Static Public Attributes

static const int SIZE = 3
static const GLint TEX_FORMAT = 3
static const GLenum DATA_FORMAT = GL_RGB
static const GLenum DATA_TYPE = GL_UNSIGNED_INT

Friends

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


Constructor & Destructor Documentation

UInt3  )  [inline]
 

UInt3 GLuint  x,
GLuint  y,
GLuint  z
 

UInt3 const GLuint *  c  ) 
 

UInt3 QRgb  c  ) 
 


Member Function Documentation

UInt3 operator *= float  s  ) 
 

UInt3 operator *= const UInt3 a  ) 
 

operator const GLuint *  )  const [inline]
 

operator GLuint *  )  [inline]
 

UInt3 operator+= const UInt3 a  ) 
 

UInt3 operator-= const UInt3 a  ) 
 

UInt3 operator/= float  s  ) 
 

UInt3 operator/= const UInt3 a  ) 
 

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

void setGL  )  const
 

QRgb toQRgb  )  const
 

QString toQString  )  const [inline]
 

UByte3 toUByte3  )  const
 


Friends And Related Function Documentation

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

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

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

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

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

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

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

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


Member Data Documentation

GLuint b
 

GLuint c[3]
 

const GLenum DATA_FORMAT = GL_RGB [static]
 

const GLenum DATA_TYPE = GL_UNSIGNED_INT [static]
 

GLuint g
 

GLuint r
 

const int SIZE = 3 [static]
 

const GLint TEX_FORMAT = 3 [static]
 

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