10std::shared_ptr<QColorTrcLut> QColorTrcLut::create()
13 return std::make_shared<Access>();
19 cp->setFromGamma(gamma,
dir);
26 cp->setFromTransferFunction(
fun,
dir);
33 cp->setFromTransferTable(
table,
dir);
84 float minInverse = 0.0f;
std::unique_ptr< ushort[]> m_fromLinear
static constexpr qsizetype Resolution
void setFromTransferTable(const QColorTransferTable &transTable, Direction dir=BiLinear)
static std::shared_ptr< QColorTrcLut > fromTransferTable(const QColorTransferTable &transTable, Direction dir=BiLinear)
void setFromTransferFunction(const QColorTransferFunction &transFn, Direction dir=BiLinear)
std::unique_ptr< ushort[]> m_toLinear
static std::shared_ptr< QColorTrcLut > fromGamma(qreal gamma, Direction dir=BiLinear)
void setFromGamma(qreal gamma, Direction dir=BiLinear)
static std::shared_ptr< QColorTrcLut > fromTransferFunction(const QColorTransferFunction &transFn, Direction dir=BiLinear)
Combined button and popup list for selecting options.
int qRound(qfloat16 d) noexcept
constexpr const T & qBound(const T &min, const T &val, const T &max)
GLenum GLenum GLsizei void * table