OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
FilamentMixerModel.hpp File Reference
#include <algorithm>
#include <cmath>
#include <cstdint>
Include dependency graph for FilamentMixerModel.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  filament_mixer::RGB

Namespaces

namespace  filament_mixer
namespace  filament_mixer::detail

Functions

void filament_mixer::detail::compute_poly_features (const double x[7], double out[330])
void filament_mixer::lerp (unsigned char r1, unsigned char g1, unsigned char b1, unsigned char r2, unsigned char g2, unsigned char b2, float t, unsigned char *out_r, unsigned char *out_g, unsigned char *out_b)
RGB filament_mixer::lerp (unsigned char r1, unsigned char g1, unsigned char b1, unsigned char r2, unsigned char g2, unsigned char b2, float t)

Variables

static const int filament_mixer::detail::POLY_DEGREE = 4
static const int filament_mixer::detail::N_FEATURES = 330
static const int filament_mixer::detail::N_INPUTS = 7
static const int filament_mixer::detail::POWERS [330][7]
static const double filament_mixer::detail::COEF [330][3]
static const double filament_mixer::detail::INTERCEPT [3]

Class Documentation

◆ filament_mixer::RGB

struct filament_mixer::RGB
Class Members
unsigned char b
unsigned char g
unsigned char r