colorA_t Class Reference

#include <color.h>

Inheritance diagram for colorA_t:
Inheritance graph
[legend]
Collaboration diagram for colorA_t:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 colorA_t ()
 colorA_t (const color_t &c)
 colorA_t (const color_t &c, CFLOAT a)
 colorA_t (CFLOAT r, CFLOAT g, CFLOAT b, CFLOAT a=0)
 colorA_t (CFLOAT g)
 colorA_t (CFLOAT af[4])
 ~colorA_t ()
void set (CFLOAT r, CFLOAT g, CFLOAT b, CFLOAT a=0)
colorA_toperator+= (const colorA_t &c)
colorA_toperator-= (const colorA_t &c)
colorA_toperator*= (const colorA_t &c)
colorA_toperator*= (CFLOAT f)
void alphaPremultiply ()
CFLOAT getA () const
void setAlpha (CFLOAT a)

Public Attributes

CFLOAT A

Friends

colorA_t operator* (const colorA_t &a, const colorA_t &b)
colorA_t operator* (const CFLOAT f, const colorA_t &b)
colorA_t operator* (const colorA_t &b, const CFLOAT f)
colorA_t operator/ (const colorA_t &b, const CFLOAT f)
colorA_t operator+ (const colorA_t &a, const colorA_t &b)
colorA_t operator- (const colorA_t &a, const colorA_t &b)
YAFRAYCORE_EXPORT void operator>> (unsigned char *data, colorA_t &c)
YAFRAYCORE_EXPORT void operator<< (unsigned char *data, const colorA_t &c)
YAFRAYCORE_EXPORT void operator>> (float *data, colorA_t &c)
YAFRAYCORE_EXPORT void operator<< (float *data, const colorA_t &c)
YAFRAYCORE_EXPORT std::ostream & operator<< (std::ostream &out, const colorA_t c)
YAFRAYCORE_EXPORT colorA_t mix (const colorA_t &a, const colorA_t &b, CFLOAT point)

Detailed Description

Definition at line 117 of file color.h.


Constructor & Destructor Documentation

colorA_t::colorA_t (  )  [inline]

Definition at line 132 of file color.h.

colorA_t::colorA_t ( const color_t c  )  [inline]

Definition at line 133 of file color.h.

colorA_t::colorA_t ( const color_t c,
CFLOAT  a 
) [inline]

Definition at line 134 of file color.h.

colorA_t::colorA_t ( CFLOAT  r,
CFLOAT  g,
CFLOAT  b,
CFLOAT  a = 0 
) [inline]

Definition at line 135 of file color.h.

colorA_t::colorA_t ( CFLOAT  g  )  [inline]

Definition at line 136 of file color.h.

colorA_t::colorA_t ( CFLOAT  af[4]  )  [inline]

Definition at line 137 of file color.h.

colorA_t::~colorA_t (  )  [inline]

Definition at line 138 of file color.h.


Member Function Documentation

void colorA_t::alphaPremultiply (  )  [inline]

Definition at line 146 of file color.h.

CFLOAT colorA_t::getA (  )  const [inline]

Definition at line 147 of file color.h.

colorA_t & colorA_t::operator*= ( CFLOAT  f  )  [inline]

Reimplemented from color_t.

Definition at line 301 of file color.h.

colorA_t & colorA_t::operator*= ( const colorA_t c  )  [inline]

Reimplemented from color_t.

Definition at line 300 of file color.h.

colorA_t & colorA_t::operator+= ( const colorA_t c  )  [inline]

Reimplemented from color_t.

Definition at line 299 of file color.h.

colorA_t & colorA_t::operator-= ( const colorA_t c  )  [inline]

Reimplemented from color_t.

Definition at line 302 of file color.h.

void colorA_t::set ( CFLOAT  r,
CFLOAT  g,
CFLOAT  b,
CFLOAT  a = 0 
) [inline]

Definition at line 139 of file color.h.

void colorA_t::setAlpha ( CFLOAT  a  )  [inline]

Definition at line 148 of file color.h.


Friends And Related Function Documentation

YAFRAYCORE_EXPORT colorA_t mix ( const colorA_t a,
const colorA_t b,
CFLOAT  point 
) [friend]

Reimplemented from color_t.

colorA_t operator* ( const colorA_t b,
const CFLOAT  f 
) [friend]

Reimplemented from color_t.

colorA_t operator* ( const CFLOAT  f,
const colorA_t b 
) [friend]

Reimplemented from color_t.

colorA_t operator* ( const colorA_t a,
const colorA_t b 
) [friend]

Reimplemented from color_t.

colorA_t operator+ ( const colorA_t a,
const colorA_t b 
) [friend]

Reimplemented from color_t.

colorA_t operator- ( const colorA_t a,
const colorA_t b 
) [friend]

Reimplemented from color_t.

colorA_t operator/ ( const colorA_t b,
const CFLOAT  f 
) [friend]

Reimplemented from color_t.

YAFRAYCORE_EXPORT std::ostream& operator<< ( std::ostream &  out,
const colorA_t  c 
) [friend]

Reimplemented from color_t.

YAFRAYCORE_EXPORT void operator<< ( float *  data,
const colorA_t c 
) [friend]

Reimplemented from color_t.

YAFRAYCORE_EXPORT void operator<< ( unsigned char *  data,
const colorA_t c 
) [friend]

Reimplemented from color_t.

YAFRAYCORE_EXPORT void operator>> ( float *  data,
colorA_t c 
) [friend]

Reimplemented from color_t.

YAFRAYCORE_EXPORT void operator>> ( unsigned char *  data,
colorA_t c 
) [friend]

Reimplemented from color_t.


Member Data Documentation

CFLOAT colorA_t::A

Definition at line 151 of file color.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 18 Dec 2009 for YafaRay by  doxygen 1.6.1