#include <VectorTools.hh>
|
| | Color () |
| | Color (Vector v) |
| | Color (float r_, float g_, float b_, float a_) |
| | Color (double r_, double g_, double b_, double a_) |
| | Color (int r, int g, int b) |
| | Color (int r, int g, int b, int alpha) |
| | Color (unsigned int color) |
| | Color (Color &&x) |
| | Color (const Color &x) |
| Color & | operator= (Color &&x) |
| Color & | operator= (const Color &x) |
| void | check () |
| void | operator*= (float k) |
| Color | clamp () const |
| unsigned int | Pixel () |
| float | rf () const |
| float | gf () const |
| float | bf () const |
| float | af () const |
|
| static unsigned int | Average (std::vector< unsigned int > vec) |
| static unsigned short | PixelConvert (unsigned int pixel) |
| static unsigned int | PixelCombine (unsigned int pixel1, unsigned int pixel2) |
| static Color | Transparent () |
| static Color | Black () |
| static Color | White () |
| static Color | CubeCenter () |
| static unsigned int | ColorCube (float x, float y, float z, float sizex, float sizey, float sizez) |
| static unsigned int | RangeChange (unsigned int color, unsigned int source_upper, unsigned int source_lower, unsigned int range_upper, unsigned int range_lower) |
| static unsigned int | CubicInterpolate (unsigned int pixel1, unsigned int pixel2, float val) |
| static unsigned int | max_color (unsigned int pixel1, unsigned int pixel2) |
| static unsigned int | min_color (unsigned int pixel1, unsigned int pixel2) |
| static unsigned int | Interpolate (unsigned int pixel1, unsigned int pixel2, float val) |
| static Color | Interpolate (const Color &aVec, const Color &aVec2, float aVal) |
| static Color | Lighter (const Color &aVec, float aVal) |
| static Color | Darker (const Color &aVec, float aVal) |
| static Color | AverageArray (Color *array, int size) |
◆ Color() [1/9]
◆ Color() [2/9]
◆ Color() [3/9]
| Color::Color |
( |
float | r_, |
|
|
float | g_, |
|
|
float | b_, |
|
|
float | a_ ) |
|
inline |
◆ Color() [4/9]
| Color::Color |
( |
double | r_, |
|
|
double | g_, |
|
|
double | b_, |
|
|
double | a_ ) |
|
inline |
◆ Color() [5/9]
| Color::Color |
( |
int | r, |
|
|
int | g, |
|
|
int | b ) |
◆ Color() [6/9]
| Color::Color |
( |
int | r, |
|
|
int | g, |
|
|
int | b, |
|
|
int | alpha ) |
◆ Color() [7/9]
| Color::Color |
( |
unsigned int | color | ) |
|
◆ Color() [8/9]
| Color::Color |
( |
Color && | x | ) |
|
|
inline |
◆ Color() [9/9]
| Color::Color |
( |
const Color & | x | ) |
|
|
inline |
◆ af()
| float Color::af |
( |
| ) |
const |
|
inline |
◆ Average()
| unsigned int Color::Average |
( |
std::vector< unsigned int > | vec | ) |
|
|
static |
◆ AverageArray()
| Color Color::AverageArray |
( |
Color * | array, |
|
|
int | size ) |
|
inlinestatic |
◆ bf()
| float Color::bf |
( |
| ) |
const |
|
inline |
◆ Black()
◆ check()
◆ clamp()
| Color Color::clamp |
( |
| ) |
const |
|
inline |
◆ ColorCube()
| unsigned int Color::ColorCube |
( |
float | x, |
|
|
float | y, |
|
|
float | z, |
|
|
float | sizex, |
|
|
float | sizey, |
|
|
float | sizez ) |
|
inlinestatic |
◆ CubeCenter()
| Color Color::CubeCenter |
( |
| ) |
|
|
inlinestatic |
◆ CubicInterpolate()
| unsigned int Color::CubicInterpolate |
( |
unsigned int | pixel1, |
|
|
unsigned int | pixel2, |
|
|
float | val ) |
|
inlinestatic |
◆ Darker()
| Color Color::Darker |
( |
const Color & | aVec, |
|
|
float | aVal ) |
|
inlinestatic |
◆ gf()
| float Color::gf |
( |
| ) |
const |
|
inline |
◆ Interpolate() [1/2]
| Color Color::Interpolate |
( |
const Color & | aVec, |
|
|
const Color & | aVec2, |
|
|
float | aVal ) |
|
inlinestatic |
◆ Interpolate() [2/2]
| unsigned int Color::Interpolate |
( |
unsigned int | pixel1, |
|
|
unsigned int | pixel2, |
|
|
float | val ) |
|
inlinestatic |
◆ Lighter()
| Color Color::Lighter |
( |
const Color & | aVec, |
|
|
float | aVal ) |
|
inlinestatic |
◆ max_color()
| unsigned int Color::max_color |
( |
unsigned int | pixel1, |
|
|
unsigned int | pixel2 ) |
|
inlinestatic |
◆ min_color()
| unsigned int Color::min_color |
( |
unsigned int | pixel1, |
|
|
unsigned int | pixel2 ) |
|
inlinestatic |
◆ operator*=()
| void Color::operator*= |
( |
float | k | ) |
|
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Pixel()
| unsigned int Color::Pixel |
( |
| ) |
|
|
inline |
◆ PixelCombine()
| unsigned int Color::PixelCombine |
( |
unsigned int | pixel1, |
|
|
unsigned int | pixel2 ) |
|
inlinestatic |
◆ PixelConvert()
| unsigned short Color::PixelConvert |
( |
unsigned int | pixel | ) |
|
|
inlinestatic |
◆ RangeChange()
| unsigned int Color::RangeChange |
( |
unsigned int | color, |
|
|
unsigned int | source_upper, |
|
|
unsigned int | source_lower, |
|
|
unsigned int | range_upper, |
|
|
unsigned int | range_lower ) |
|
inlinestatic |
◆ rf()
| float Color::rf |
( |
| ) |
const |
|
inline |
◆ Transparent()
| Color Color::Transparent |
( |
| ) |
|
|
inlinestatic |
◆ White()
◆ operator* [1/2]
◆ operator* [2/2]
◆ operator+
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | o, |
|
|
const Color & | c ) |
|
friend |
◆ operator==
| bool operator== |
( |
const Color & | c1, |
|
|
const Color & | c2 ) |
|
friend |
◆ alpha
The documentation for this class was generated from the following files: