4-channel floating point arithmetic
More...
#include <pixel_arithmetic.h>
4-channel floating point arithmetic
Definition at line 319 of file pixel_arithmetic.h.
◆ operating_type
◆ pixfloat4() [1/3]
Beatmup::pixfloat4::pixfloat4 |
( |
| ) |
|
|
inline |
◆ pixfloat4() [2/3]
Beatmup::pixfloat4::pixfloat4 |
( |
const color4f & |
_ | ) |
|
|
inline |
◆ pixfloat4() [3/3]
Beatmup::pixfloat4::pixfloat4 |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
inline |
◆ operator[]() [1/2]
pixfloat& Beatmup::pixfloat4::operator[] |
( |
int |
i | ) |
|
|
inline |
◆ operator[]() [2/2]
pixfloat Beatmup::pixfloat4::operator[] |
( |
int |
i | ) |
const |
|
inline |
◆ operator pixint1()
Beatmup::pixfloat4::operator pixint1 |
( |
| ) |
const |
|
inline |
◆ operator pixint3()
Beatmup::pixfloat4::operator pixint3 |
( |
| ) |
const |
|
inline |
◆ operator pixint4()
Beatmup::pixfloat4::operator pixint4 |
( |
| ) |
const |
|
inline |
◆ operator pixfloat1()
Beatmup::pixfloat4::operator pixfloat1 |
( |
| ) |
const |
|
inline |
◆ operator pixfloat3()
Beatmup::pixfloat4::operator pixfloat3 |
( |
| ) |
const |
|
inline |
◆ operator color4i()
Beatmup::pixfloat4::operator color4i |
( |
| ) |
const |
|
inline |
Definition at line 1285 of file pixel_arithmetic.h.
pixbyte pixfloat2pixbyte(pixfloat x)
Converts a floating point pixel value to a 0..255 integer.
◆ operator color4f()
Beatmup::pixfloat4::operator color4f |
( |
| ) |
const |
|
inline |
◆ operator==()
bool Beatmup::pixfloat4::operator== |
( |
const pixfloat4 |
P | ) |
const |
|
inline |
◆ operator=() [1/6]
void Beatmup::pixfloat4::operator= |
( |
const pixint1 |
P | ) |
|
|
inline |
◆ operator=() [2/6]
void Beatmup::pixfloat4::operator= |
( |
const pixfloat1 |
P | ) |
|
|
inline |
◆ operator=() [3/6]
void Beatmup::pixfloat4::operator= |
( |
const pixint3 |
P | ) |
|
|
inline |
◆ operator=() [4/6]
void Beatmup::pixfloat4::operator= |
( |
const pixfloat3 |
P | ) |
|
|
inline |
◆ operator=() [5/6]
void Beatmup::pixfloat4::operator= |
( |
const pixint4 |
P | ) |
|
|
inline |
◆ operator=() [6/6]
void Beatmup::pixfloat4::operator= |
( |
const pixfloat4 |
P | ) |
|
|
inline |
◆ operator+() [1/8]
pixfloat4 Beatmup::pixfloat4::operator+ |
( |
const int |
P | ) |
const |
|
inline |
◆ operator+() [2/8]
pixfloat4 Beatmup::pixfloat4::operator+ |
( |
const float |
P | ) |
const |
|
inline |
◆ operator+() [3/8]
◆ operator+() [4/8]
◆ operator+() [5/8]
◆ operator+() [6/8]
◆ operator+() [7/8]
◆ operator+() [8/8]
◆ operator-() [1/8]
pixfloat4 Beatmup::pixfloat4::operator- |
( |
const int |
P | ) |
const |
|
inline |
◆ operator-() [2/8]
pixfloat4 Beatmup::pixfloat4::operator- |
( |
const float |
P | ) |
const |
|
inline |
◆ operator-() [3/8]
◆ operator-() [4/8]
◆ operator-() [5/8]
◆ operator-() [6/8]
◆ operator-() [7/8]
◆ operator-() [8/8]
◆ operator*() [1/8]
pixfloat4 Beatmup::pixfloat4::operator* |
( |
const int |
P | ) |
const |
|
inline |
◆ operator*() [2/8]
pixfloat4 Beatmup::pixfloat4::operator* |
( |
const float |
P | ) |
const |
|
inline |
◆ operator*() [3/8]
◆ operator*() [4/8]
◆ operator*() [5/8]
◆ operator*() [6/8]
◆ operator*() [7/8]
◆ operator*() [8/8]
◆ operator/()
pixfloat4 Beatmup::pixfloat4::operator/ |
( |
const int |
P | ) |
const |
|
inline |
◆ makeFloat()
pixfloat4 Beatmup::pixfloat4::makeFloat |
( |
| ) |
const |
|
inline |
◆ zero()
void Beatmup::pixfloat4::zero |
( |
| ) |
|
|
inline |
◆ sum()
float Beatmup::pixfloat4::sum |
( |
| ) |
const |
|
inline |
◆ mean()
float Beatmup::pixfloat4::mean |
( |
| ) |
const |
|
inline |
◆ max()
float Beatmup::pixfloat4::max |
( |
| ) |
const |
|
inline |
Definition at line 383 of file pixel_arithmetic.h.
CustomPoint< numeric > max(const CustomPoint< numeric > &a, const CustomPoint< numeric > &b)
◆ abs()
◆ val
The documentation for this struct was generated from the following file: