Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
Loading...
Searching...
No Matches
CIccTagParametricCurve Class Reference

Class: CIccTagParametricCurve. More...

#include <IccTagLut.h>

+ Inheritance diagram for CIccTagParametricCurve:
+ Collaboration diagram for CIccTagParametricCurve:

Public Member Functions

virtual icFloatNumber Apply (icFloatNumber v) const
 Name: CIccTagParametricCurve::Apply.
 
 CIccTagParametricCurve ()
 Name: CIccTagParametricCurve::CIccTagParametricCurve.
 
 CIccTagParametricCurve (const CIccTagParametricCurve &ITPC)
 Name: CIccTagParametricCurve::CIccTagParametricCurve.
 
virtual void Describe (std::string &sDescription, int nVerboseness)
 Name: CIccTagParametricCurve::Describe.
 
virtual void DumpLut (std::string &sDescription, const icChar *szName, icColorSpaceSignature csSig, int nIndex, int nVerboseness)
 Name: CIccTagParametricCurve::DumpLut.
 
virtual const icCharGetClassName () const
 
icUInt16Number GetFunctionType () const
 
icUInt16Number GetNumParam () const
 
icFloatNumberGetParams () const
 
virtual icTagTypeSignature GetType () const
 Function: GetType()
 
virtual bool IsIdentity ()
 Name: CIccTagParametricCurve::IsIdentity.
 
virtual CIccTagNewCopy () const
 Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function.
 
CIccTagParametricCurveoperator= (const CIccTagParametricCurve &ParamCurveTag)
 Name: CIccTagParametricCurve::operator=.
 
icFloatNumberoperator[] (int index)
 
icFloatNumber Param (int index) const
 
virtual bool Read (icUInt32Number size, CIccIO *pIO)
 Name: CIccTagParametricCurve::Read.
 
bool SetFunctionType (icUInt16Number nFunctionType)
 Name: CIccTagParametricCurve::SetFunctionType.
 
virtual icValidateStatus Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const
 Name: CIccTagParametricCurve::Validate.
 
virtual bool Write (CIccIO *pIO)
 Name: CIccTagParametricCurve::Write.
 
virtual ~CIccTagParametricCurve ()
 Name: CIccTagParametricCurve::~CIccTagParametricCurve.
 
- Public Member Functions inherited from CIccCurve
virtual void Begin ()
 
 CIccCurve ()
 
icFloatNumber Find (icFloatNumber v)
 
virtual ~CIccCurve ()
 
- Public Member Functions inherited from CIccTag
 CIccTag ()
 Name: CIccTag::CIccTag.
 
virtual void DetachIO ()
 Function: ReadAll() - Read All sub data for tag from file.
 
virtual IIccExtensionTagGetExtension ()
 
virtual icArraySignature GetTagArrayType () const
 
virtual icStructSignature GetTagStructType () const
 
virtual bool IsArrayType ()
 
virtual bool IsMBBType ()
 
virtual bool IsNumArrayType () const
 
virtual bool IsSupported ()
 Function: IsSupported(size, pIO) - Check if tag fully supported for apply purposes.
 
virtual bool Read (icUInt32Number size, CIccIO *pIO, CIccProfile *pProfile)
 Function: Read(size, pIO) - Read tag from file.
 
virtual bool ReadAll ()
 Function: ReadAll() - Read All sub data for tag from file.
 
virtual ~CIccTag ()
 Name: CIccTag::CIccTag.
 

Public Attributes

icUInt16Number m_nReserved2
 
- Public Attributes inherited from CIccTag
icUInt32Number m_nReserved
 

Protected Attributes

icFloatNumberm_dParam
 
icUInt16Number m_nFunctionType
 
icUInt16Number m_nNumParam
 

Additional Inherited Members

- Static Public Member Functions inherited from CIccTag
static CIccTagCreate (icTagTypeSignature sig)
 Name: CIccTag::Create.
 
- Protected Member Functions inherited from CIccCurve
icFloatNumber Find (icFloatNumber v, icFloatNumber p0, icFloatNumber v0, icFloatNumber p1, icFloatNumber v1)
 Name: CIccCurve::Find.
 

Detailed Description

Class: CIccTagParametricCurve.

Purpose: The parametric curve type tag

Definition at line 170 of file IccTagLut.h.

Constructor & Destructor Documentation

◆ CIccTagParametricCurve() [1/2]

CIccTagParametricCurve::CIccTagParametricCurve ( )

Name: CIccTagParametricCurve::CIccTagParametricCurve.

Purpose: Constructor

Definition at line 646 of file IccTagLut.cpp.

647{
648 m_nFunctionType = 0xffff;
649 m_nNumParam = 0;
650 m_dParam = NULL;
651 m_nReserved2 = 0;
652}
icUInt16Number m_nFunctionType
Definition IccTagLut.h:204
icFloatNumber * m_dParam
Definition IccTagLut.h:208
icUInt16Number m_nReserved2
Definition IccTagLut.h:202
icUInt16Number m_nNumParam
Definition IccTagLut.h:205

◆ CIccTagParametricCurve() [2/2]

CIccTagParametricCurve::CIccTagParametricCurve ( const CIccTagParametricCurve & ITPC)

Name: CIccTagParametricCurve::CIccTagParametricCurve.

Purpose: Copy Constructor

Args: ITPC = The CIccTagParametricCurve object to be copied

Definition at line 665 of file IccTagLut.cpp.

666{
669 m_nReserved2 = 0;
670
672 memcpy(m_dParam, ITPC.m_dParam, m_nNumParam*sizeof(icFloatNumber));
673}
float icFloatNumber
All floating point operations/variables in IccProfLib use the icFloatNumber data type.
Definition IccDefs.h:100

References m_dParam, m_nFunctionType, and m_nNumParam.

◆ ~CIccTagParametricCurve()

CIccTagParametricCurve::~CIccTagParametricCurve ( )
virtual

Name: CIccTagParametricCurve::~CIccTagParametricCurve.

Purpose: Destructor

Definition at line 711 of file IccTagLut.cpp.

712{
713 if (m_dParam)
714 delete [] m_dParam;
715}

Member Function Documentation

◆ Apply()

icFloatNumber CIccTagParametricCurve::Apply ( icFloatNumber X) const
virtual

Name: CIccTagParametricCurve::Apply.

Purpose: Applies the curve to the value passed.

Args: x = value to be passed through the curve.

Return: The value modified by the curve.

Reimplemented from CIccCurve.

Definition at line 1024 of file IccTagLut.cpp.

1025{
1026 double a, b;
1027
1028 switch(m_nFunctionType) {
1029 case 0x0000:
1030 return (icFloatNumber)pow(X, m_dParam[0]);
1031
1032 case 0x0001:
1033 a=m_dParam[1];
1034 b=m_dParam[2];
1035
1036 if (X >= -b/a) {
1037 return (icFloatNumber)pow((double)a*X + b, (double)m_dParam[0]);
1038 }
1039 else {
1040 return 0;
1041 }
1042
1043 case 0x0002:
1044 a=m_dParam[1];
1045 b=m_dParam[2];
1046
1047 if (X >= -b/a) {
1048 return (icFloatNumber)pow((double)a*X + b, (double)m_dParam[0]) + m_dParam[3];
1049 }
1050 else {
1051 return m_dParam[3];
1052 }
1053
1054 case 0x0003:
1055 if (X >= m_dParam[4]) {
1056 return (icFloatNumber)pow((double)m_dParam[1]*X + m_dParam[2], (double)m_dParam[0]);
1057 }
1058 else {
1059 return m_dParam[3]*X;
1060 }
1061
1062 case 0x0004:
1063 if (X >= m_dParam[4]) {
1064 return (icFloatNumber)pow((double)m_dParam[1]*X + m_dParam[2], (double)m_dParam[0]) + m_dParam[5];
1065 }
1066 else {
1067 return m_dParam[3]*X + m_dParam[6];
1068 }
1069
1070 default:
1071 return X;
1072 }
1073}

◆ Describe()

void CIccTagParametricCurve::Describe ( std::string & sDescription,
int nVerboseness )
virtual

Name: CIccTagParametricCurve::Describe.

Purpose: Dump data associated with the tag to a string

Args: sDescription - string to concatenate tag dump to

Reimplemented from CIccTag.

Definition at line 833 of file IccTagLut.cpp.

834{
835 icChar buf[128];
836
837 sprintf(buf, "FunctionType: %04Xh\n", m_nFunctionType);
838 sDescription += buf;
839
840 switch(m_nFunctionType) {
841case 0x0000:
842 sprintf(buf, "Y = X ^ %.4lf\n", m_dParam[0]);
843 sDescription += buf;
844 return;
845
846case 0x0001:
847 sprintf(buf, "Y = 0 when (X < %.4lf / %.4lf)\n",
848 -m_dParam[2], m_dParam[1]);
849 sDescription += buf;
850
851 sprintf(buf, "Y = (%.4lf * X + %.4lf) ^ %.4lf when (X >= %.4lf / %.4lf)\n",
852 m_dParam[1], m_dParam[2], m_dParam[0],
853 m_dParam[2], m_dParam[1]);
854 sDescription += buf;
855 return;
856
857case 0x0002:
858 sprintf(buf, "Y = %.4lf when (X < %.4lf / %.4lf)\n", m_dParam[3],
859 -m_dParam[2], m_dParam[1]);
860 sDescription += buf;
861
862 sprintf(buf, "Y = (%.4lf * X + %.4lf) ^ %.4lf + %.4lf when (X >= %.4lf / %.4lf)\n",
863 m_dParam[1], m_dParam[2], m_dParam[0],
864 m_dParam[3],
865 -m_dParam[2], m_dParam[1]);
866 sDescription += buf;
867 return;
868
869case 0x0003:
870 sprintf(buf, "Y = %lf * X when (X < %.4lf)\n",
871 m_dParam[3], m_dParam[4]);
872 sDescription += buf;
873
874 sprintf(buf, "Y = (%.4lf * X + %.4lf) ^ %.4lf when (X >= %.4lf)\n",
875 m_dParam[1], m_dParam[2], m_dParam[0],
876 m_dParam[4]);
877 sDescription += buf;
878 return;
879
880case 0x0004:
881 sprintf(buf, "Y = %lf * X + %.4lf when (X < %.4lf)\n",
882 m_dParam[3], m_dParam[6], m_dParam[4]);
883 sDescription += buf;
884
885 sprintf(buf, "Y = (%.4lf * X + %.4lf) ^ %.4lf + %.4lf when (X >= %.4lf)\n",
886 m_dParam[1], m_dParam[2], m_dParam[0],
887 m_dParam[5], m_dParam[4]);
888 sDescription += buf;
889 return;
890
891default:
892 int i;
893 sprintf(buf, "Unknown Function with %d parameters:\n", m_nNumParam);
894 sDescription += buf;
895
896 for (i=0; i<m_nNumParam; i++) {
897 sprintf(buf, "Param[%d] = %.4lf\n", i, m_dParam[i]);
898 sDescription += buf;
899 }
900 }
901}
char icChar
Definition IccDefs.h:109

◆ DumpLut()

void CIccTagParametricCurve::DumpLut ( std::string & sDescription,
const icChar * szName,
icColorSpaceSignature csSig,
int nIndex,
int nVerboseness )
virtual

Name: CIccTagParametricCurve::DumpLut.

Purpose: Dump data associated with the tag to a string. Basically has the same function as Describe()

Args: sDescription = string to concatenate tag dump to, szName = name of the curve to be printed, csSig = color space signature of the curve data, nIndex = the channel number of color space

Reimplemented from CIccCurve.

Definition at line 917 of file IccTagLut.cpp.

919{
920 icChar buf[128];
921
922 sprintf(buf, "BEGIN_CURVE %s\n", szName);
923 sDescription += buf;
924 Describe(sDescription, nVerboseness);
925}
const icChar * szName
virtual void Describe(std::string &sDescription, int nVerboseness)
Name: CIccTagParametricCurve::Describe.

References szName.

◆ GetClassName()

virtual const icChar * CIccTagParametricCurve::GetClassName ( ) const
inlinevirtual

Reimplemented from CIccTag.

Reimplemented in CIccTagXmlParametricCurve.

Definition at line 180 of file IccTagLut.h.

180{ return "CIccTagParametricCurve"; }

◆ GetFunctionType()

icUInt16Number CIccTagParametricCurve::GetFunctionType ( ) const
inline

Definition at line 191 of file IccTagLut.h.

191{return m_nFunctionType; }

◆ GetNumParam()

icUInt16Number CIccTagParametricCurve::GetNumParam ( ) const
inline

Definition at line 193 of file IccTagLut.h.

193{ return m_nNumParam; }

◆ GetParams()

icFloatNumber * CIccTagParametricCurve::GetParams ( ) const
inline

Definition at line 194 of file IccTagLut.h.

194{ return m_dParam; }

◆ GetType()

virtual icTagTypeSignature CIccTagParametricCurve::GetType ( ) const
inlinevirtual

Function: GetType()

Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.

Reimplemented from CIccTag.

Definition at line 179 of file IccTagLut.h.

179{ return icSigParametricCurveType; }
@ icSigParametricCurveType

References icSigParametricCurveType.

◆ IsIdentity()

bool CIccTagParametricCurve::IsIdentity ( )
virtual

Name: CIccTagParametricCurve::IsIdentity.

Purpose: Checks if this is an identity curve.

Return: true if the curve is an identity

Reimplemented from CIccCurve.

Definition at line 994 of file IccTagLut.cpp.

995{
996 switch(m_nFunctionType) {
997 case 0x0000:
998 return IsUnity(m_dParam[0]);
999
1000 case 0x0001:
1001 case 0x0002:
1002 case 0x0003:
1003 case 0x0004:
1004 return false;
1005
1006 default:
1007 return true;
1008 }
1009}
static bool IsUnity(const icFloatNumber &num)

References IsUnity().

+ Here is the call graph for this function:

◆ NewCopy()

virtual CIccTag * CIccTagParametricCurve::NewCopy ( ) const
inlinevirtual

Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function.

Parameter(s): none

Returns a new CIccTag object that is a copy of this object.

Reimplemented from CIccCurve.

Definition at line 176 of file IccTagLut.h.

176{ return new CIccTagParametricCurve(*this);}
CIccTagParametricCurve()
Name: CIccTagParametricCurve::CIccTagParametricCurve.

◆ operator=()

CIccTagParametricCurve & CIccTagParametricCurve::operator= ( const CIccTagParametricCurve & ParamCurveTag)

Name: CIccTagParametricCurve::operator=.

Purpose: Copy Operator

Args: ParamCurveTag = The CIccTagParametricCurve object to be copied

Definition at line 686 of file IccTagLut.cpp.

687{
688 if (&ParamCurveTag == this)
689 return *this;
690
691 m_nFunctionType = ParamCurveTag.m_nFunctionType;
692 m_nNumParam = ParamCurveTag.m_nNumParam;
693
694 if (m_dParam)
695 delete [] m_dParam;
697 memcpy(m_dParam, ParamCurveTag.m_dParam, m_nNumParam*sizeof(icFloatNumber));
698
699 return *this;
700}

References m_dParam, m_nFunctionType, and m_nNumParam.

◆ operator[]()

icFloatNumber & CIccTagParametricCurve::operator[] ( int index)
inline

Definition at line 196 of file IccTagLut.h.

196{ return m_dParam[index]; }

◆ Param()

icFloatNumber CIccTagParametricCurve::Param ( int index) const
inline

Definition at line 195 of file IccTagLut.h.

195{ return m_dParam[index]; }

◆ Read()

bool CIccTagParametricCurve::Read ( icUInt32Number size,
CIccIO * pIO )
virtual

Name: CIccTagParametricCurve::Read.

Purpose: Read in the tag contents into a data block

Args: size - # of bytes in tag, pIO - IO object to read tag from

Return: true = successful, false = failure

Reimplemented from CIccTag.

Definition at line 732 of file IccTagLut.cpp.

733{
735 icUInt16Number nFunctionType;
736
737 icUInt32Number nHdrSize = sizeof(icTagTypeSignature) +
738 sizeof(icUInt32Number) +
739 2*sizeof(icUInt16Number);
740
741 if ( nHdrSize > size)
742 return false;
743
744 if (!pIO) {
745 return false;
746 }
747
748 if (!pIO->Read32(&sig) ||
749 !pIO->Read32(&m_nReserved) ||
750 !pIO->Read16(&nFunctionType) ||
751 !pIO->Read16(&m_nReserved2))
752 return false;
753
754 SetFunctionType(nFunctionType);
755
756 if (!m_nNumParam) {
757 m_nNumParam = (icUInt16Number)((size-nHdrSize) / sizeof(icS15Fixed16Number));
759 }
760
761 if (m_nNumParam) {
762 int i;
763 if (nHdrSize + m_nNumParam*sizeof(icS15Fixed16Number) > size)
764 return false;
765
766 for (i=0; i<m_nNumParam; i++) {
768 if (!pIO->Read32(&num, 1))
769 return false;
770 m_dParam[i]=icFtoD(num);
771 }
772 }
773
774 return true;
775}
icArraySignature sig
icFloatNumber icFtoD(icS15Fixed16Number num)
Definition IccUtil.cpp:559
icTagTypeSignature
unsigned int icUInt32Number
icInt32Number Read16(void *pBuf16, icInt32Number nNum=1)
Definition IccIO.cpp:114
icInt32Number Read32(void *pBuf32, icInt32Number nNum=1)
Definition IccIO.cpp:143
icUInt32Number m_nReserved
bool SetFunctionType(icUInt16Number nFunctionType)
Name: CIccTagParametricCurve::SetFunctionType.
unsigned short icUInt16Number
icInt32Number icS15Fixed16Number
Fixed numbers.

References icFtoD(), CIccIO::Read16(), CIccIO::Read32(), and sig.

+ Here is the call graph for this function:

◆ SetFunctionType()

bool CIccTagParametricCurve::SetFunctionType ( icUInt16Number nFunctionType)

Name: CIccTagParametricCurve::SetFunctionType.

Purpose: Sets the type of the function the Parametric curve represents

Args: nFunctionType = the type of the function encoded as 0-4

Return: always true!!

Definition at line 941 of file IccTagLut.cpp.

942{
943 icUInt16Number nNumParam;
944
945 switch(nFunctionType) {
946 case 0x0000:
947 nNumParam = 1;
948 break;
949
950 case 0x0001:
951 nNumParam = 3;
952 break;
953
954 case 0x0002:
955 nNumParam = 4;
956 break;
957
958 case 0x0003:
959 nNumParam = 5;
960 break;
961
962 case 0x0004:
963 nNumParam = 7;
964 break;
965
966 default:
967 nNumParam = 0;
968 }
969
970 if (m_dParam)
971 delete m_dParam;
972 m_nNumParam = nNumParam;
973 m_nFunctionType = nFunctionType;
974
975 if (m_nNumParam)
977 else
978 m_dParam = NULL;
979
980 return true;
981}

◆ Validate()

icValidateStatus CIccTagParametricCurve::Validate ( std::string sigPath,
std::string & sReport,
const CIccProfile * pProfile = NULL ) const
virtual

Name: CIccTagParametricCurve::Validate.

Purpose: Check tag data validity.

Args: sig = signature of tag being validated, sReport = String to add report information to

Return: icValidateStatusOK if valid, or other error status.

Reimplemented from CIccTag.

Definition at line 1090 of file IccTagLut.cpp.

1091{
1092 icValidateStatus rv = CIccTag::Validate(sigPath, sReport, pProfile);
1093
1094 CIccInfo Info;
1095 std::string sSigPathName = Info.GetSigPathName(sigPath);
1097
1098 if (m_nReserved2!=0) {
1099 sReport += icMsgValidateNonCompliant;
1100 sReport += sSigPathName;
1101 sReport += " - Reserved Value must be zero.\n";
1102
1104 }
1105
1106 switch(m_nFunctionType) {
1107case 0x0000:
1108 if (m_nNumParam!=1) {
1109 sReport += icMsgValidateCriticalError;
1110 sReport += sSigPathName;
1111 sReport += " - Number of parameters inconsistent with function type.\n";
1113 }
1114 break;
1115
1116case 0x0001:
1117 if (m_nNumParam!=3) {
1118 sReport += icMsgValidateCriticalError;
1119 sReport += sSigPathName;
1120 sReport += " - Number of parameters inconsistent with function type.\n";
1122 }
1123 break;
1124
1125case 0x0002:
1126 if (m_nNumParam!=4) {
1127 sReport += icMsgValidateCriticalError;
1128 sReport += sSigPathName;
1129 sReport += " - Number of parameters inconsistent with function type.\n";
1131 }
1132 break;
1133
1134case 0x0003:
1135 if (m_nNumParam!=5) {
1136 sReport += icMsgValidateCriticalError;
1137 sReport += sSigPathName;
1138 sReport += " - Number of parameters inconsistent with function type.\n";
1140 }
1141 break;
1142
1143case 0x0004:
1144 if (m_nNumParam!=7) {
1145 sReport += icMsgValidateCriticalError;
1146 sReport += sSigPathName;
1147 sReport += " - Number of parameters inconsistent with function type.\n";
1149 }
1150 break;
1151
1152default:
1153 sReport += icMsgValidateCriticalError;
1154 sReport += sSigPathName;
1155 sReport += " - Unknown function type.\n";
1157 }
1158
1160 icFloatNumber lval = Apply(0.0);
1161 icFloatNumber uval = Apply(1.0);
1162 if (lval>0.0 || uval<1.0) {
1163 sReport += icMsgValidateWarning;
1164 sReport += sSigPathName;
1165 sReport += " - Curve cannot be accurately inverted.\n";
1167 }
1168 }
1169
1170 return rv;
1171}
icValidateStatus
Definition IccDefs.h:118
@ icValidateWarning
Definition IccDefs.h:120
@ icValidateCriticalError
Definition IccDefs.h:122
@ icValidateNonCompliant
Definition IccDefs.h:121
icValidateStatus icMaxStatus(icValidateStatus s1, icValidateStatus s2)
Name: icMaxStatus.
Definition IccUtil.cpp:244
const char * icMsgValidateWarning
Definition IccUtil.cpp:90
const char * icMsgValidateNonCompliant
Definition IccUtil.cpp:91
const char * icMsgValidateCriticalError
Definition IccUtil.cpp:92
icSignature icGetFirstSigPathSig(std::string sigPath)
Definition IccUtil.cpp:1201
Type: Class.
Definition IccUtil.h:303
std::string GetSigPathName(std::string sigPath)
Definition IccUtil.cpp:1614
virtual icValidateStatus Validate(std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const
Function: Validate Each derived tag will implement it's own IsValid() function.
virtual icFloatNumber Apply(icFloatNumber v) const
Name: CIccTagParametricCurve::Apply.
icUInt32Number icSignature
@ icSigGrayTRCTag
@ icSigGreenTRCTag
@ icSigRedTRCTag
@ icSigBlueTRCTag

References CIccInfo::GetSigPathName(), icGetFirstSigPathSig(), icMaxStatus(), icMsgValidateCriticalError, icMsgValidateNonCompliant, icMsgValidateWarning, icSigBlueTRCTag, icSigGrayTRCTag, icSigGreenTRCTag, icSigRedTRCTag, icValidateCriticalError, icValidateNonCompliant, icValidateWarning, sig, and CIccTag::Validate().

+ Here is the call graph for this function:

◆ Write()

bool CIccTagParametricCurve::Write ( CIccIO * pIO)
virtual

Name: CIccTagParametricCurve::Write.

Purpose: Write the tag to a file

Args: pIO - The IO object to write tag to.

Return: true = succesful, false = failure

Reimplemented from CIccTag.

Definition at line 791 of file IccTagLut.cpp.

792{
794
795 if (!pIO) {
796 return false;
797 }
798
799 sig = GetType();
800
801 if (!pIO->Write32(&sig) ||
802 !pIO->Write32(&m_nReserved) ||
803 !pIO->Write16(&m_nFunctionType) ||
804 !pIO->Write16(&m_nReserved2))
805 return false;
806
807 if (m_nNumParam) {
808 int i;
809 for (i=0; i<m_nNumParam; i++) {
811 if (!pIO->Write32(&num, 1))
812 return false;
813 }
814 }
815
816 if (!pIO->Align32())
817 return false;
818
819 return true;
820}
icS15Fixed16Number icDtoF(icFloatNumber num)
Definition IccUtil.cpp:545
icInt32Number Write16(void *pBuf16, icInt32Number nNum=1)
Definition IccIO.cpp:122
bool Align32()
Write operation to make sure that filelength is evenly divisible by 4.
Definition IccIO.cpp:341
icInt32Number Write32(void *pBuf32, icInt32Number nNum=1)
Definition IccIO.cpp:152
virtual icTagTypeSignature GetType() const
Function: GetType()
Definition IccTagLut.h:179

References CIccIO::Align32(), icDtoF(), sig, CIccIO::Write16(), and CIccIO::Write32().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_dParam

icFloatNumber* CIccTagParametricCurve::m_dParam
protected

Definition at line 208 of file IccTagLut.h.

Referenced by CIccTagParametricCurve(), and operator=().

◆ m_nFunctionType

icUInt16Number CIccTagParametricCurve::m_nFunctionType
protected

Definition at line 204 of file IccTagLut.h.

Referenced by CIccTagParametricCurve(), and operator=().

◆ m_nNumParam

icUInt16Number CIccTagParametricCurve::m_nNumParam
protected

Definition at line 205 of file IccTagLut.h.

Referenced by CIccTagParametricCurve(), and operator=().

◆ m_nReserved2

icUInt16Number CIccTagParametricCurve::m_nReserved2

Definition at line 202 of file IccTagLut.h.


The documentation for this class was generated from the following files: