13#ifndef ML_LUTFCOMBINE_H
14#define ML_LUTFCOMBINE_H
114 double minIndex,
double maxIndex)
const override;
118 template <
typename T>
stores a lut function entry that should be combined
int getDepth(void) const override
Get native LUT depth (= number of layers, numbering starts at 0).
Mask
gives a mask that is used for combining
double getNativeMaxIndex(void) const override
Get native maximum index.
void addEntry(const LUTEntry &entry)
add an entry
Mode
gives a mode that is used for combining
ML_CLASS_HEADER(LUTFCombine)
const LUTEntry & getEntry(int i) const
get the ith entry (no range checking!)
unsigned int getNumEntries() const
get number of entries
std::vector< LUTEntry > _entries
double getNativeMaxValue(void) const override
Get native maximum LUT value.
bool renderLUT(LUTData< T > *lutData, LUTIterator< T > *lutIterator, double minIndex, double maxIndex, bool rescale) const
LUTFCombine(void)
Constructor.
bool renderLUTNative(LUTDataBase *lutData, LUTIteratorBase *lutIterator) const override
void clearEntries()
clear the entries
bool renderLUTRescaled(LUTDataBase *lutData, LUTIteratorBase *lutIterator, double minIndex, double maxIndex) const override
double getNativeMinValue(void) const override
Get native minimum LUT value.
bool isValid(void) const override
Return true if the LUT function is valid.
int getHeight(void) const override
Get native LUT height (= number of rows, numbering starts at 0).
double getNativeMinIndex(void) const override
Get native minimum index.
LUTFunction(LUTVisualType vt, bool relative)
Constructor.
LUT iterator base class with type independent functionality and declarations.
#define MLLUT_EXPORT
System specific macro definitions.