The ColorConv class.
More...
#include <color_conv.hpp>
|
static void | apply (const float *mtx, float *colIn, float *colOut) |
| apply More...
|
|
static void | apply_s (const float *mtx, float *colIn, float *colOut) |
| apply_s a safe apply More...
|
|
◆ ColorConv()
pic::ColorConv::ColorConv |
( |
| ) |
|
|
inline |
◆ apply()
static void pic::ColorConv::apply |
( |
const float * |
mtx, |
|
|
float * |
colIn, |
|
|
float * |
colOut |
|
) |
| |
|
inlinestatic |
◆ apply_s()
static void pic::ColorConv::apply_s |
( |
const float * |
mtx, |
|
|
float * |
colIn, |
|
|
float * |
colOut |
|
) |
| |
|
inlinestatic |
apply_s a safe apply
- Parameters
-
◆ direct()
virtual void pic::ColorConv::direct |
( |
float * |
colIn, |
|
|
float * |
colOut |
|
) |
| |
|
inlinevirtual |
direct converts from a color space to another one.
- Parameters
-
colIn | a pointer to the input color to be converted. |
colOut | a pointer to the output color. |
◆ inverse()
virtual void pic::ColorConv::inverse |
( |
float * |
colIn, |
|
|
float * |
colOut |
|
) |
| |
|
inlinevirtual |
inverse is the inverse of direct.
- Parameters
-
colIn | a pointer to the input color to be converted. |
colOut | a pointer to the output color. |
◆ transform()
void pic::ColorConv::transform |
( |
float * |
colIn, |
|
|
float * |
colOut, |
|
|
bool |
bDirection |
|
) |
| |
|
inline |
◆ linear
bool pic::ColorConv::linear |
|
protected |
◆ mtx
float pic::ColorConv::mtx[9] |
|
protected |
◆ mtx_inv
float pic::ColorConv::mtx_inv[9] |
|
protected |
The documentation for this class was generated from the following file:
- C:/Users/Francesco/Documents/GitHub/piccante/include/colors/color_conv.hpp