YAHalf Class Reference

#include <RGBHalf.h>

List of all members.

Public Member Functions

 YAHalf ()
 YAHalf (const YAHalf &other)
 YAHalf (const half other)
 YAHalf (const YAFloat &other)
 YAHalf (const YAByte &other)
 YAHalf (const float &l, const float &a)
 YAHalf (const float f)
void * operator new (size_t size)
void operator delete (void *ptr)
YAHalfoperator= (const YAHalf &other)
YAHalfoperator= (const YAFloat &other)
YAHalfoperator= (const YAByte &other)
YAHalfoperator= (const RGBFloat &other)
YAHalfoperator= (const RGBAFloat &other)
YAHalfoperator= (const ColorBuf &colorbuf)
YAHalfoperator+= (const YAHalf &other)
YAHalfoperator-= (const YAHalf &other)
YAHalfoperator *= (float factor)
YAHalfoperator/= (float factor)
YAHalf operator+ (const YAHalf &other)
int operator== (const YAHalf &other) const
int operator!= (const YAHalf &other) const
half operator[] (int i) const
half & operator[] (int i)
half Luminance () const
half Alpha () const
void SetLuminance (half luminance)
void SetAlpha (half alpha)
void Set (half luminance, half alpha)
BOOL CheckOffBound (float lobound, float hibound)

Public Attributes

half m_luminance
half m_alpha


Detailed Description

Definition at line 312 of file RGBHalf.h.


Constructor & Destructor Documentation

YAHalf::YAHalf  )  [inline]
 

Definition at line 317 of file RGBHalf.h.

References RGBAHalf::m_alpha.

Referenced by operator+().

YAHalf::YAHalf const YAHalf other  )  [inline]
 

Definition at line 319 of file RGBHalf.h.

YAHalf::YAHalf const half  other  )  [inline]
 

Definition at line 320 of file RGBHalf.h.

References RGBAHalf::m_alpha.

YAHalf::YAHalf const YAFloat other  ) 
 

YAHalf::YAHalf const YAByte other  ) 
 

YAHalf::YAHalf const float &  l,
const float &  a
[inline]
 

Definition at line 368 of file RGBHalf.h.

References m_alpha, and m_luminance.

YAHalf::YAHalf const float  f  )  [inline]
 

Definition at line 324 of file RGBHalf.h.

References RGBAHalf::m_alpha.


Member Function Documentation

half YAHalf::Alpha  )  const [inline]
 

Definition at line 354 of file RGBHalf.h.

References RGBAHalf::m_alpha.

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

Definition at line 361 of file RGBHalf.h.

References FALSE, and TRUE.

half YAHalf::Luminance  )  const [inline]
 

Definition at line 353 of file RGBHalf.h.

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

Definition at line 395 of file RGBHalf.h.

References m_alpha, and m_luminance.

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

Definition at line 331 of file RGBHalf.h.

References FreeBitmap().

Here is the call graph for this function:

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

Definition at line 329 of file RGBHalf.h.

References AllocBitmap().

Here is the call graph for this function:

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

Definition at line 348 of file RGBHalf.h.

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

Definition at line 409 of file RGBHalf.h.

References m_alpha, m_luminance, and YAHalf().

Here is the call graph for this function:

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

Definition at line 381 of file RGBHalf.h.

References m_alpha, and m_luminance.

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

Definition at line 388 of file RGBHalf.h.

References m_alpha, and m_luminance.

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

Definition at line 402 of file RGBHalf.h.

References m_alpha, and m_luminance.

YAHalf& YAHalf::operator= const ColorBuf colorbuf  ) 
 

YAHalf& YAHalf::operator= const RGBAFloat other  ) 
 

YAHalf& YAHalf::operator= const RGBFloat other  ) 
 

YAHalf& YAHalf::operator= const YAByte other  ) 
 

YAHalf& YAHalf::operator= const YAFloat other  ) 
 

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

Definition at line 374 of file RGBHalf.h.

References m_alpha, and m_luminance.

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

Definition at line 416 of file RGBHalf.h.

References FALSE, m_alpha, m_luminance, and TRUE.

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

Definition at line 351 of file RGBHalf.h.

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

Definition at line 350 of file RGBHalf.h.

void YAHalf::Set half  luminance,
half  alpha
[inline]
 

Definition at line 359 of file RGBHalf.h.

References RGBAHalf::m_alpha.

void YAHalf::SetAlpha half  alpha  )  [inline]
 

Definition at line 357 of file RGBHalf.h.

References RGBAHalf::m_alpha.

void YAHalf::SetLuminance half  luminance  )  [inline]
 

Definition at line 356 of file RGBHalf.h.


Member Data Documentation

half YAHalf::m_alpha
 

Definition at line 316 of file RGBHalf.h.

Referenced by operator *=(), operator+(), operator+=(), operator-=(), operator/=(), operator=(), operator==(), YAFloat::YAFloat(), and YAHalf().

half YAHalf::m_luminance
 

Definition at line 315 of file RGBHalf.h.

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


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:07 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001