#include <ColorVec.h>
Public Member Functions | |
ColorVector (void) | |
ColorVector (float red, float green, float blue) | |
ColorVector (const float scalar) | |
ColorVector (COLORREF c) | |
ColorVector (const ColorVector &other) | |
ColorVector (const HalfColorBuf &other) | |
ColorVector & | operator= (float scalar) |
ColorVector & | operator= (const ColorVector &other) |
ColorVector & | operator+= (const ColorVector &other) |
ColorVector & | operator-= (const ColorVector &other) |
ColorVector & | operator *= (const ColorVector &other) |
ColorVector & | operator *= (float scale) |
ColorVector & | operator/= (const ColorVector &other) |
ColorVector & | operator/= (float scale) |
float | Red () const |
float | Green () const |
float | Blue () const |
void | SetRed (float red) |
void | SetGreen (float green) |
void | SetBlue (float blue) |
void | Set (float red, float green, float blue) |
void | Set (float init) |
int | operator== (const ColorVector &a) const |
int | operator!= (const ColorVector &a) const |
ColorVector | operator+ (const ColorVector &a) const |
ColorVector | operator- (const ColorVector &a) const |
ColorVector | operator * (const ColorVector &a) const |
ColorVector | operator * (float s) const |
ColorVector | operator/ (float s) const |
ColorVector | operator/ (const ColorVector &a) const |
float | operator[] (int i) const |
COLORREF | GetCOLORREF () const |
float | GetLuminance () const |
void | Min (float min) |
void | Max (float max) |
void | MinMax (float min, float max) |
Public Attributes | |
float | m_red |
float | m_green |
float | m_blue |
Friends | |
ColorVector | operator * (const float s, const ColorVector &a) |
Definition at line 26 of file ColorVec.h.
|
Definition at line 32 of file ColorVec.h. Referenced by GetSpectrumColorVector(), operator *(), operator+(), operator-(), and operator/(). |
|
Definition at line 33 of file ColorVec.h. |
|
Definition at line 34 of file ColorVec.h. |
|
Definition at line 35 of file ColorVec.h. |
|
Definition at line 36 of file ColorVec.h. |
|
Definition at line 18 of file ColorVec.inl. References HalfColorBuf::Blue(), HalfColorBuf::Green(), m_blue, m_green, m_red, and HalfColorBuf::Red(). Here is the call graph for this function: ![]() |
|
Definition at line 51 of file ColorVec.h. References m_blue. |
|
Definition at line 71 of file ColorVec.h. References fast_round(), m_blue, m_green, and m_red. Here is the call graph for this function: ![]() |
|
Definition at line 72 of file ColorVec.h. |
|
Definition at line 50 of file ColorVec.h. References m_green. |
|
Definition at line 77 of file ColorVec.h. |
|
Definition at line 76 of file ColorVec.h. |
|
Definition at line 78 of file ColorVec.h. |
|
Definition at line 66 of file ColorVec.h. References ColorVector(). Here is the call graph for this function: ![]() |
|
Definition at line 65 of file ColorVec.h. References ColorVector(). Here is the call graph for this function: ![]() |
|
Definition at line 45 of file ColorVec.h. |
|
Definition at line 44 of file ColorVec.h. |
|
Definition at line 61 of file ColorVec.h. |
|
Definition at line 63 of file ColorVec.h. References ColorVector(). Here is the call graph for this function: ![]() |
|
Definition at line 42 of file ColorVec.h. |
|
Definition at line 64 of file ColorVec.h. References ColorVector(). Here is the call graph for this function: ![]() |
|
Definition at line 43 of file ColorVec.h. |
|
Definition at line 68 of file ColorVec.h. References ColorVector(). Here is the call graph for this function: ![]() |
|
Definition at line 67 of file ColorVec.h. References ColorVector(). Here is the call graph for this function: ![]() |
|
Definition at line 47 of file ColorVec.h. |
|
Definition at line 46 of file ColorVec.h. |
|
Definition at line 40 of file ColorVec.h. |
|
Definition at line 39 of file ColorVec.h. |
|
Definition at line 60 of file ColorVec.h. |
|
Definition at line 69 of file ColorVec.h. References m_red. |
|
Definition at line 49 of file ColorVec.h. References m_red. |
|
Definition at line 58 of file ColorVec.h. |
|
Definition at line 57 of file ColorVec.h. |
|
Definition at line 55 of file ColorVec.h. References m_blue. |
|
Definition at line 54 of file ColorVec.h. References m_green. |
|
Definition at line 53 of file ColorVec.h. References m_red. |
|
Definition at line 74 of file ColorVec.h. |
|
Definition at line 30 of file ColorVec.h. Referenced by Blue(), ColorVector(), GetCOLORREF(), GetLuminance(), Max(), Min(), MinMax(), operator *=(), operator+=(), operator-=(), operator/=(), operator=(), operator==(), Set(), and SetBlue(). |
|
Definition at line 29 of file ColorVec.h. Referenced by ColorVector(), GetCOLORREF(), GetLuminance(), Green(), Max(), Min(), MinMax(), operator *=(), operator+=(), operator-=(), operator/=(), operator=(), operator==(), Set(), and SetGreen(). |
|
Definition at line 28 of file ColorVec.h. Referenced by ColorVector(), GetCOLORREF(), GetLuminance(), Max(), Min(), MinMax(), operator *=(), operator+=(), operator-=(), operator/=(), operator=(), operator==(), operator[](), Red(), Set(), and SetRed(). |
Generated on Thu Oct 27 11:46:51 2005 with
1.4.5 written by Dimitri van Heesch,
© 1997-2001