RGBHalf Class Reference

#include <RGBHalf.h>

List of all members.

Public Member Functions

 RGBHalf ()
 RGBHalf (const RGBHalf &other)
 RGBHalf (const RGBFloat &colorvector)
 RGBHalf (const float &r, const float &g, const float &b)
 RGBHalf (const float &f)
void * operator new (size_t size)
void operator delete (void *ptr)
RGBHalfoperator= (const RGBHalf &other)
RGBHalfoperator+= (const RGBHalf &other)
RGBHalfoperator-= (const RGBHalf &other)
RGBHalfoperator *= (const RGBHalf &other)
RGBHalfoperator *= (float factor)
RGBHalfoperator/= (float factor)
RGBHalf operator * (const RGBHalf &other) const
RGBHalf operator * (float s) const
RGBHalf operator/ (float s) const
RGBHalf operator+ (const RGBHalf &other)
half operator[] (int i) const
half & operator[] (int i)
int operator== (const RGBHalf &other) const
int operator!= (const RGBHalf &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
RGBHalf GammaCorrect (float power)
BOOL CheckOffBound (float lobound, float hibound)

Public Attributes

half m_blue
half m_green
half m_red


Detailed Description

Definition at line 17 of file RGBHalf.h.


Constructor & Destructor Documentation

RGBHalf::RGBHalf  )  [inline]
 

Definition at line 21 of file RGBHalf.h.

References m_blue, m_green, and m_red.

Referenced by operator *(), operator+(), and operator/().

RGBHalf::RGBHalf const RGBHalf other  )  [inline]
 

Definition at line 92 of file RGBHalf.h.

RGBHalf::RGBHalf const RGBFloat colorvector  ) 
 

RGBHalf::RGBHalf const float &  r,
const float &  g,
const float &  b
[inline]
 

Definition at line 96 of file RGBHalf.h.

References m_blue, m_green, and m_red.

RGBHalf::RGBHalf const float &  f  )  [inline]
 

Definition at line 102 of file RGBHalf.h.

References m_blue, m_green, and m_red.


Member Function Documentation

half RGBHalf::Blue  )  const [inline]
 

Definition at line 57 of file RGBHalf.h.

References m_blue.

Referenced by RGBAHalf::Blue(), Max(), operator *=(), operator+(), operator+=(), operator-=(), operator=(), RGBFloat::RGBFloat(), and YAFloat::YAFloat().

BOOL RGBHalf::CheckOffBound float  lobound,
float  hibound
[inline]
 

Definition at line 81 of file RGBHalf.h.

References FALSE, and TRUE.

Referenced by RGBAHalf::CheckOffBound().

RGBHalf RGBHalf::GammaCorrect float  power  )  [inline]
 

Definition at line 71 of file RGBHalf.h.

References m_blue, m_green, m_red, and Set().

Here is the call graph for this function:

float RGBHalf::GetLuminance  )  const [inline]
 

Definition at line 70 of file RGBHalf.h.

References m_blue, m_green, and m_red.

half RGBHalf::Green  )  const [inline]
 

Definition at line 56 of file RGBHalf.h.

References m_green.

Referenced by RGBAHalf::Green(), Max(), operator *=(), operator+(), operator+=(), operator-=(), operator=(), RGBFloat::RGBFloat(), and YAFloat::YAFloat().

void RGBHalf::Max float  max  )  [inline]
 

Definition at line 65 of file RGBHalf.h.

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

Referenced by RGBAHalf::Max().

Here is the call graph for this function:

RGBHalf RGBHalf::operator * float  s  )  const [inline]
 

Definition at line 44 of file RGBHalf.h.

References RGBHalf().

Here is the call graph for this function:

RGBHalf RGBHalf::operator * const RGBHalf other  )  const [inline]
 

Definition at line 43 of file RGBHalf.h.

References RGBHalf().

Here is the call graph for this function:

RGBHalf & RGBHalf::operator *= float  factor  )  [inline]
 

Definition at line 140 of file RGBHalf.h.

References m_blue, m_green, and m_red.

RGBHalf & RGBHalf::operator *= const RGBHalf other  )  [inline]
 

Definition at line 132 of file RGBHalf.h.

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

Here is the call graph for this function:

void RGBHalf::operator delete void *  ptr  )  [inline]
 

Definition at line 34 of file RGBHalf.h.

References FreeBitmap().

Here is the call graph for this function:

void* RGBHalf::operator new size_t  size  )  [inline]
 

Definition at line 32 of file RGBHalf.h.

References AllocBitmap().

Here is the call graph for this function:

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

Definition at line 53 of file RGBHalf.h.

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

Definition at line 156 of file RGBHalf.h.

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

Here is the call graph for this function:

RGBHalf & RGBHalf::operator+= const RGBHalf other  )  [inline]
 

Definition at line 116 of file RGBHalf.h.

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

Here is the call graph for this function:

RGBHalf & RGBHalf::operator-= const RGBHalf other  )  [inline]
 

Definition at line 124 of file RGBHalf.h.

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

Here is the call graph for this function:

RGBHalf RGBHalf::operator/ float  s  )  const [inline]
 

Definition at line 45 of file RGBHalf.h.

References RGBHalf().

Here is the call graph for this function:

RGBHalf & RGBHalf::operator/= float  factor  )  [inline]
 

Definition at line 148 of file RGBHalf.h.

References m_blue, m_green, and m_red.

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

Definition at line 108 of file RGBHalf.h.

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

Here is the call graph for this function:

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

Definition at line 164 of file RGBHalf.h.

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

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

Definition at line 50 of file RGBHalf.h.

References m_red.

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

Definition at line 49 of file RGBHalf.h.

References m_red.

half RGBHalf::Red  )  const [inline]
 

Definition at line 55 of file RGBHalf.h.

References m_red.

Referenced by Max(), operator *=(), operator+(), operator+=(), operator-=(), operator=(), RGBAHalf::Red(), RGBFloat::RGBFloat(), and YAFloat::YAFloat().

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

Definition at line 60 of file RGBHalf.h.

References m_blue, m_green, and m_red.

void RGBHalf::Set half  value  )  [inline]
 

Definition at line 59 of file RGBHalf.h.

References m_blue, m_green, and m_red.

Referenced by GammaCorrect(), and RGBAHalf::Set().

void RGBHalf::SetBlue half  blue  )  [inline]
 

Definition at line 63 of file RGBHalf.h.

References m_blue.

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

void RGBHalf::SetGreen half  green  )  [inline]
 

Definition at line 62 of file RGBHalf.h.

References m_green.

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

void RGBHalf::SetRed half  red  )  [inline]
 

Definition at line 61 of file RGBHalf.h.

References m_red.

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


Member Data Documentation

half RGBHalf::m_blue
 

Definition at line 20 of file RGBHalf.h.

Referenced by Blue(), GammaCorrect(), GetLuminance(), operator *=(), operator+(), operator+=(), operator-=(), operator/=(), operator=(), operator==(), RGBAHalf::RGBAHalf(), RGBHalf(), Set(), and SetBlue().

half RGBHalf::m_green
 

Definition at line 20 of file RGBHalf.h.

Referenced by GammaCorrect(), GetLuminance(), Green(), operator *=(), operator+(), operator+=(), operator-=(), operator/=(), operator=(), operator==(), RGBAHalf::RGBAHalf(), RGBHalf(), Set(), and SetGreen().

half RGBHalf::m_red
 

Definition at line 20 of file RGBHalf.h.

Referenced by GammaCorrect(), GetLuminance(), operator *=(), operator+(), operator+=(), operator-=(), operator/=(), operator=(), operator==(), operator[](), Red(), RGBAHalf::RGBAHalf(), RGBHalf(), 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:47:03 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001