13#ifndef ML_LUTFSELECT_H
14#define ML_LUTFSELECT_H
97 double minIndex,
double maxIndex)
const override;
100 template <
typename T>
102 double minIndex,
double maxIndex,
bool rescaled)
const;
bool renderLUT(LUTData< T > *lutData, LUTIterator< T > *lutIterator, double minIndex, double maxIndex, bool rescaled) const
Perform LUT rendering, return true if successful.
const LUTFunction * _inLUT
Input LUT.
virtual void setInputLUT(const LUTFunction *inLUT)
Set input LUT, set relative flag to true if input LUT is relative.
int _row
Row and layer index of selected 1D-LUT.
double getNativeMinIndex(void) const override
Get native minimum index.
virtual void setLayer(int layer)
Set layer index.
double getNativeMaxValue(void) const override
Get native maximum LUT value.
virtual void setRow(int row)
Set row index.
LUTFSelect(void)
Constructor.
bool renderLUTNative(LUTDataBase *lutData, LUTIteratorBase *lutIterator) const override
ML_CLASS_HEADER(LUTFSelect)
bool isValid(void) const override
Return true if the LUT function is valid.
double getNativeMaxIndex(void) const override
Get native maximum index.
virtual int getRow(void) const
Get row index.
double getNativeMinValue(void) const override
Get native minimum LUT value.
bool renderLUTRescaled(LUTDataBase *lutData, LUTIteratorBase *lutIterator, double minIndex, double maxIndex) const override
virtual int getLayer(void) const
Get layer index.
LUTFunction(LUTVisualType vt, bool relative)
Constructor.
LUT iterator base class with type independent functionality and declarations.
#define MLLUT_EXPORT
System specific macro definitions.