13#ifndef ML_LUTFCONCAT_H
14#define ML_LUTFCONCAT_H
Untyped base class for LUTData template classes.
Concatenate LUTs in row or layer direction.
bool render(LUTDataBase *lutData) const override
Render LUT in (previously initialized) LUTData object.
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
Perform LUT rendering by redirecting to input LUT functions, implemented for both native and rescaled...
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_LAYERS
Concatenate in layer direction.
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
Render rescaled LUT in (previously initialized) LUTData object.
Common base class for lookup tables.
LUT iterator base class with type independent functionality and declarations.
#define MLLUT_EXPORT
System specific macro definitions.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.