RGBAHalf Class Reference

#include <RGBHalf.h>

Collaboration diagram for RGBAHalf:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RGBAHalf ()
 RGBAHalf (const RGBAHalf &other)
 RGBAHalf (const RGBHalf &other)
 RGBAHalf (const float &r, const float &g, const float &b, const float &a)
 RGBAHalf (const ColorBuf &colorbuf)
 RGBAHalf (const float &f)
void * operator new (size_t size)
void operator delete (void *ptr)
RGBAHalfoperator= (const RGBAHalf &other)
RGBAHalfoperator= (const RGBAFloat &other)
RGBAHalfoperator+= (const RGBAHalf &other)
RGBAHalfoperator-= (const RGBAHalf &other)
RGBAHalfoperator *= (float factor)
RGBAHalfoperator/= (float factor)
RGBAHalf operator * (float s) const
RGBAHalf operator/ (float s) const
RGBAHalf operator+ (const RGBAHalf &other)
RGBAHalf operator- (const RGBAHalf &other)
int operator== (const RGBAHalf &other) const
int operator!= (const RGBAHalf &other) const
half operator[] (int i) const
half & operator[] (int i)
RGBHalf Color () const
half Red () const
half Green () const
half Blue () const
half Alpha () const
void SetRed (half red)
void SetGreen (half green)
void SetBlue (half blue)
void SetColor (RGBHalf &color)
void SetAlpha (half alpha)
void Set (half red, half green, half blue, half alpha)
void Max (float max)
BOOL CheckOffBound (float lobound, float hibound)

Public Attributes

RGBHalf m_color
half m_alpha

Detailed Description

Definition at line 177 of file RGBHalf.h.


Constructor & Destructor Documentation

RGBAHalf::RGBAHalf  )  [inline]
 

Definition at line 182 of file RGBHalf.h.

References m_alpha.

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

RGBAHalf::RGBAHalf const RGBAHalf other  )  [inline]
 

Definition at line 184 of file RGBHalf.h.

RGBAHalf::RGBAHalf const RGBHalf other  )  [inline]
 

Definition at line 185 of file RGBHalf.h.

References m_alpha.

RGBAHalf::RGBAHalf const float &  r,
const float &  g,
const float &  b,
const float &  a
[inline]
 

Definition at line 242 of file RGBHalf.h.

References m_alpha, m_color, RGBHalf::SetBlue(), RGBHalf::SetGreen(), and RGBHalf::SetRed().

Here is the call graph for this function:

RGBAHalf::RGBAHalf const ColorBuf colorbuf  ) 
 

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

Definition at line 188 of file RGBHalf.h.

References m_alpha, RGBHalf::m_blue, m_color, RGBHalf::m_green, and RGBHalf::m_red.


Member Function Documentation

half RGBAHalf::Alpha  )  const [inline]
 

Definition at line 221 of file RGBHalf.h.

References m_alpha.

Referenced by Max(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator==(), RGBAFloat::RGBAFloat(), and YAFloat::YAFloat().

half RGBAHalf::Blue  )  const [inline]
 

Definition at line 220 of file RGBHalf.h.

References RGBHalf::Blue(), and m_color.

Referenced by YAFloat::YAFloat().

Here is the call graph for this function:

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

Definition at line 237 of file RGBHalf.h.

References RGBHalf::CheckOffBound(), and m_color.

Here is the call graph for this function:

RGBHalf RGBAHalf::Color  )  const [inline]
 

Definition at line 216 of file RGBHalf.h.

References m_color.

Referenced by operator+(), operator+=(), operator-(), operator-=(), operator=(), and operator==().

half RGBAHalf::Green  )  const [inline]
 

Definition at line 219 of file RGBHalf.h.

References RGBHalf::Green(), and m_color.

Referenced by YAFloat::YAFloat().

Here is the call graph for this function:

void RGBAHalf::Max float  max  )  [inline]
 

Definition at line 232 of file RGBHalf.h.

References Alpha(), m_color, RGBHalf::Max(), MIN, and SetAlpha().

Here is the call graph for this function:

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

Definition at line 204 of file RGBHalf.h.

References RGBAHalf().

Here is the call graph for this function:

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

Definition at line 271 of file RGBHalf.h.

References m_alpha, and m_color.

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

Definition at line 195 of file RGBHalf.h.

References FreeBitmap().

Here is the call graph for this function:

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

Definition at line 193 of file RGBHalf.h.

References AllocBitmap().

Here is the call graph for this function:

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

Definition at line 211 of file RGBHalf.h.

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

Definition at line 285 of file RGBHalf.h.

References Alpha(), Color(), m_alpha, m_color, and RGBAHalf().

Here is the call graph for this function:

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

Definition at line 257 of file RGBHalf.h.

References Alpha(), Color(), m_alpha, and m_color.

Here is the call graph for this function:

RGBAHalf RGBAHalf::operator- const RGBAHalf other  )  [inline]
 

Definition at line 292 of file RGBHalf.h.

References Alpha(), Color(), m_alpha, m_color, and RGBAHalf().

Here is the call graph for this function:

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

Definition at line 264 of file RGBHalf.h.

References Alpha(), Color(), m_alpha, and m_color.

Here is the call graph for this function:

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

Definition at line 205 of file RGBHalf.h.

References RGBAHalf().

Here is the call graph for this function:

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

Definition at line 278 of file RGBHalf.h.

References m_alpha, and m_color.

RGBAHalf& RGBAHalf::operator= const RGBAFloat other  )  [inline]
 

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

Definition at line 250 of file RGBHalf.h.

References Alpha(), Color(), m_alpha, and m_color.

Here is the call graph for this function:

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

Definition at line 299 of file RGBHalf.h.

References Alpha(), Color(), FALSE, m_alpha, m_color, and TRUE.

Here is the call graph for this function:

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

Definition at line 214 of file RGBHalf.h.

References m_color.

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

Definition at line 213 of file RGBHalf.h.

References m_color.

half RGBAHalf::Red  )  const [inline]
 

Definition at line 218 of file RGBHalf.h.

References m_color, and RGBHalf::Red().

Referenced by YAFloat::YAFloat().

Here is the call graph for this function:

void RGBAHalf::Set half  red,
half  green,
half  blue,
half  alpha
[inline]
 

Definition at line 230 of file RGBHalf.h.

References m_alpha, m_color, and RGBHalf::Set().

Here is the call graph for this function:

void RGBAHalf::SetAlpha half  alpha  )  [inline]
 

Definition at line 228 of file RGBHalf.h.

References m_alpha.

Referenced by Max().

void RGBAHalf::SetBlue half  blue  )  [inline]
 

Definition at line 225 of file RGBHalf.h.

References m_color, and RGBHalf::SetBlue().

Here is the call graph for this function:

void RGBAHalf::SetColor RGBHalf color  )  [inline]
 

Definition at line 227 of file RGBHalf.h.

References m_color.

void RGBAHalf::SetGreen half  green  )  [inline]
 

Definition at line 224 of file RGBHalf.h.

References m_color, and RGBHalf::SetGreen().

Here is the call graph for this function:

void RGBAHalf::SetRed half  red  )  [inline]
 

Definition at line 223 of file RGBHalf.h.

References m_color, and RGBHalf::SetRed().

Here is the call graph for this function:


Member Data Documentation

half RGBAHalf::m_alpha
 

Definition at line 181 of file RGBHalf.h.

Referenced by YAHalf::Alpha(), Alpha(), operator *=(), operator+(), operator+=(), operator-(), operator-=(), operator/=(), operator=(), operator==(), RGBAHalf(), YAHalf::Set(), Set(), YAHalf::SetAlpha(), SetAlpha(), and YAHalf::YAHalf().

RGBHalf RGBAHalf::m_color
 

Definition at line 180 of file RGBHalf.h.

Referenced by Blue(), CheckOffBound(), Color(), Green(), Max(), operator *=(), operator+(), operator+=(), operator-(), operator-=(), operator/=(), operator=(), operator==(), operator[](), Red(), RGBAHalf(), Set(), SetBlue(), SetColor(), SetGreen(), 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