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

RayGina::CORE::RColor Class Reference

#include <RColor.hxx>

List of all members.

Public Member Functions

 RColor ()
void const setA (const RReal32 a)
RReal32 getAlpha () const
 returns the transparency of the color
void setAlpha (const RReal32 newAlpha)
 sets the transparency of the color
void setBlack (const RReal32 newAlpha=0.0)
 set a black color with a given alpha value
void setWhite (const RReal32 newAlpha=0.0)
 set a white color with a given alpha value
void blendAlphaBased (const RColor newColor)
void addWithoutAlpha (const RColor newColor)
void setRGB (RReal32 r, RReal32 g, RReal32 b)
void setRGBA (RReal32 r, RReal32 g, RReal32 b, RReal32 a)
RReal32 getRGBAr () const
RReal32 getRGBAg () const
RReal32 getRGBAb () const
RReal32 getRGBAa () const
void const setRGBAr (RReal32 r)
void const setRGBAg (RReal32 g)
void const setRGBAb (RReal32 b)
void const setRGBAa (RReal32 a)
void setRVec3 (const RVec3f &v)
RVec3f getRVec3 () const
void setRVec3A (const RVec3f &v, const RReal32 a)
template<typename VectorType3>
void setRbVec3 (const VectorType3 &v)
template<typename VectorType3>
void setRbVec3A (const VectorType3 &v, const RReal32 a)
void setRVec2f (const RVec2f &v)
void setRVec2fA (const RVec2f &v, const RReal32 a)
void setRVec2fBA (const RVec2f &v, const RReal32 b)
void setRVec2fBA (const RVec2f &v, const RReal32 b, const RReal32 a)
RVec2f getRVec2f ()
void normalize ()
void operator *= (const RReal32 f)
 still undocumented
void operator+= (const RColor &b)
 still undocumented
void operator *= (const RColor &f)
void operator+= (const RReal32 f)
 still undocumented
bool operator== (const RColor &b)
bool operator!= (const RColor &b)
RColor operator * (const RColor &v) const
 still undocumented
RColor operator * (const RReal32 f) const
 still undocumented
RColor operator+ (const RColor &b) const
 still undocumented
RColor operator+ (const RReal32 b) const
 still undocumented
RColor operator- (const RColor &b) const
 still undocumented
RColor blendColors (RColor &first, RColor &second, RReal32 factor)
 blend two colors with a given weight
RColor operator/ (const RReal32 f)
 still undocumented
void operator/= (const RReal32 f)
 still undocumented


Constructor & Destructor Documentation

RayGina::CORE::RColor::RColor  )  [inline]
 

Definition at line 25 of file RColor.hxx.


Member Function Documentation

void RayGina::CORE::RColor::addWithoutAlpha const RColor  newColor  )  [inline]
 

Definition at line 61 of file RColor.hxx.

void RayGina::CORE::RColor::blendAlphaBased const RColor  newColor  )  [inline]
 

Definition at line 54 of file RColor.hxx.

RColor RayGina::CORE::RColor::blendColors RColor first,
RColor second,
RReal32  factor
[inline]
 

blend two colors with a given weight

Definition at line 242 of file RColor.hxx.

RReal32 RayGina::CORE::RColor::getAlpha  )  const [inline]
 

returns the transparency of the color

Definition at line 30 of file RColor.hxx.

RReal32 RayGina::CORE::RColor::getRGBAa  )  const [inline]
 

Definition at line 88 of file RColor.hxx.

RReal32 RayGina::CORE::RColor::getRGBAb  )  const [inline]
 

Definition at line 85 of file RColor.hxx.

RReal32 RayGina::CORE::RColor::getRGBAg  )  const [inline]
 

Definition at line 82 of file RColor.hxx.

RReal32 RayGina::CORE::RColor::getRGBAr  )  const [inline]
 

Definition at line 79 of file RColor.hxx.

RVec2f RayGina::CORE::RColor::getRVec2f  )  [inline]
 

Definition at line 160 of file RColor.hxx.

RVec3f RayGina::CORE::RColor::getRVec3  )  const [inline]
 

Definition at line 110 of file RColor.hxx.

void RayGina::CORE::RColor::normalize  )  [inline]
 

Definition at line 164 of file RColor.hxx.

RColor RayGina::CORE::RColor::operator * const RReal32  f  )  const [inline]
 

still undocumented

Definition at line 214 of file RColor.hxx.

RColor RayGina::CORE::RColor::operator * const RColor v  )  const [inline]
 

still undocumented

Definition at line 207 of file RColor.hxx.

void RayGina::CORE::RColor::operator *= const RColor f  )  [inline]
 

Definition at line 188 of file RColor.hxx.

void RayGina::CORE::RColor::operator *= const RReal32  f  )  [inline]
 

still undocumented

Definition at line 178 of file RColor.hxx.

bool RayGina::CORE::RColor::operator!= const RColor b  )  [inline]
 

Definition at line 202 of file RColor.hxx.

RColor RayGina::CORE::RColor::operator+ const RReal32  b  )  const [inline]
 

still undocumented

Definition at line 228 of file RColor.hxx.

RColor RayGina::CORE::RColor::operator+ const RColor b  )  const [inline]
 

still undocumented

Definition at line 221 of file RColor.hxx.

void RayGina::CORE::RColor::operator+= const RReal32  f  )  [inline]
 

still undocumented

Definition at line 193 of file RColor.hxx.

void RayGina::CORE::RColor::operator+= const RColor b  )  [inline]
 

still undocumented

Definition at line 182 of file RColor.hxx.

RColor RayGina::CORE::RColor::operator- const RColor b  )  const [inline]
 

still undocumented

Definition at line 235 of file RColor.hxx.

RColor RayGina::CORE::RColor::operator/ const RReal32  f  )  [inline]
 

still undocumented

Definition at line 247 of file RColor.hxx.

void RayGina::CORE::RColor::operator/= const RReal32  f  )  [inline]
 

still undocumented

Definition at line 255 of file RColor.hxx.

bool RayGina::CORE::RColor::operator== const RColor b  )  [inline]
 

Definition at line 198 of file RColor.hxx.

void const RayGina::CORE::RColor::setA const RReal32  a  )  [inline]
 

Definition at line 26 of file RColor.hxx.

void RayGina::CORE::RColor::setAlpha const RReal32  newAlpha  )  [inline]
 

sets the transparency of the color

Definition at line 34 of file RColor.hxx.

void RayGina::CORE::RColor::setBlack const RReal32  newAlpha = 0.0  )  [inline]
 

set a black color with a given alpha value

Definition at line 39 of file RColor.hxx.

template<typename VectorType3>
void RayGina::CORE::RColor::setRbVec3 const VectorType3 &  v  )  [inline]
 

Definition at line 121 of file RColor.hxx.

template<typename VectorType3>
void RayGina::CORE::RColor::setRbVec3A const VectorType3 &  v,
const RReal32  a
[inline]
 

Definition at line 127 of file RColor.hxx.

void RayGina::CORE::RColor::setRGB RReal32  r,
RReal32  g,
RReal32  b
[inline]
 

Definition at line 68 of file RColor.hxx.

void RayGina::CORE::RColor::setRGBA RReal32  r,
RReal32  g,
RReal32  b,
RReal32  a
[inline]
 

Definition at line 73 of file RColor.hxx.

void const RayGina::CORE::RColor::setRGBAa RReal32  a  )  [inline]
 

Definition at line 100 of file RColor.hxx.

void const RayGina::CORE::RColor::setRGBAb RReal32  b  )  [inline]
 

Definition at line 97 of file RColor.hxx.

void const RayGina::CORE::RColor::setRGBAg RReal32  g  )  [inline]
 

Definition at line 94 of file RColor.hxx.

void const RayGina::CORE::RColor::setRGBAr RReal32  r  )  [inline]
 

Definition at line 91 of file RColor.hxx.

void RayGina::CORE::RColor::setRVec2f const RVec2f v  )  [inline]
 

Definition at line 134 of file RColor.hxx.

void RayGina::CORE::RColor::setRVec2fA const RVec2f v,
const RReal32  a
[inline]
 

Definition at line 138 of file RColor.hxx.

void RayGina::CORE::RColor::setRVec2fBA const RVec2f v,
const RReal32  b,
const RReal32  a
[inline]
 

Definition at line 148 of file RColor.hxx.

void RayGina::CORE::RColor::setRVec2fBA const RVec2f v,
const RReal32  b
[inline]
 

Definition at line 143 of file RColor.hxx.

void RayGina::CORE::RColor::setRVec3 const RVec3f v  )  [inline]
 

Definition at line 105 of file RColor.hxx.

void RayGina::CORE::RColor::setRVec3A const RVec3f v,
const RReal32  a
[inline]
 

Definition at line 113 of file RColor.hxx.

void RayGina::CORE::RColor::setWhite const RReal32  newAlpha = 0.0  )  [inline]
 

set a white color with a given alpha value

Definition at line 46 of file RColor.hxx.


Member Data Documentation

RReal32 RayGina::CORE::RColor::_a [private]
 

Definition at line 14 of file RColor.hxx.

RReal32 RayGina::CORE::RColor::_b [private]
 

Definition at line 14 of file RColor.hxx.

RReal32 RayGina::CORE::RColor::_f[4] [private]
 

Definition at line 16 of file RColor.hxx.

RReal32 RayGina::CORE::RColor::_g [private]
 

Definition at line 14 of file RColor.hxx.

RReal32 RayGina::CORE::RColor::_r [private]
 

Definition at line 14 of file RColor.hxx.


The documentation for this class was generated from the following file:
Generated on Sun Dec 2 17:01:09 2007 for rayGina by  doxygen 1.3.9.1