HalfColorBuf Class Reference

#include <HalfColorBuf.h>

List of all members.

Public Member Functions

 HalfColorBuf ()
 HalfColorBuf (const HalfColorBuf &other)
 HalfColorBuf (const ColorVector &colorvector)
HalfColorBufoperator= (const HalfColorBuf &other)
void operator+= (const HalfColorBuf &other)
void operator-= (const HalfColorBuf &other)
void operator *= (float factor)
void operator/= (float factor)
HalfColorBuf operator+ (const HalfColorBuf &other)
half operator[] (int i) const
half & operator[] (int i)
int operator== (const HalfColorBuf &other) const
int operator!= (const HalfColorBuf &other) const
half Red () const
half Green () const
half Blue () const
void Set (half value)
void Set (half red, half green, half blue)
void SetRed (half red)
void SetGreen (half green)
void SetBlue (half blue)
void Max (float max)
float GetLuminance () const

Public Attributes

half m_red
half m_green
half m_blue


Detailed Description

Definition at line 10 of file HalfColorBuf.h.


Constructor & Destructor Documentation

HalfColorBuf::HalfColorBuf  )  [inline]
 

Definition at line 14 of file HalfColorBuf.h.

References m_blue, m_green, and m_red.

Referenced by operator+().

HalfColorBuf::HalfColorBuf const HalfColorBuf other  )  [inline]
 

Definition at line 53 of file HalfColorBuf.h.

HalfColorBuf::HalfColorBuf const ColorVector colorvector  ) 
 


Member Function Documentation

half HalfColorBuf::Blue  )  const [inline]
 

Definition at line 37 of file HalfColorBuf.h.

References m_blue.

Referenced by HalfColorBufAlpha::Blue(), ColorVector::ColorVector(), Max(), operator+(), operator+=(), operator-=(), and operator=().

float HalfColorBuf::GetLuminance  )  const [inline]
 

Definition at line 50 of file HalfColorBuf.h.

References m_blue, m_green, and m_red.

half HalfColorBuf::Green  )  const [inline]
 

Definition at line 36 of file HalfColorBuf.h.

References m_green.

Referenced by ColorVector::ColorVector(), HalfColorBufAlpha::Green(), Max(), operator+(), operator+=(), operator-=(), and operator=().

void HalfColorBuf::Max float  max  )  [inline]
 

Definition at line 45 of file HalfColorBuf.h.

References Blue(), Green(), MIN, Red(), SetBlue(), SetGreen(), and SetRed().

Referenced by HalfColorBufAlpha::Max().

Here is the call graph for this function:

void HalfColorBuf::operator *= float  factor  )  [inline]
 

Definition at line 80 of file HalfColorBuf.h.

References m_blue, m_green, and m_red.

int HalfColorBuf::operator!= const HalfColorBuf other  )  const [inline]
 

Definition at line 33 of file HalfColorBuf.h.

HalfColorBuf HalfColorBuf::operator+ const HalfColorBuf other  )  [inline]
 

Definition at line 94 of file HalfColorBuf.h.

References Blue(), Green(), HalfColorBuf(), m_blue, m_green, m_red, and Red().

Here is the call graph for this function:

void HalfColorBuf::operator+= const HalfColorBuf other  )  [inline]
 

Definition at line 66 of file HalfColorBuf.h.

References Blue(), Green(), m_blue, m_green, m_red, and Red().

Here is the call graph for this function:

void HalfColorBuf::operator-= const HalfColorBuf other  )  [inline]
 

Definition at line 73 of file HalfColorBuf.h.

References Blue(), Green(), m_blue, m_green, m_red, and Red().

Here is the call graph for this function:

void HalfColorBuf::operator/= float  factor  )  [inline]
 

Definition at line 87 of file HalfColorBuf.h.

References m_blue, m_green, and m_red.

HalfColorBuf & HalfColorBuf::operator= const HalfColorBuf other  )  [inline]
 

Definition at line 58 of file HalfColorBuf.h.

References Blue(), Green(), m_blue, m_green, m_red, and Red().

Here is the call graph for this function:

int HalfColorBuf::operator== const HalfColorBuf other  )  const [inline]
 

Definition at line 102 of file HalfColorBuf.h.

References FALSE, m_blue, m_green, m_red, and TRUE.

half& HalfColorBuf::operator[] int  i  )  [inline]
 

Definition at line 30 of file HalfColorBuf.h.

References m_red.

half HalfColorBuf::operator[] int  i  )  const [inline]
 

Definition at line 29 of file HalfColorBuf.h.

References m_red.

half HalfColorBuf::Red  )  const [inline]
 

Definition at line 35 of file HalfColorBuf.h.

References m_red.

Referenced by ColorVector::ColorVector(), Max(), operator+(), operator+=(), operator-=(), operator=(), and HalfColorBufAlpha::Red().

void HalfColorBuf::Set half  red,
half  green,
half  blue
[inline]
 

Definition at line 40 of file HalfColorBuf.h.

References m_blue, m_green, and m_red.

void HalfColorBuf::Set half  value  )  [inline]
 

Definition at line 39 of file HalfColorBuf.h.

References m_blue, m_green, and m_red.

Referenced by HalfColorBufAlpha::Set().

void HalfColorBuf::SetBlue half  blue  )  [inline]
 

Definition at line 43 of file HalfColorBuf.h.

References m_blue.

Referenced by Max(), and HalfColorBufAlpha::SetBlue().

void HalfColorBuf::SetGreen half  green  )  [inline]
 

Definition at line 42 of file HalfColorBuf.h.

References m_green.

Referenced by Max(), and HalfColorBufAlpha::SetGreen().

void HalfColorBuf::SetRed half  red  )  [inline]
 

Definition at line 41 of file HalfColorBuf.h.

References m_red.

Referenced by Max(), and HalfColorBufAlpha::SetRed().


Member Data Documentation

half HalfColorBuf::m_blue
 

Definition at line 13 of file HalfColorBuf.h.

Referenced by Blue(), GetLuminance(), HalfColorBuf(), operator *=(), operator+(), operator+=(), operator-=(), operator/=(), operator=(), operator==(), Set(), and SetBlue().

half HalfColorBuf::m_green
 

Definition at line 13 of file HalfColorBuf.h.

Referenced by GetLuminance(), Green(), HalfColorBuf(), operator *=(), operator+(), operator+=(), operator-=(), operator/=(), operator=(), operator==(), Set(), and SetGreen().

half HalfColorBuf::m_red
 

Definition at line 13 of file HalfColorBuf.h.

Referenced by GetLuminance(), HalfColorBuf(), operator *=(), operator+(), operator+=(), operator-=(), operator/=(), operator=(), operator==(), operator[](), Red(), Set(), and SetRed().


The documentation for this class was generated from the following file:
This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:46:52 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001