13#ifndef ML_LUTFCHANNEL_MAP_H
14#define ML_LUTFCHANNEL_MAP_H
107 double minIndex,
double maxIndex)
const override;
112 template <
typename T>
int getDepth(void) const override
Get native LUT depth (= number of layers, numbering starts at 0).
LUTFunction * _source
Input LUT function.
double getNativeMinIndex(void) const override
Get native minimum index.
void setSource(LUTFunction *source)
Set input LUT function.
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).
bool renderLUTNative(LUTDataBase *lutData, LUTIteratorBase *lutIterator) const override
ML_CLASS_HEADER(LUTFChannelMap)
double getNativeMinValue(void) const override
Get native minimum LUT value.
const Map * getMap(void) const
Get current channel map.
void setLAMap(Map l, Map a)
Specify channel map for L(A) output LUT.
Map
Channel source selector constants and type.
@ MAP_B
Red, green, blue channels.
@ MAP_L
Intensity channel.
@ MAP_NUM_VALUES
Number of selector constants.
@ MAP_NONE
No source channel.
double getNativeMaxIndex(void) const override
Get native maximum index.
void setRGBAMap(Map r, Map g, Map b, Map a)
Specify channel map for RGB(A) output LUT.
Map _map[LUTIteratorBase::MAX_CHANNELS]
Source channel selectors.
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
bool renderLUTRescaled(LUTDataBase *lutData, LUTIteratorBase *lutIterator, double minIndex, double maxIndex) const override
LUTFChannelMap(void)
Constructor.
LUTFunction(LUTVisualType vt, bool relative)
Constructor.
LUT iterator base class with type independent functionality and declarations.
@ MAX_CHANNELS
Number of channels.
#define MLLUT_EXPORT
System specific macro definitions.