21#include <FMEThirdPartyWarningsDisable.h>
23#include <FMEThirdPartyWarningsRestore.h>
30namespace DICOMTagTools {
58 if (
this == &inputInfo){
return *
this; }
67 const size_t NumEntries = 65536u*4u;
80 return (dataType == inputInfo.
dataType) &&
81 (minVal == inputInfo.
minVal) &&
82 (maxVal == inputInfo.
maxVal) &&
87 (memcmp(rgbaLUT, inputInfo.
rgbaLUT,
static_cast<size_t>(numEntries)*4u*
sizeof(
MLuint16)) == 0) &&
88 (memcmp(rgbaFloatLUT, inputInfo.
rgbaFloatLUT,
static_cast<size_t>(numEntries)*4u*
sizeof(
MLfloat)) == 0) &&
107 (minLUTEntry <= maxLUTEntry);
118 isSupplementalPaletteLUT =
false;
140 bool usesAlpha =
false;
144 bool isSupplementalPaletteLUT =
false;
162 const size_t NumEntries = 65536u*4u;
164 std::memset(rgbaLUT, 0, NumEntries*
sizeof(
MLuint16));
167 std::memset(rgbaFloatLUT, 0, NumEntries*
sizeof(
MLfloat));
174 delete[] rgbaFloatLUT;
175 rgbaFloatLUT =
nullptr;
#define ML_INVALID_DATA_TYPE
Defines an invalid MLDataType.
MLint32 MLDataType
MLDataType.
@ MLuint8Type
Enumerator for the unsigned 8-bit ML integer type.
@ MLfloatType
Enumerator for the signed 32-bit ML floating point type.
@ MLuint16Type
Enumerator for the unsigned 16-bit ML integer type.
boost::shared_ptr< const Tree > Const_TreePtr
bool operator==(const Tmat2< DT > &a, const Tmat2< DT > &b)
a == b ? Returns true if yes.