13#ifndef ML_LUTFCONCAT_H
14#define ML_LUTFCONCAT_H
bool render(LUTDataBase *lutData) const override
double getNativeMinIndex(void) const override
Get native minimum index.
LUTFConcat(void)
Constructor.
virtual void clearInputLuts(void)
Clear list of input LUT functions.
double getNativeMaxValue(void) const override
Get native maximum LUT value.
CatMode _catMode
Direction of concatenation (row or layer).
virtual bool renderLUT(LUTDataBase *lutData, double minIndex, double maxIndex, bool rescaled) const
ML_CLASS_HEADER(LUTFConcat)
virtual void addInputLut(const LUTFunction *lutFunction)
Add input LUT function.
bool isValid(void) const override
Return true if the LUT function is valid.
int getDepth(void) const override
Get native LUT depth (= number of layers, numbering starts at 0).
double getNativeMaxIndex(void) const override
Get native maximum index.
virtual void setCatMode(CatMode catMode)
Set direction of concatenation.
virtual const LUTFunction * getInputLut(int i) const
Get i-th input LUT function.
CatMode
Direction of concatenation.
@ CAT_ROWS
Concatenate in row direction.
@ CAT_LAYERS
Concatenate in layer direction.
@ NUM_CAT_MODES
Number of concatenation directions.
bool renderLUTNative(LUTDataBase *, LUTIteratorBase *) const override
Dummy implementation of inherited pure virtual method, not used.
int getHeight(void) const override
Get native LUT height (= number of rows, numbering starts at 0).
std::vector< const LUTFunction * > _inLUTs
Input LUTs.
virtual CatMode getCatMode(void) const
double getNativeMinValue(void) const override
Get native minimum LUT value.
bool renderRescaled(LUTDataBase *lutData, double minIndex, double maxIndex) const override
LUTFunction(LUTVisualType vt, bool relative)
Constructor.
LUT iterator base class with type independent functionality and declarations.
#define MLLUT_EXPORT
System specific macro definitions.