Trichromatic floating point arithmetic.
More...
#include <pixel_arithmetic.h>
Trichromatic floating point arithmetic.
Definition at line 198 of file pixel_arithmetic.h.
◆ operating_type
◆ pixfloat3() [1/3]
Beatmup::pixfloat3::pixfloat3 |
( |
| ) |
|
|
inline |
◆ pixfloat3() [2/3]
Beatmup::pixfloat3::pixfloat3 |
( |
const color3f & |
_ | ) |
|
|
inline |
◆ pixfloat3() [3/3]
Beatmup::pixfloat3::pixfloat3 |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
| |
|
inline |
◆ operator pixint1()
Beatmup::pixfloat3::operator pixint1 |
( |
| ) |
const |
|
inline |
◆ operator pixint3()
Beatmup::pixfloat3::operator pixint3 |
( |
| ) |
const |
|
inline |
◆ operator pixint4()
Beatmup::pixfloat3::operator pixint4 |
( |
| ) |
const |
|
inline |
◆ operator pixfloat1()
Beatmup::pixfloat3::operator pixfloat1 |
( |
| ) |
const |
|
inline |
◆ operator pixfloat4()
Beatmup::pixfloat3::operator pixfloat4 |
( |
| ) |
const |
|
inline |
◆ operator==()
bool Beatmup::pixfloat3::operator== |
( |
const pixfloat3 |
P | ) |
const |
|
inline |
◆ operator=() [1/6]
void Beatmup::pixfloat3::operator= |
( |
const pixint1 |
P | ) |
|
|
inline |
◆ operator=() [2/6]
void Beatmup::pixfloat3::operator= |
( |
const pixfloat1 |
P | ) |
|
|
inline |
◆ operator=() [3/6]
void Beatmup::pixfloat3::operator= |
( |
const pixint3 |
P | ) |
|
|
inline |
◆ operator=() [4/6]
void Beatmup::pixfloat3::operator= |
( |
const pixfloat3 |
P | ) |
|
|
inline |
◆ operator=() [5/6]
void Beatmup::pixfloat3::operator= |
( |
const pixint4 |
P | ) |
|
|
inline |
◆ operator=() [6/6]
void Beatmup::pixfloat3::operator= |
( |
const pixfloat4 |
P | ) |
|
|
inline |
◆ operator+() [1/8]
pixfloat3 Beatmup::pixfloat3::operator+ |
( |
const int |
P | ) |
const |
|
inline |
◆ operator+() [2/8]
pixfloat3 Beatmup::pixfloat3::operator+ |
( |
const float |
P | ) |
const |
|
inline |
◆ operator+() [3/8]
◆ operator+() [4/8]
◆ operator+() [5/8]
◆ operator+() [6/8]
◆ operator+() [7/8]
Definition at line 989 of file pixel_arithmetic.h.
990 return pixfloat4(
r + P.r / 255.0f,
g + P.g / 255.0f,
b + P.b / 255.0f, 1.0f + P.a / 255.0f);
◆ operator+() [8/8]
◆ operator-() [1/8]
pixfloat3 Beatmup::pixfloat3::operator- |
( |
const int |
P | ) |
const |
|
inline |
◆ operator-() [2/8]
pixfloat3 Beatmup::pixfloat3::operator- |
( |
const float |
P | ) |
const |
|
inline |
◆ operator-() [3/8]
◆ operator-() [4/8]
◆ operator-() [5/8]
◆ operator-() [6/8]
◆ operator-() [7/8]
Definition at line 1023 of file pixel_arithmetic.h.
1024 return pixfloat4(
r - P.r / 255.0f,
g - P.g / 255.0f,
b - P.b / 255.0f, 1.0f - P.a / 255.0f);
◆ operator-() [8/8]
◆ operator*() [1/8]
pixfloat3 Beatmup::pixfloat3::operator* |
( |
const int |
P | ) |
const |
|
inline |
◆ operator*() [2/8]
pixfloat3 Beatmup::pixfloat3::operator* |
( |
const float |
P | ) |
const |
|
inline |
◆ operator*() [3/8]
◆ operator*() [4/8]
◆ operator*() [5/8]
◆ operator*() [6/8]
◆ operator*() [7/8]
Definition at line 1057 of file pixel_arithmetic.h.
1058 return pixfloat4(
r * P.r / 255.0f,
g * P.g / 255.0f,
b * P.b / 255.0f, P.a / 255.0f);
◆ operator*() [8/8]
◆ operator/()
pixfloat3 Beatmup::pixfloat3::operator/ |
( |
const int |
P | ) |
const |
|
inline |
◆ makeFloat()
pixfloat3 Beatmup::pixfloat3::makeFloat |
( |
| ) |
const |
|
inline |
◆ zero()
void Beatmup::pixfloat3::zero |
( |
| ) |
|
|
inline |
◆ sum()
float Beatmup::pixfloat3::sum |
( |
| ) |
const |
|
inline |
◆ mean()
float Beatmup::pixfloat3::mean |
( |
| ) |
const |
|
inline |
◆ max()
float Beatmup::pixfloat3::max |
( |
| ) |
const |
|
inline |
Definition at line 245 of file pixel_arithmetic.h.
CustomPoint< numeric > max(const CustomPoint< numeric > &a, const CustomPoint< numeric > &b)
◆ abs()
The documentation for this struct was generated from the following file: