20 #include <ThirdPartyWarningsDisable.h>
22 #include <ThirdPartyWarningsRestore.h>
29 namespace DICOMTagTools {
57 if (
this == &inputInfo){
return *
this; }
66 const size_t NumEntries = 65536u*4u;
79 return (dataType == inputInfo.
dataType) &&
80 (minVal == inputInfo.
minVal) &&
81 (maxVal == inputInfo.
maxVal) &&
86 (memcmp(rgbaLUT, inputInfo.
rgbaLUT,
static_cast<size_t>(numEntries)*4u*
sizeof(
MLuint16)) == 0) &&
87 (memcmp(rgbaFloatLUT, inputInfo.
rgbaFloatLUT,
static_cast<size_t>(numEntries)*4u*
sizeof(
MLfloat)) == 0) &&
105 (minLUTEntry <= maxLUTEntry);
123 bool usesAlpha =
false;
127 bool isSupplementalPaletteLUT =
false;
145 const size_t NumEntries = 65536u*4u;
147 std::memset(rgbaLUT, 0, NumEntries*
sizeof(
MLuint16));
150 std::memset(rgbaFloatLUT, 0, NumEntries*
sizeof(
MLfloat));
157 delete[] rgbaFloatLUT;
158 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 ? Return true if yes.